Bug #15177 Updated: Informix Shared Module will not compile

2002-05-16 Thread mike

 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=15177edit=1




Bug #15177 Updated: Informix Shared Module will not compile

2002-04-02 Thread zhamm

 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:

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?


Previous Comments:


[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



[2002-01-23 00:45:02] [EMAIL PROTECTED]

Same problem as with 4.1.0.  Informix will compile statically in PHP,
but will not compile as a shared module.  I get the same error as in
4.1.0:

/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic  -c ifx.c  touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc  -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic   -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/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 `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1

Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared 
   
  


Any ideas?


Zack






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




Bug #15177 Updated: Informix Shared Module will not compile

2002-03-07 Thread sniper

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


Previous Comments:


[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



[2002-01-23 00:45:02] [EMAIL PROTECTED]

Same problem as with 4.1.0.  Informix will compile statically in PHP,
but will not compile as a shared module.  I get the same error as in
4.1.0:

/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic  -c ifx.c  touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc  -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic   -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/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 `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1

Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared 
   
  


Any ideas?


Zack






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




Bug #15177 Updated: Informix Shared Module will not compile

2002-03-03 Thread lauri . tischler

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

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


Previous Comments:


[2002-01-23 00:45:02] [EMAIL PROTECTED]

Same problem as with 4.1.0.  Informix will compile statically in PHP,
but will not compile as a shared module.  I get the same error as in
4.1.0:

/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic  -c ifx.c  touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc  -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic   -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/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 `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1

Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared 
   
  


Any ideas?


Zack






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




Bug #15177 Updated: Informix Shared Module will not compile

2002-03-03 Thread derick

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

Marking as Critical for release 4.2.0


Previous Comments:


[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



[2002-01-23 00:45:02] [EMAIL PROTECTED]

Same problem as with 4.1.0.  Informix will compile statically in PHP,
but will not compile as a shared module.  I get the same error as in
4.1.0:

/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic  -c ifx.c  touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc  -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat  -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic   -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/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 `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1

Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared 
   
  


Any ideas?


Zack






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