#39185 [NEW]: Failure on compiling libxml support

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #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

  2. Similar Questions and Discussions

    1. #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: ...
    2. #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...
    3. #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: ...
    4. 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, ...
    5. 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...
  3. #2

    Default #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

  4. #3

    Default #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

  5. #4

    Default #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

  6. #5

    Default #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

  7. #6

    Default #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

  8. #7

    Default #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

  9. #8

    Default #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

  10. #9

    Default #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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139