#32483 [Bgs->Opn]: ./configure check crashes
| From: | pieter dot donche at ua dot ac dot be | Date: | Tue, 29 Mar 2005 13:31:55 +0000 |
| Subject: | #32483 [Bgs->Opn]: ./configure check crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75978@lists.php.net to get a copy of this message | ||
ID: 32483
User updated by: pieter dot donche at ua dot ac dot be
Reported By: pieter dot donche at ua dot ac dot be
-Status: Bogus
+Status: Open
Bug Type: Compile Failure
Operating System: solaris 2.9
PHP Version: 5.0.3
New Comment:
I already have GNU sed in /usr/local/bin/sed and installed the latest
version (4.1.4) only a month ago...
# which sed
/usr/local/bin/sed
# strings /usr/local/bin/sed contains "GNU sed version" and
"4.1.4"
---
I narrowed down the location in the ./configure where the
Segmentation fault appears, it is between the messages "checking for
MD5 crypt" and
"checking for Blowfish crypt", at the line
(eval echo \"$ac_link\"; eval $ac_link && ./conftest) >>debug.log
2>&1
I made the script print out the variables:
point_17a $ac_link : ${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5
point_17b $CC : gcc
point_17c $ac_exeext:
point_17d $CFLAGS : -g -O2
point_17e $CPPFLAGS: -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS
point_17f $LDFLAGS : -L/usr/local/lib -R/usr/local/lib -R/usr/ucblib
-L/usr/ucblib -R/home/local/bin/../lib/gcc/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/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/builds/src/other/php-5.0.3/ext/informix
point_17g $ac_ext : c
point_17h $LIBS : -lldap -llber -lpng -lz -ljpeg -lz -lresolv -lm
-lsocket -lgcc -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket
-lnsl -lxml2 -lz -lm -lsocket -lnsl
Segmentation Fault
What is wrong with this ?
Pieter
Previous Comments:
------------------------------------------------------------------------
[2005-03-29 14:56:11] sniper@php.net
Due to a bug in the installed sed on your system the build
fails. Install GNU sed and it should be okay.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-03-29 14:32:55] pieter dot donche at ua dot ac dot be
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 this bug report at http://bugs.php.net/?id=32483&edit=1