ID:               20928
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         ODBC related
 Operating System: RH 7.2
 PHP Version:      4.3.0RC2
 New Comment:

Please try newer snapshot and with CLEAN apache sources.



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

[2002-12-11 12:46:56] [EMAIL PROTECTED]

This is still broken, I used the PHP4.3.x_dev snapshot.

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

[2002-12-11 10:45:28] [EMAIL PROTECTED]

Fixed in which snapshot release? Just tried 4.3.x-dev and it's still
broken:

===> src/modules/php4
gcc -c  -I../../os/unix -I../../include  -O2 -march=i386 -mcpu=i686
-DLINUX=22 -
I/usr/include/db1 -DMOD_SSL=208110 -DEAPI `../../apaci` -fpic
-DSHARED_MODULE -D
LINUX=22 -I/usr/include/db1 -DMOD_SSL=208110 
-I/usr/src/redhat/BUILD/php4-STABL
E-200212111430/main
-I/usr/src/redhat/BUILD/php4-STABLE-200212111430/Zend -I/usr
/src/redhat/BUILD/php4-STABLE-200212111430/TSRM
-I/usr/src/redhat/BUILD/php4-STA
BLE-200212111430
-I/usr/src/redhat/BUILD/php4-STABLE-200212111430/sapi/apache -I
/usr/src/redhat/BUILD/php4-STABLE-200212111430/main
-I/usr/src/redhat/BUILD/php4
-STABLE-200212111430/Zend
-I/usr/src/redhat/BUILD/php4-STABLE-200212111430/TSRM
  mod_php4.c && mv mod_php4.o mod_php4.so-o
rm -f libphp4.so
gcc -shared -o libphp4.so mod_php4.so-o libmodphp4.a 
-Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/Informix/lib
-Wl,-rpath,/usr/local/Informix/lib/esql -Wl,-
rpath,/usr/src/redhat/BUILD/php4-STABLE-200212111430/ext/informix 
-rdynamic -L/
usr/local/lib -L/usr/local/Informix/lib -L/usr/local/Informix/lib/esql
-L/usr/sr
c/redhat/BUILD/php4-STABLE-200212111430/ext/informix -Lmodules/php4
-L../modules
/php4 -L../../modules/php4 -lmodphp4  -L/home/db2inst1/lib   -rdynamic
-L/usr/lo
cal/lib -L/usr/local/Informix/lib -L/usr/local/Informix/lib/esql
-L/usr/src/redh
at/BUILD/php4-STABLE-200212111430/ext/informix  -ldb2 -lcrypto -lssl
-lc-client
 -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx
-lpdf -lz
-lldap -llber -lcrypt -lpam -lfdftk -lz -lcrypt -lresolv -lm -ldl -lnsl
 -lcrypt
   -lm -lcrypt -ldb1 -ldb -lexpat -ldl -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr
/local/Informix/lib -Wl,-rpath,/usr/local/Informix/lib/esql
-Wl,-rpath,/usr/src/
redhat/BUILD/php4-STABLE-200212111430/ext/informix  -rdynamic
-L/usr/local/lib -
L/usr/local/Informix/lib -L/usr/local/Informix/lib/esql
-L/usr/src/redhat/BUILD/
php4-STABLE-200212111430/ext/informix -Lmodules/php4 -L../modules/php4
-L../../m
odules/php4 -lmodphp4  -L/home/db2inst1/lib   -rdynamic
-L/usr/local/lib -L/usr/
local/Informix/lib -L/usr/local/Informix/lib/esql
-L/usr/src/redhat/BUILD/php4-S
TABLE-200212111430/ext/informix  -ldb2 -lcrypto -lssl -lc-client 
-lifsql -lifas
f -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx -lpdf -lz -lldap
-llber -
lcrypt -lpam -lfdftk -lz -lcrypt -lresolv -lm -ldl -lnsl  -lcrypt   -lm
-lcrypt
-ldb1 -ldb
/usr/bin/ld: cannot find -ldb2
collect2: ld returned 1 exit status
make[4]: *** [libphp4.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/apache_1.3.26'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.86132 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.86132 (%build)

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

[2002-12-11 02:42:30] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



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

[2002-12-11 01:22:06] [EMAIL PROTECTED]

It got much further this time, but results are the same. Here is the
paste of the last command and error:

<=== src/modules/throttle
===> src/modules/php4
gcc -c  -I../../os/unix -I../../include  -O2 -march=i386 -mcpu=i686
-DLINUX=22 -
I/usr/include/db1 -DMOD_SSL=208110 -DEAPI `../../apaci` -fpic
-DSHARED_MODULE -D
LINUX=22 -I/usr/include/db1 -DMOD_SSL=208110 
-I/usr/src/redhat/BUILD/php4-20021
2110630/main -I/usr/src/redhat/BUILD/php4-200212110630/Zend
-I/usr/src/redhat/BU
ILD/php4-200212110630/TSRM -I/usr/src/redhat/BUILD/php4-200212110630
-I/usr/src/
redhat/BUILD/php4-200212110630/sapi/apache
-I/usr/src/redhat/BUILD/php4-20021211
0630/main -I/usr/src/redhat/BUILD/php4-200212110630/Zend
-I/usr/src/redhat/BUILD
/php4-200212110630/TSRM   mod_php4.c && mv mod_php4.o mod_php4.so-o
rm -f libphp4.so
gcc -shared -o libphp4.so mod_php4.so-o libmodphp4.a 
-Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/Informix/lib
-Wl,-rpath,/usr/local/Informix/lib/esql -Wl,-
rpath,/usr/src/redhat/BUILD/php4-200212110630/ext/informix  -rdynamic
-rdynamic
-L/usr/local/lib -L/usr/local/Informix/lib
-L/usr/local/Informix/lib/esql -L/usr
/src/redhat/BUILD/php4-200212110630/ext/informix -Lmodules/php4
-L../modules/php
4 -L../../modules/php4 -lmodphp4  -ldb2 -lcrypto -lssl -lc-client 
-lifsql -lifa
sf -lifgen -lifos -lifgls -ldl -lcrypt -lphpifx -lifglx -lpdf -lz
-lldap -llber
-lcrypt -lpam -lfdftk -lz -lcrypt -lresolv -lm -ldl -lnsl  -lcrypt  
-lm -lcrypt
 -ldb1 -ldb -lexpat -ldl -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/Informi
x/lib -Wl,-rpath,/usr/local/Informix/lib/esql
-Wl,-rpath,/usr/src/redhat/BUILD/p
hp4-200212110630/ext/informix  -rdynamic -rdynamic -L/usr/local/lib
-L/usr/local
/Informix/lib -L/usr/local/Informix/lib/esql
-L/usr/src/redhat/BUILD/php4-200212
110630/ext/informix -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodp
hp4  -ldb2 -lcrypto -lssl -lc-client  -lifsql -lifasf -lifgen -lifos
-lifgls -ld
l -lcrypt -lphpifx -lifglx -lpdf -lz -lldap -llber -lcrypt -lpam
-lfdftk -lz -lc
rypt -lresolv -lm -ldl -lnsl  -lcrypt   -lm -lcrypt -ldb1 -ldb
/usr/bin/ld: cannot find -ldb2
collect2: ld returned 1 exit status
make[4]: *** [libphp4.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/apache_1.3.26'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89498 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.89498 (%build)

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

[2002-12-11 00:48:46] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



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

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/20928

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

Reply via email to