Problems compiling php-4.0b3 with Informix

From: Date: Tue, 16 Nov 1999 17:54:15 +0000
Subject: Problems compiling php-4.0b3 with Informix
Groups: php.version4 
Request: Send a blank email to php-version4+get-6301@lists.php.net to get a copy of this message
Dear Friends: I'd download the php-4.0b3 from http://www.php.net/version4/downloads/php-4.0b3.tar.gz and when i try to compile it with Informix and with apache 1.3.9 i obtain a lot of errors, this is the process: First i configure php with the command line: ./configure --with-informix --with-apache=../apache_1.3.9 --enable-track-vars --with-config-file-path=/etc --with-gd All go's well until it reaches the ext/informix directory, at that point i obtain: /bin/sh ../../libtool --silent --mode=link gcc -g -O2 -g -I/opt/informix/incl/esql -O2 -L/opt/informix/lib -L/opt/informix/lib/esql -o libphpext_informix.la ifx.lo -L/opt/informix/lib -L/opt/informix/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -Lext/informix -lifx -lifglx ../../libtool: ext/informix: No such file or directory libtool: link: warning: cannot determine absolute directory name of `ext/informix' libtool: link: passing it literally to the linker, although it might fail But it compiles. Then i go to the apache directory, and configure it with the command line: ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a and finally, when i make it, the errors are: 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 \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lm -lresolv -lnsl -lcrypt -lgdbm -lgd -lttf -lpam -lm -lcrypt modules/php4/libphp4.a(ifx.o): In function `ifx_check': /home/temp/web/php-4.0b3/ext/informix/ifx.ec:212: undefined reference to `SQLSTATE' /home/temp/web/php-4.0b3/ext/informix/ifx.ec:213: undefined reference to `SQLSTATE' modules/php4/libphp4.a(ifx.o): In function `ifx_error': ..... a lot of undefined informix references ... However i can compile without problems with php 4.0b2. Somebody knows what happens? Thanks.

« previous php.version4 (#6301) next »