Re: 4.0.2 can't find zlib

From: Date: Fri, 08 Sep 2000 18:51:53 +0000
Subject: Re: 4.0.2 can't find zlib
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-32716@lists.php.net to get a copy of this message
Actually I did have many other parameters, but when the zlib failed I cut it back, CyberCash was one of the options. So, this is what I did: rm <php4 dir> tar xzvf <php4 file> cd <php4 dir> ./configure --with-zlib --with-pgsql --without-mysql That one works! I was shocked. So I did the same thing (removed the php4 dir and all) and tried my all inclusive config: ./configure --with-gd-dir=/usr/local --with-jpeg-dir=/usr/local --with-tiff-dir=/usr/local --with-zlib --with-pgsql --with-cpdflib=/usr/local --with-dbase --with-config-file-path=/usr/site/conf --enable-track-vars --without-mysql --with-cybercash=/usr/local/mck --with-apache=../../tempapache/apache_1.3.12 This one fails, again. <sigh> Here is the end of the config.log from the above "all inclusive" config: configure:39647: checking whether to include zlib support configure:39836: checking for gzgets in -lz configure:39855: gcc -o conftest -g -O2 -DXML_BYTE_ORDER=12 -L/usr/lib -R/usr/local/pgsql/lib -L /usr/local/pgsql/lib conftest.c -lz -lpq -lttf -lpng -lz -lgd -lmckcrypto -lcpdf -lm -lcrypt 1>& 5 /usr/libexec/elf/ld: cannot open -lmckcrypto: No such file or directory configure: failed program was: #line 39844 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets(); int main() { gzgets() ; return 0; } Funny, I just noticed that with the first "basic" config line the DES is found and set to yes, but with the "all inclusive" config the DES fails... Don't know if that helps... Matthew At 08:35 PM 9/8/00 +0200, Stefan Roehrich wrote:
Hello! On 2000-09-08 14:03:04, Matthew Hagerty wrote: configure:39647: checking whether to include zlib support configure:39836: checking for gzgets in -lz configure:39855: gcc -o conftest -g -O2 -DXML_BYTE_ORDER=12 -L/usr/lib -R/usr/ local/pgsql/lib -L/usr/local/pgsql/lib conftest.c -lz -lpq -lttf -lpng -lz -lgd -lmckcrypto -lcpdf -lm -lcrypt 1>&5 /usr/libexec/elf/ld: cannot open -lmckcrypto: No such file or directory Did you use the Cybercash extension? In the configure line of your bug report it isn't mentioned, so can you try from a fresh version without any cached configure results? It seems ld can't find libmckcrypto (Cybercash), but this is detected only at the next configure test compile which happens to be zlib. Stefan --
Stefan Röhrich               stefan@roehri.ch, sr@linux.de
                                 http://www.roehri.ch/~sr/
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#32716) next »