php-4.0b3 Compiling problems with apache 1.3.9 and pdflib 2.01

From: Date: Wed, 17 Nov 1999 14:28:16 +0000
Subject: php-4.0b3 Compiling problems with apache 1.3.9 and pdflib 2.01
Groups: php.version4 
Request: Send a blank email to php-version4+get-6366@lists.php.net to get a copy of this message
Dear Friends: After some problems with php and pdflib 2.01 i can configure and then compile it, with the command: ./configure --with-informix --with-apache=../apache_1.3.9 --enable-track-vars --with-config-file-path=/etc --with-gd --with-pdflib=/usr/local --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr However when i try to configure apache (with the VERBOSE variable set to yes) i obtain: Configuring for Apache, Version 1.3.9 + Hint: please use LIBS instead of EXTRA_LIBS next time + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src cd ..; gcc ./apaci helpers/dummy.c -o helpers/dummy -lcrypt /opt/informix/lib/esql/checkapi.o -L/opt/informix/lib -L/opt/informix/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lm -ldl -lcrypt -lifglx .... .... cd ..; gcc -DLINUX=2 -I/home/temp/web/php-4.0b3 -I/home/temp/web/php-4.0b3/libzend -I/home/temp/web/php-4.0b3/libzend -I/home/temp/web/php-4.0b3 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./apaci helpers/dummy.c -o helpers/dummy /opt/informix/lib/esql/checkapi.o -L/opt/informix/lib -L/opt/informix/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lm -ldl -lcrypt -lifglx -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lm -lresolv -lnsl -lcrypt -lgdbm -lgd -lttf -L/usr/lib -ljpeg -L/usr/lib -ltiff -L/usr/local/lib -lpdf -lpam -lm -lcrypt /usr/local/lib/libpdf.so: undefined reference to `deflate' /usr/local/lib/libpdf.so: undefined reference to `deflateInit_' /usr/local/lib/libpdf.so: undefined reference to `deflateEnd' collect2: ld returned 1 exit status make: *** [dummy] Error 1 Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. This is most likely because your C compiler ** is not ANSI. Apache requires an ANSI C Compiler, such ** as gcc. The above error message from your compiler ** will also provide a clue. Aborting! Somebody knows a solution? a missing lib?, path? ... Bye.

« previous php.version4 (#6366) next »