ID: 39185 Updated by: [EMAIL PROTECTED] Reported By: mwp at internode dot on dot net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux 2.6.18 PHP Version: 5.1.6 New Comment:
Are you sure you don't have any other libxml2 (or just headers of libxml2) installed in your system? What do you get with `xml2-config --version` and `locate "xmlstring.h"` ? Previous Comments: ------------------------------------------------------------------------ [2006-10-18 13:58:28] mwp at internode dot on dot net If it makes a difference, this is a VERY new install of linux-from-scratch, so latest versions glibc, gcc, binutils, kernel, etc, etc. It is however not a system setup problem, every other util/app i have installed has compiled without problems (x, mysql, apache, etc, etc). ------------------------------------------------------------------------ [2006-10-18 13:55:13] mwp at internode dot on dot net compiling php5.2-200610181230 (your latest link) gave exactly the same errors. ------------------------------------------------------------------------ [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