ID:               39185
 User updated by:  mwp at internode dot on dot net
 Reported By:      mwp at internode dot on dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux 2.6.18
 PHP Version:      5.1.6
 New Comment:

compiling php5.2-200610181230 (your latest link) gave exactly the same
errors.


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

[2006-10-18 13:40:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



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

[2006-10-18 13:38:23] mwp at internode dot on dot net

Description:
------------
Compiling PHP with:

./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs --with-zlib --with-bz2
--enable-exif --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr
--with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock
--disable-pear

Using GCC 4.1.1, libxml2-2.6.26 (compiled from source) fails in
"ext/libxml/libxml.c".

With:

/bin/sh /data/backup/linux/php-5.1.6/libtool --silent
--preserve-dup-deps --mode=compile gcc  -Iext/libxml/
-I/data/backup/linux/php-5.1.6/ext/libxml/ -DPHP_ATOM_INC
-I/data/backup/linux/php-5.1.6/include
-I/data/backup/linux/php-5.1.6/main -I/data/backup/linux/php-5.1.6
-I/usr/include/libxml2 -I/data/backup/linux/php-5.1.6/ext/date/lib
-I/usr/local/mysql/include/mysql -I/data/backup/linux/php-5.1.6/TSRM
-I/data/backup/linux/php-5.1.6/Zend    -I/usr/include -g -O2 
-prefer-non-pic -c /data/backup/linux/php-5.1.6/ext/libxml/libxml.c -o
ext/libxml/libxml.lo
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c: In function
'php_libxml_output_buffer_create_filename':
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:397: warning:
assignment makes pointer from integer without a cast
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:399: error:
dereferencing pointer to incomplete type
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:400: error:
dereferencing pointer to incomplete type
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:401: error:
dereferencing pointer to incomplete type
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c: In function
'zm_startup_libxml':
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error:
'XML_SAVE_NO_DECL' undeclared (first use in this function)
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error: (Each
undeclared identifier is reported only once
/data/backup/linux/php-5.1.6/ext/libxml/libxml.c:603: error: for each
function it appears in.)
make: *** [ext/libxml/libxml.lo] Error 1




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


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

Reply via email to