Cannot Compile With INFORMIX :-(
| From: | Paul Gardiner | Date: | Mon, 14 Aug 2000 10:15:08 +0000 |
| Subject: | Cannot Compile With INFORMIX :-( | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2033@lists.php.net to get a copy of this message | ||
Hello everyone,
I'm getting the error listed below when trying to compile Informix support
into
PHP4 as an Apache module. I've done it many times with PHP3 but can't
get it to work with version 4. PHP4 with Apache will build no trouble but as
soon as the --with-informix=yes is added it breaks. I know everything works
because of having version 3 all working.
Is there something silly I'm missing?
Regards,
- Paul -
System:
SCO Openserver (5.0.4)
PHP4 (4.0.1pl2)
Apache (1.3.12)
gcc (2.95.2)
./configure --with-apache=../1.3.12 \
--without-mysql \
--with-informix=yes \
--enable-track_vars
Error Ouput:
gcc -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0.1pl2/ext/informix -I/usr/src/php-
4.0.
1pl2 -I/usr/src/php-4.0.1pl2/main -I/usr/src/apache_1.3.12/src/include -I/us
r/sr
c/apache_1.3.12/src/os/unix -I/usr/src/php-4.0.1pl2/Zend -I/usr/src/php-4.0.
1pl2
-I/usr/informix/incl/esql -I/usr/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/u
sr/s
rc/php-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -I/usr/informix/
incl
/esql -I/usr/informix/incl/esql -c ifx.c && touch ifx.lo
/bin/sh /usr/src/php-4.0.1pl2/libtool --silent --mode=link
gcc -I/usr/informix/i
ncl/esql -I/usr/informix/incl/esql -o libinformix.la ifx.lo
/usr/lib/libgen.a
libtool: link: cannot build libtool library `libinformix.la' from
non-libtool ob
jects: /usr/lib/libgen.a
gmake[3]: *** [libinformix.la] Error 1
gmake[3]: Leaving directory `/usr/src/php-4.0.1pl2/ext/informix'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/php-4.0.1pl2/ext/informix'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/php-4.0.1pl2/ext'
gmake: *** [all-recursive] Error 1