Re: [PHP4BETA] Problems compiling php-4.0b3 with Informix
| From: | Luis Gallego | Date: | Wed, 17 Nov 1999 07:56:26 +0000 |
| Subject: | Re: [PHP4BETA] Problems compiling php-4.0b3 with Informix | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6343@lists.php.net to get a copy of this message | ||
Hello again:
I try to put the following line:
-L/opt/informix/lib/esql -L/opt/informix/lib -L/opt/informix
In the apache_1.3.9/src/Configuration and Configuration.tmpl,
previous to the apache configuration phase, after that phase this libs
are in the following files:
apache_1.3.9/src/Makefile:EXTRA_LIBS=-L/opt/informix/lib/esql
-L/opt/informix/lib -L/opt/informix
apache_1.3.9/src/Makefile.config:EXTRA_LIBS=-L/opt/informix/lib/esql
-L/opt/informix/lib -L/opt/informix
apache_1.3.9/src/Configuration.apaci:EXTRA_LIBS=-L/opt/informix/lib/esql
-L/opt/informix/lib -L/opt/informix
But when i make it, i obtain the same error messages than before.
Please i need urgent help.
Bye and thanks
>
>You can safely ignore the libtool warning.
>
>Have you added the Informix libraries to the Apache EXTRA_LIBS ?
>
>Danny
>---
>
>----- Original Message -----
>From: Luis Gallego <lgallego@uvigo.es>
>Newsgroups: php4.beta
>Sent: Tuesday, November 16, 1999 7:22 PM
>Subject: [PHP4BETA] Problems compiling php-4.0b3 with Informix
>
> >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.
> >
> >