ID:               32483
 Updated by:       [EMAIL PROTECTED]
 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:      5CVS-2005-03-30
 New Comment:

Do you have many OpenSSL versions installed? Make sure you have exactly
ONE version only. And that the libraries/headers match each other. 


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

[2005-03-30 17:40:14] pieter dot donche at ua dot ac dot be

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

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

[2005-03-30 17:20:25] [EMAIL PROTECTED]

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

Reply via email to