PHP4 Bug #1822: Informix database extension doesn't compile

From: Date: Thu, 22 Jul 1999 08:05:20 +0000
Subject: PHP4 Bug #1822: Informix database extension doesn't compile
Groups: php.dev 
Request: Send a blank email to php-dev+get-8946@lists.php.net to get a copy of this message
From: peter.eckhardt@transcom.de Operating system: Linux libc2.1.1 PHP version: 4.0 Beta 1 PHP Bug Type: Compile Failure Bug description: Informix database extension doesn't compile The informix database extension doesn't compile anymore. The following configure script runs without problems ./configure --with-informix=/opt/informix --with-apache=../apache_1.3.6 --enable-track-vars The make produces the following error gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/src/php- 4.0b1/../apache_1.3.6/src/include -I/usr/src/php-4.0b1/../apache_1.3.6/src/os/un ix -I/opt/informix/incl/esql -I../.. -I../../libzend -O2 -mpentiumpro -g -I/opt/informix/incl/esql -c ifx.c ifx.ec:130: config.h: No such file or directory ifx.ec:141: php3_string.h: No such file or directory ifx.ec:197: php3_list.h: No such file or directory make: *** [ifx.o] Error 1 A short check reveals that config.h is not available, so i copied config.h.stub to config.h and the php3_strings from an old php3 install to the ext/informix directory Now i run into ormix/libphpext_informix.a pcre/libphpext_pcre.a session/libphpext_session.a sta ndard/libphpext_standard.a make[2]: [libphpext.a] Error 1 (ignored) make[2]: Leaving directory `/usr/src/php-4.0b1/ext' make[1]: Leaving directory `/usr/src/php-4.0b1/ext' gcc -O2 -mpentiumpro -g -I/opt/informix/incl/esql -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/src/php-4.0b1/../apache_1.3.6/src/include -I/usr/sr c/php-4.0b1/../apache_1.3.6/src/os/unix -I/opt/informix/incl/esql -g -c in ternal_functions.c -o internal_functions.o internal_functions.c:86: `phpext_informix_ptr' undeclared here (not in a functio n) internal_functions.c:86: initializer element for `php3_builtin_modules[15]' is n ot constant make: *** [internal_functions.o] Error 1 ---- I tried to compile php3.0.11 again. This works flawlessly. Hope that helps Brgds Peter

« previous php.dev (#8946) next »