#32483 [Fbk->Opn]: ./configure check crashes
| From: | pieter dot donche at ua dot ac dot be | Date: | Wed, 30 Mar 2005 15:40:15 +0000 |
| Subject: | #32483 [Fbk->Opn]: ./configure check crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77366@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: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: solaris 2.9
PHP Version: 5CVS-2005-03-30
New Comment:
checking for standard DES.. yes
...
no **ATTENTION** message
make starts
and completes without crashing
BTW
In previous case where the standard DES was not found, it still always
was possible to do a make of php that did complete without crasjing,
but when doing a make install
it always crashed at Installing PEAR environment.
I had the same problem with apache-1.3 and php-4.3.10
Previous Comments:
------------------------------------------------------------------------
[2005-03-30 17:20:25] sniper@php.net
Try this:
# rm -f config.cache
# ./configure --disable-all --disable-cgi && make
------------------------------------------------------------------------
[2005-03-30 17:16:41] pieter dot donche at ua dot ac dot be
The problem describes below seems to occur when using the
--with-ldap=/usr/local option.
During the ./configure I see
...
checking for standard DES crypt... no
checking for extended DES crypt... no
chekcing for MD5 crypt... no
Segmentation fault - core dumped
...
And an **ATTENTION** message at the end, stating thet "Something is
likely to be mesed up gere, ..."
When leaving out --with-ldap
The line about standard DES is yes:
checking for standard DES... yes
I had openSSL installed in /usr/local, which is different
from the default /usr/local/ssl. I tried with adding
--with-openssl=/usr/local --> SAME PROBLEM
Then installed openSSL again, now using the default
install /usr/local/ssl, did PHP configure again
without a --with-openssl line --> SAME PROBLEM
with a --with-openssl=/usr/local/ssl --> SAME PROBLEM
Waht is going on ?
Why does PHP configure nog succeed in finding standard DES
?
------------------------------------------------------------------------
[2005-03-30 08:58:12] pieter dot donche at ua dot ac dot be
dowloaded php5-latest.tar.gz ( php5-200503300630 )
exactly the same results.
Pieter
------------------------------------------------------------------------
[2005-03-29 17:40:54] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-03-29 15:31:54] pieter dot donche at ua dot ac dot be
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
------------------------------------------------------------------------
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/32483
--
Edit this bug report at http://bugs.php.net/?id=32483&edit=1