ID:               32483
 Updated by:       [EMAIL PROTECTED]
-Summary:          ./configure check crashes --with-ldap
 Reported By:      pieter dot donche at ua dot ac dot be
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: solaris 2.9
-PHP Version:      5.0.3
+PHP Version:      5CVS-2005-03-30
 New Comment:

Try this:

# rm -f config.cache
# ./configure --disable-all --disable-cgi && make



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

[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] [EMAIL PROTECTED]

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

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

[2005-03-29 14:56:11] [EMAIL PROTECTED]

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.



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

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

Reply via email to