ID:               33354
 User updated by:  webmaster at pro-g dot co dot uk
 Reported By:      webmaster at pro-g dot co dot uk
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: freeBSD 5.4-RELEASE
 PHP Version:      5.0.4
 New Comment:

This appears to have worked (with both the --with-apxs2= switch too). 
Well done!  

I assume it is safe to use this version in production?


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

[2005-06-16 12:45:09] [EMAIL PROTECTED]

This warning comes from all those crypt tests:
"cast to pointer from integer of different size"
Propably some 64bit issue. 

Please try the latest snapshot:

http://snaps.php.net/php5-latest.tar.gz




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

[2005-06-15 20:05:57] webmaster at pro-g dot co dot uk

Thanks for replying.

The config.log for the './configure' command alone can be found here:
http://nopaste.php-q.net/141291

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

[2005-06-15 19:20:21] [EMAIL PROTECTED]

The reason would be this:

checking for crypt in -lcrypt... yes
checking for standard DES crypt... Segmentation fault (core dumped)
checking for extended DES crypt... Segmentation fault (core dumped)
checking for MD5 crypt... Segmentation fault (core dumped)
checking for Blowfish crypt... Segmentation fault (core dumped)

If you can put the config.log online too, that'd help a lot.


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

[2005-06-15 17:05:16] webmaster at pro-g dot co dot uk

Just found out the same thing also happens with no arguments; simply
with the command ./configure

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

[2005-06-15 16:36:35] webmaster at pro-g dot co dot uk

Description:
------------
When trying to configure PHP as a shared apache module (./configure
--with-apxs2=/usr/local/apache2/bin/apxs) it completes with a warning
altering me to a problem, even with the most basic configuration.  It
says to check the debug log, but there appears to be nothing wrong. 
The output seems normal.




Reproduce code:
---------------
debug.log file:

CONFIGURE:   './configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/include/libxml2 -I/usr/local/include
LDFLAGS:     -R/usr/local/lib -L/usr/local/lib
LIBS:       -lcrypt -lm  -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm
-lxml2 -lz -liconv -lm -lcrypt
DLIBS:      
SAPI:       apache2handler
PHP_RPATHS:  /usr/local/lib
uname -a:   FreeBSD jack 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8
07:00:26 UTC 2005    
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

gcc -o conftest -g -O2   -R/usr

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

The output I get can be seen here: http://nopaste.php-q.net/141222

Expected result:
----------------
Should configure with no warning.

Actual result:
--------------
Displays warning.


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


-- 
Edit this bug report at http://bugs.php.net/?id=33354&edit=1

Reply via email to