ID:               22856
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mv24 at canada dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Linux
 PHP Version:      4.3.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2003-03-24 13:54:45] mv24 at canada dot com

apache_1.3.27
php-4.3.2RC1 
zlib-1.1.4

Configured with the following options without warnigs:

./configure \
--with-apache=/usr/local/apache_1.3.27 \
--with-config-file-path=/usr/local/apache/conf \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-trans-sid \
--enable-bcmath \
--with-curl=/usr/local/curl \
--with-curlwrappers \
--with-pdflib \
--enable-static-pdflib \
--enable-gd-imgstrttf \
--with-gd=/usr/local/gd \
--with-tiff-dir=/usr/local/tiff--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/include/freetype2 \
--with-jpeg-dir=/usr/local/jpeg-6b \
--with-png-dir=/usr/local/libpng \
--with-zlib


Make result (in full):

[EMAIL PROTECTED] php]# make
gcc  -Iext/zlib/ -I/usr/local/php/ext/zlib/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/local/php/Zend -I/usr/local/curl/include -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/gd/
-I/usr/local/mysql/include -I/usr/local/php/ext/xml/expat 
-I/usr/local/php/TSRM  -g -O2  -c /usr/local/php/ext/zlib/zlib.c -o
ext/zlib/zlib.o  && echo > ext/zlib/zlib.lo
In file included from /usr/local/php/ext/standard/php_standard.h:21,
                 from /usr/local/php/ext/zlib/zlib.c:48:
/usr/local/php/ext/standard/basic_functions.h:126: #error Need type
which holds 32 bits
make: *** [ext/zlib/zlib.lo] Error 1

The same error was reproduced on php-4.3.0, php-4.3.2RC1, php-4.5.

Tried the following:
1.      Configure �with-zlib and/or �with-zlib-dir=/dir/zlib in
combinations
2.      rm �f config.cache; ./buildconf; make distclean;



Another try:
./configure \
--with-apache=/usr/local/apache_1.3.27 \
--with-config-file-path=/usr/local/apache/conf \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-trans-sid \
--enable-bcmath \
--with-curl=/usr/local/curl \
--with-curlwrappers

Configures without errors or warnings.

Make stops by error again:

In file included from /usr/local/php/ext/standard/md5.h:48,
                 from /usr/local/php/ext/session/session.c:40:
/usr/local/php/ext/standard/basic_functions.h:126: #error Need type
which holds 32 bits
make: *** [ext/session/session.lo] Error 1

config.log did not revile any problems

What it could be? Thank you for your time and effort.


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


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

Reply via email to