ID:               15177
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Critical
 Bug Type:         Compile Failure
 Operating System: RH Linux 7.2
 PHP Version:      4.1.1
 New Comment:

OK, I made it compile, but I don't know how to change the 
things that generate the makefiles and such. 
 
I just did the configure, compiled it until it gave an 
error, and then modified the line and manually ran it 
until it worked.  There were 2 problems.  2 libs were 
specified with relative paths, I was in /home/mike/php..., 
and on the line, they were /etc/..., so I changed them to 
/home/mike/etc...  See the /home/mike in the line below.  
I haven't tested weather it actually works, but it 
finished compiling properly after that. 
 
 /bin/sh /home/mike/php-4.2.1/libtool --silent --mode=link 
gcc -I. -I/home/mike/php-4.2.1/ext/informix 
-I/home/mike/php-4.2.1/main -I/home/mike/php-4.2.1 
-I/home/mike/php-4.2.1/Zend -I/opt/informix/incl/esql 
-I/home/mike/php-4.2.1/ext/mysql/libmysql 
-I/home/mike/php-4.2.1/ext/xml/expat  
-I/home/mike/php-4.2.1/TSRM -g -O2   -o informix.la 
-avoid-version -module -rpath /home/mike/php-4.2.1/modules  
ifx.lo  -R/home/mike/php-4.2.1/ext/informix 
-L/home/mike/php-4.2.1/ext/informix 
-R/opt/informix/lib/esql -L/opt/informix/lib/esql 
-R/opt/informix/lib -L/opt/informix/lib -lifsql -lifasf 
-lifgen -lifos -lifgls -ldl -lcrypt -lifglx


Previous Comments:
------------------------------------------------------------------------

[2002-05-07 22:50:57] [EMAIL PROTECTED]

Still busted in 4.2!  I thought this was marked critical for 4.2?  Same
exact error for me (same platform):

/bin/sh /home/zhamm/php-4.2.0/libtool --silent --mode=compile gcc -I.
-I/home/zhamm/php-4.2.0/ext/informix -I/home/zhamm/php-4.2.0/main
-I/home/zhamm/php-4.2.0 -I/home/zhamm/php-4.2.0/Zend
-I/opt/informix/incl/esql  -I/home/zhamm/php-4.2.0/TSRM -g -O2
-prefer-pic  -c ifx.c && touch ifx.slo
/bin/sh /home/zhamm/php-4.2.0/libtool --silent --mode=link gcc -I.
-I/home/zhamm/php-4.2.0/ext/informix -I/home/zhamm/php-4.2.0/main
-I/home/zhamm/php-4.2.0 -I/home/zhamm/php-4.2.0/Zend
-I/opt/informix/incl/esql  -I/home/zhamm/php-4.2.0/TSRM -g -O2   -o
informix.la -avoid-version -module -rpath /home/zhamm/php-4.2.0/modules
 ifx.lo  -Rext/informix -Lext/informix -R/opt/informix/lib/esql
-L/opt/informix/lib/esql -R/opt/informix/lib -L/opt/informix/lib
-lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx
libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1
make[3]: Leaving directory `/home/zhamm/php-4.2.0/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zhamm/php-4.2.0/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zhamm/php-4.2.0/ext'
make: *** [all-recursive] Error 1

------------------------------------------------------------------------

[2002-04-02 20:36:35] [EMAIL PROTECTED]

This is still broken for php-4.2.0RC1:

libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1

Ran configure with:
 
# ./configure --with-apxs=/usr/sbin/apxs --enable-shared
--with-informix=shared --without-mysql --without-xml

Does anyone know how to fix this in libtool?

------------------------------------------------------------------------

[2002-03-07 12:12:10] [EMAIL PROTECTED]

This might possibly be related to bug number 15803 as this is the last
time (php-4.0.4pl1) I was able to compile Informix with IBM DB2 support
at the same time as well...

------------------------------------------------------------------------

[2002-03-03 05:34:47] [EMAIL PROTECTED]

Marking as Critical for release 4.2.0

------------------------------------------------------------------------

[2002-03-03 05:30:06] [EMAIL PROTECTED]

The last version where compile with-informix worked was
php4-4.0.4pl1
None after that work, I've tryed them all, including snapshots

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/15177

-- 
Edit this bug report at http://bugs.php.net/?id=15177&edit=1

Reply via email to