delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/11/21/15:26:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <528E6CE6.7040301@gmx.de>
Date: Thu, 21 Nov 2013 21:28:22 +0100
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: no enought memory under win xp
References: <1129ec5e-7001-4838-aefe-beffc5c0d1ba AT googlegroups DOT com> <54466520-a684-405e-ab40-36a4acc5c10b AT googlegroups DOT com>
In-Reply-To: <54466520-a684-405e-ab40-36a4acc5c10b@googlegroups.com>
X-Provags-ID: V03:K0:KfB7SZJyutEij8b4Km46UocdGdwhCMY11Mjbbqa8nB3S8q5SYMs
R5clFWcnJwAOrigs2R0W7RICId1gs3tJtuG/FSxE0rwLcEOEzYmVb3Gp10bBCCuluN4iuf4
kwpAA8rqlWm5noy2ace6QD9ir1S7jP7iZrPFVtcyAjsJalkXnmCNMHpOWJrlRt0zyo0mfCw
jTYKVAAmfDMj61pJoQPtQ==
Reply-To: djgpp AT delorie DOT com

Am 21.11.2013 13:41, schrieb iw2evk AT gmail DOT com:
> Hi at all'
>
> i've also tried to compile gs 9.10 with djgpp under freedos only.
>
> The configure step  stop in the same point like win xp (under dos the systemm "freeze")
>
> I've already loaded the tiff libraries from djgpp in both system (dos and xp djgpp)but seem not recognized..
>
>
>> i try to compile ghostscript 9.10 with djgpp under win Xp.
>>
>> NOTE : it's my workplace pc , so i don't have admin privileges.
>>
>> Running ./config djgpp say :
>>
>>
>>
>> ./configure : C:/g/Gs/tiff/configure : no enought memory (enomem)
>>
>> Configure : error : libtiff configure script failed.
>>
>>
>>
>> How i can patch this issue?
>>
>>
>>
>> Thanks
>>
>>
>>
>> roberto iw2evk

I work with DJGPP 2.04 and WinXP only.  I cannot answer any questions concerning
plain DOS like FreeDOS.
First add or increment your FILES entry in config.nt.  E.g:
   FILES=250
This will solve some issues.

Second use the existing ports.  This means install at least the following ports:
   /beta/v2tk/jas1901b.zip
   /beta/v2tk/jbig20b.zip
   /beta/v2tk/jpeg9b.zip
   /beta/v2tk/lcms25b.zip
   /beta/v2tk/png163b.zip
   /beta/v2tk/tiff403b.zip
   /beta/v2tk/zlib128b.zip
available from any ftp.delorie.com mirror.  Do not try to re-invent the wheel.
Using packages already ported to DJGPP avoids a lot of difficulties and probably
a lot of questions.

I have tried the run the configure script.  Somewhere during the tiff configure
script processing bash seems to crash.  I do not have the time to debug and
fix it.  Anyway there is no need at all to configure the included tiff library
at all because there is already a very well working port.  Install it and start
the configure script like this:
   sh ./configure --with-system-libtiff
and bash will process the configure script flawlessly.
For some reason I still have not figured out, the configure script fails to
recognize that the system provides a working TIFF library.  I have observed
this already while I was porting lcms2 and other ports that require libtiff.
This issue can be easily solved by writing a project specific config.site
file.  Download the source package /beta/v2tk/lcms25b.zip and use the config.site
provided there like this (assuming you have cd'ed into the source directory):
   set CONFIG_SITE=./config.site
   sh ./configure --with-system-libtiff

For me it works and it has produced a Makefile.  I have not tried to compile it
and I seriously doubt that it will compile out-of-the-box.  Even if it compiles
I doubt that the produced binary will be useful.  The code has been written for
unix and not for windows; especially not for dos.  That it compiles does not
imply that it works.

Regards,
Juan M. Guerrero


Here is the output I got from the configure run:


checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... (cached) /dev/env/DJDIR/bin/grep
checking for egrep... (cached) /dev/env/DJDIR/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking for inttypes.h... (cached) yes
checking sys/window.h usability... no
checking sys/window.h presence... no
checking for sys/window.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of unsigned long int... 4
checking size of unsigned long long... 8
checking for cos in -lm... yes
checking for pthread_create in -lpthread... no
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
checking for stringprep in -lidn... no
checking for systempapername in -lpaper... no
checking for FcInitLoadConfigAndFonts in -lfontconfig... no
checking for dbus_message_iter_get_basic in -ldbus... no
checking for dlopen in -ldl... no
checking for local freetype library source... yes
checking for local jpeg library source... jpeg
checking for jmemsys.h... yes
checking for local zlib source... yes
checking for local png library source... yes
checking for local lcms2 library source... yes
checking for TIFFOpen in -ltiff... (cached) yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for cups-config... no
checking cups/raster.h usability... no
checking cups/raster.h presence... no
checking for cups/raster.h... no
checking for local ijs library source... yes
checking for local Luratech JBIG2 library source... no
checking for local jbig2dec library source...
./jbig2dec
Continuing with Ghostscript configuration...
checking for local Luratech JPEG2K library source... no
checking for local OpenJPEG library source... yes
checking for memalign... yes
checking for X... no
checking for mkstemp... yes
checking for fopen64... no
checking for fseeko... no
checking for mkstemp64... no
checking for setlocale... yes
checking for strerror... yes
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... (cached) no
checking for vfork... (cached) no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... yes
checking for bzero... yes
checking for dup2... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for modf... yes
checking for pow... yes
checking for putenv... yes
checking for rint... yes
checking for setenv... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for sqrtf... yes
checking byteswap support... yes
checking for byteswap.h... no
configure: creating ./config.status
config.status: creating Makefile

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019