Ask a Question related to PHP Bugs, Design and Development.
-
mwp at internode dot on dot net #1
#39185 [NEW]: Failure on compiling libxml support
From: mwp at internode dot on dot net
Operating system: Linux 2.6.18
PHP version: 5.1.6
PHP Bug Type: Compile Failure
Bug description: Failure on compiling libxml support
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 bug report at [url]http://bugs.php.net/?id=39185&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39185&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39185&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39185&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39185&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39185&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39185&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39185&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39185&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39185&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39185&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39185&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39185&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39185&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39185&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39185&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39185&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39185&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39185&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39185&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39185&r=mysqlcfg[/url]
mwp at internode dot on dot net Guest
-
#39185 [Opn->Fbk]: Failure on compiling libxml support
ID: 39185 Updated by: tony2001@php.net Reported By: mwp at internode dot on dot net -Status: Open +Status: ... -
#24424 [Bgs]: Complains about libxml even when not compiling with XML
ID: 24424 Updated by: helly@php.net Reported By: liz at xcalibur dot demon dot co dot uk Status: Bogus Bug... -
#24424 [Com]: Complains about libxml even when not compiling with XML
ID: 24424 Comment by: schweitzerh at hotmail dot comm Reported By: liz at xcalibur dot demon dot co dot uk Status: ... -
Compiling kahakai-0.5 with Ruby support?
--ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, ... -
Compiling php5 with mysqli support
I tryed to compile php5 (a dev snapshot) --with-mysqli=/usr/local/bin/mysql_config The configuration works just fine but the compilation crash... -
mwp at internode dot on dot net #2
#39185 [Fbk->Opn]: Failure on compiling libxml support
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]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39185&edit=1[/url]
mwp at internode dot on dot net Guest
-
mwp at internode dot on dot net #3
#39185 [Opn]: Failure on compiling libxml support
ID: 39185
User updated by: mwp at internode dot on dot net
Reported By: mwp at internode dot on dot net
Status: Open
Bug Type: Compile Failure
Operating System: Linux 2.6.18
PHP Version: 5.1.6
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39185&edit=1[/url]
mwp at internode dot on dot net Guest
-
tony2001@php.net #4
#39185 [Opn->Fbk]: Failure on compiling libxml support
ID: 39185
Updated by: [email]tony2001@php.net[/email]
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]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39185&edit=1[/url]
tony2001@php.net Guest
-
rrichards@php.net #5
#39185 [Fbk]: Failure on compiling libxml support
ID: 39185
Updated by: [email]rrichards@php.net[/email]
Reported By: mwp at internode dot on dot net
Status: Feedback
Bug Type: Compile Failure
Operating System: Linux 2.6.18
PHP Version: 5.1.6
New Comment:
Check that you dont have multiple version of libxml2 around and that
the wrong one is being used. XML_SAVE_NO_DECL (one of your errors) has
existed in libxml2 since 2.6.21.
Previous Comments:
------------------------------------------------------------------------
[2006-10-18 14:01:42] [email]tony2001@php.net[/email]
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"`
?
------------------------------------------------------------------------
[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]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=39185&edit=1[/url]
rrichards@php.net Guest
-
mwp at internode dot on dot net #6
#39185 [Fbk->Opn]: Failure on compiling libxml support
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:
I am very sure i do not have multiple installations of libxml2 as this
is a clean system and i installed it for the first time a few hours
ago.
[root@dog php-5.1.6]# xml2-config --version
2.6.26
[root@dog php-5.1.6]# locate "xmlstring.h"
/usr/include/libxml2/libxml/xmlstring.h
/usr/share/doc/libxml2-2.6.26/html/html/libxml-xmlstring.html
/usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
Previous Comments:
------------------------------------------------------------------------
[2006-10-18 14:02:56] [email]rrichards@php.net[/email]
Check that you dont have multiple version of libxml2 around and that
the wrong one is being used. XML_SAVE_NO_DECL (one of your errors) has
existed in libxml2 since 2.6.21.
------------------------------------------------------------------------
[2006-10-18 14:01:42] [email]tony2001@php.net[/email]
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"`
?
------------------------------------------------------------------------
[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]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39185[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39185&edit=1[/url]
mwp at internode dot on dot net Guest
-
rrichards@php.net #7
#39185 [Opn->Fbk]: Failure on compiling libxml support
ID: 39185
Updated by: [email]rrichards@php.net[/email]
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:
Did you build non-standard libxml2 so it doesn't support output?
Whats the complete output (including the compiled with part) of:
xmllint --version
Previous Comments:
------------------------------------------------------------------------
[2006-10-18 14:18:42] mwp at internode dot on dot net
I am very sure i do not have multiple installations of libxml2 as this
is a clean system and i installed it for the first time a few hours
ago.
[root@dog php-5.1.6]# xml2-config --version
2.6.26
[root@dog php-5.1.6]# locate "xmlstring.h"
/usr/include/libxml2/libxml/xmlstring.h
/usr/share/doc/libxml2-2.6.26/html/html/libxml-xmlstring.html
/usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
------------------------------------------------------------------------
[2006-10-18 14:02:56] [email]rrichards@php.net[/email]
Check that you dont have multiple version of libxml2 around and that
the wrong one is being used. XML_SAVE_NO_DECL (one of your errors) has
existed in libxml2 since 2.6.21.
------------------------------------------------------------------------
[2006-10-18 14:01:42] [email]tony2001@php.net[/email]
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"`
?
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39185[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39185&edit=1[/url]
rrichards@php.net Guest
-
mwp at internode dot on dot net #8
#39185 [Fbk->Csd]: Failure on compiling libxml support
ID: 39185
User updated by: mwp at internode dot on dot net
Reported By: mwp at internode dot on dot net
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.6.18
PHP Version: 5.1.6
New Comment:
Problem solved.
It seems it was caused by custom GCC options (only -Os -mtune=athlon-xp
-fomit-frame-pointer) that i used while compiling libxml2.
Thankyou, and sorry for the wasted time.
Previous Comments:
------------------------------------------------------------------------
[2006-10-18 14:29:14] [email]rrichards@php.net[/email]
Did you build non-standard libxml2 so it doesn't support output?
Whats the complete output (including the compiled with part) of:
xmllint --version
------------------------------------------------------------------------
[2006-10-18 14:18:42] mwp at internode dot on dot net
I am very sure i do not have multiple installations of libxml2 as this
is a clean system and i installed it for the first time a few hours
ago.
[root@dog php-5.1.6]# xml2-config --version
2.6.26
[root@dog php-5.1.6]# locate "xmlstring.h"
/usr/include/libxml2/libxml/xmlstring.h
/usr/share/doc/libxml2-2.6.26/html/html/libxml-xmlstring.html
/usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
------------------------------------------------------------------------
[2006-10-18 14:02:56] [email]rrichards@php.net[/email]
Check that you dont have multiple version of libxml2 around and that
the wrong one is being used. XML_SAVE_NO_DECL (one of your errors) has
existed in libxml2 since 2.6.21.
------------------------------------------------------------------------
[2006-10-18 14:01:42] [email]tony2001@php.net[/email]
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"`
?
------------------------------------------------------------------------
[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).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39185[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39185&edit=1[/url]
mwp at internode dot on dot net Guest
-
tony2001@php.net #9
#39185 [Csd->Bgs]: Failure on compiling libxml support
ID: 39185
Updated by: [email]tony2001@php.net[/email]
Reported By: mwp at internode dot on dot net
-Status: Closed
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux 2.6.18
PHP Version: 5.1.6
Previous Comments:
------------------------------------------------------------------------
[2006-10-18 15:19:37] mwp at internode dot on dot net
Problem solved.
It seems it was caused by custom GCC options (only -Os -mtune=athlon-xp
-fomit-frame-pointer) that i used while compiling libxml2.
Thankyou, and sorry for the wasted time.
------------------------------------------------------------------------
[2006-10-18 14:29:14] [email]rrichards@php.net[/email]
Did you build non-standard libxml2 so it doesn't support output?
Whats the complete output (including the compiled with part) of:
xmllint --version
------------------------------------------------------------------------
[2006-10-18 14:18:42] mwp at internode dot on dot net
I am very sure i do not have multiple installations of libxml2 as this
is a clean system and i installed it for the first time a few hours
ago.
[root@dog php-5.1.6]# xml2-config --version
2.6.26
[root@dog php-5.1.6]# locate "xmlstring.h"
/usr/include/libxml2/libxml/xmlstring.h
/usr/share/doc/libxml2-2.6.26/html/html/libxml-xmlstring.html
/usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
------------------------------------------------------------------------
[2006-10-18 14:02:56] [email]rrichards@php.net[/email]
Check that you dont have multiple version of libxml2 around and that
the wrong one is being used. XML_SAVE_NO_DECL (one of your errors) has
existed in libxml2 since 2.6.21.
------------------------------------------------------------------------
[2006-10-18 14:01:42] [email]tony2001@php.net[/email]
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"`
?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/39185[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=39185&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

