RE: [PHP4BETA] How do i compile in informix support in php4beta3?
| From: | Brad Handy | Date: | Tue, 25 Jan 2000 13:19:09 +0000 |
| Subject: | RE: [PHP4BETA] How do i compile in informix support in php4beta3? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9386@lists.php.net to get a copy of this message | ||
Alan,
I would recommend getting all of your informix source under one directory
tree. Preferrably under the $INFORMIXDIR path. (That's the
$INFORMIXDIR/bin, $INFORMIXDIR/incl, and everything else that is supposed to
be there.) The configuration script runs ESQL with "-libs" options which
prints out some stuff. The important thing that it's looking for is the
path name to a *.o file that it needs during the compiling process. (I
poked around in the configure script a while back when I had a heck of time
compiling PHP with Apache 1.3.9 and Informix DS 7.3.) Make sure you also
tack on the $INFORMIXDIR/bin directory to your $PATH environment variable.
That is key. Hope this helps.
--Brad Handy
-----Original Message-----
From: Alan Miller [mailto:alan@bintec.de]
Sent: Tuesday, January 25, 2000 6:57 AM
To: php4beta@lists.php.net
Subject: [PHP4BETA] How do i compile in informix support in php4beta3?
>From my informix server I copied over the
$INFORMIXDIR/incl and $INFORMIXDIR/lib directories
and put them under and /intranet/src/informix/
Then ran:
$ cd /intranet/src/php-4.0b3
$ export INFORMIXDIR=/intranet/src/informix
$ ./configure --with-mysql --with-informix=yes \
--with-mysql \
--with-gdbm=/opt/Summertime_98.sparc/include \
--with-apache=../apache_1.3.9 \
--enable-track-vars \
--enable-bcmath \
--with-snmp=../ucd-snmp-4.0.1 \
--with-mcal=../libmcal \
--with-config-file=/etc/php.ini
But when I try to build I get:
....
......
Making all in informix
gmake[3]: Entering directory
`/intranet/src/php-4.0b3/ext/informix'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../..
-I../../libzend -I/intranet/src/apache_1.3.9/src/include
-I/intranet/src/apache_1.3.9/src/os/unix
-I/opt/Summertime_98.sparc/include
-I/intranet/informix/incl/esql
-I/intranet/src/libmcal -I/usr/local/include/mysql
-I/intranet/src/ucd-snmp-4.0.1/include -O3 -msupersparc
-DSYSV -DSVR4 -g -I/intranet/src/informix/incl/esql -c stub.c
rm -f libifx.a
ar cru libifx.a stub.o
ranlib libifx.a
(if test -d /bintec/entwicklung/www/src/informix; then \
esql -e -EUHAVE_IFX_IUS ifx.ec; \
else \
touch ifx.c; \
fi)
/bin/sh: esql: not found
gmake[3]: *** [ifx.c] Error 1
gmake[3]: Leaving directory `/intranet/src/php-4.0b3/ext/informix'
+--------------------------------------------------------------------+
| Alan Miller BinTec Commmunications AG |
| System/Network Administrator Südwestpark 94 |
| Voice: +49 911 96 73 14 55 D-90449, Nürnberg |
| Fax: +49 911 96 73 14 99 Germany |
| mailto:alan@bintec.de http://www.BinTec.de |
+--------------------------------------------------------------------+
--
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net