PHP4 with Informix driver make error
| From: | DEVOS BASTIEN | Date: | Tue, 06 Feb 2001 15:28:34 +0000 |
| Subject: | PHP4 with Informix driver make error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1952@lists.php.net to get a copy of this message | ||
Hi,
Here is my problem :
I wanted to use PHP with Informix (IDS2000-9.21.UC3-1). Well the two
components are installed, but the Informix driver is not supplied with PHP
(I saw that by running a call to phpinfo() in a php page in my browser.
So I look the configure line -of the RPM installation- provided by phpinfo()
-too- and I see that, in fact, there is no "--with-informix" or
"--with-informix=yes".
So I download sources, I want to use the same line, wut now with
"--with-informix" at the end.
Here is the new line :
---------
./configure --prefix=/usr --with-config-file-path=/etc --disable-debug
--enable-pic --enable-shared --enable-inline-optimization
--with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system
--with-gettext --with-gd=shared --with-jpeg-dir=/usr --with-png --with-zlib
--with-db2 --with-db3 --with-gdbm --enable-debugger --enable-magic-quotes
--enable-safe-mode --enable-sysvsem --enable-sysvshm --enable-track-vars
--enable-yp --enable-ftp --without-mysql --without-oracle --without-oci8
--with-openssl --with-xml --with-informix
----------
this line works well.
So I run "make" to compile sources, and then I have this error :
----------
stub.lo: file not recognized: File truncated
----------
I read in this mailing-list that deleting the file "stub.lo" resolved the
problem, but when I did that, I had another error :
----------
main/.libs/libmain.al: object main/.libs/libmain.al(main.lo) in archive is
not object
----------
I don't want to delete all files to do php+informix work ! So if someone
could help, it would be very appreciated ;-)
thx,
Bastien.