From: pieter dot donche at ua dot ac dot be
Operating system: solaris 2.9
PHP version: 5.0.3
PHP Bug Type: Compile Failure
Bug description: ./configure check crashes
Description:
------------
I have SUN/Solarsi 2.9, want to install PHP-5.0.3 for use
in apache-httpd-2.0.35
Downloaded latest version of PHP, unpacked
# ..../php-5.0.3
# ./configure --with-apache2=/home/wins/builds/src/other/httpd-2.0.53 \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-informix=/home/informix2000 \
--with-ldap=/usr/local \
--enable-yp
...
checking for standard DES crypt... no
checking for extended DES crypt... no
checking for MD5 crypt... no
Segmentation Fault <<<---------------
checking for Blowfish crypt... no
...
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
There seems to be a problem with the checking for MD5 crypt...
I downloaded the latest source of md5 from sunsolve, compiled it and
installed the binary in /usr/local/bin/md5 (which is in my PATH), but this
does not help.
Please help,
Pieter
Reproduce code:
---------------
debug.log
CONFIGURE: './configure'
'--with-apache2=/home/wins/builds/src/other/httpd-2.0
.53' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--wit
h-zlib-dir=/usr/local' '--with-informix=/home/informix2000'
'--with-ldap=/usr/lo
cal' '--enable-yp'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS
CXX: c++
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include/libxml2
-I/usr/local/in
clude
LDFLAGS: -L/usr/local/lib -R/usr/local/lib -R/usr/ucblib -L/usr/ucblib
-R/hom
e/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3
-L/home/local/bin/../lib/gcc/s
parc-sun-solaris2.9/3.4.3 -R/usr/local/lib -L/usr/local/lib
-R/home/informix2000
/lib -L/home/informix2000/lib -R/home/informix2000/lib/esql
-L/home/informix2000
/lib/esql -R/home/wins/builds/src/other/php-5.0.3/ext/informix
-L/home/wins/buil
ds/src/other/php-5.0.3/ext/informix
LIBS: -lldap -llber -lpng -lz -ljpeg -lz -lresolv -lm -lsocket
-lgcc -lxm
l2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm
-lsocket
-lnsl
DLIBS: -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lsocket -laio
-ldl -l
elf -lphpifx -lifglx
SAPI: cgi
PHP_RPATHS: /usr/ucblib
/home/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3 /
usr/local/lib /home/informix2000/lib /home/informix2000/lib/esql
/home/wins/buil
ds/src/other/php-5.0.3/ext/informix
uname -a: SunOS hswis 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-250
CONFIGURE: './configure'
'--with-apache2=/home/wins/builds/src/other/httpd-2.0
.53' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--wit
h-zlib-dir=/usr/local' '--with-informix=/home/informix2000'
'--with-ldap=/usr/lo
cal' '--enable-yp'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS
CXX: c++
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/include/libxml2
-I/usr/local/in
clude
LDFLAGS: -L/usr/local/lib -R/usr/local/lib -R/usr/ucblib -L/usr/ucblib
-R/hom
e/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3
-L/home/local/bin/../lib/gcc/s
parc-sun-solaris2.9/3.4.3 -R/usr/local/lib -L/usr/local/lib
-R/home/informix2000
/lib -L/home/informix2000/lib -R/home/informix2000/lib/esql
-L/home/informix2000
/lib/esql -R/home/wins/builds/src/other/php-5.0.3/ext/informix
-L/home/wins/buil
ds/src/other/php-5.0.3/ext/informix
LIBS: -lldap -llber -lpng -lz -ljpeg -lz -lresolv -lm -lsocket
-lgcc -lxm
l2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm
-lsocket
-lnsl
DLIBS: -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lsocket -laio
-ldl -l
elf -lphpifx -lifglx
SAPI: cgi
PHP_RPATHS: /usr/ucblib
/home/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.3 /
usr/local/lib /home/informix2000/lib /home/informix2000/lib/esql
/home/wins/buil
ds/src/other/php-5.0.3/ext/informix
uname -a: SunOS hswis 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-250
gcc -o conftest -g -O2 -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS
-L/usr/lo
cal/lib -R/usr/local/lib -R/usr/ucblib -L/usr/ucblib
-R/home/local/bin/../lib/gc
c/sparc-sun-solaris2.9/3.4.3
-L/home/local/bin/../lib/gcc/sparc-sun-solaris2.9/3
.4.3 -R/usr/local/lib -L/usr/local/lib -R/home/informix2000/lib
-L/home/informix
2000/lib -R/home/informix2000/lib/esql -L/home/informix2000/lib/esql
-R/home/win
s/builds/src/other/php-5.0.3/ext/informix
-L/home/wins/builds/src/other/php-5.0.
3/ext/informix conftest.c -lldap -llber -lpng -lz -ljpeg -lz -lresolv -lm
-lsock
et -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl
-lxml2 -lz
-lm -lsocket -lnsl 1>&5
--
Edit bug report at http://bugs.php.net/?id=32483&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32483&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32483&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32483&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32483&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32483&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32483&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32483&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32483&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32483&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32483&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32483&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32483&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32483&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32483&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32483&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32483&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32483&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32483&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32483&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32483&r=mysqlcfg