php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30109 Make Error in DOMXML
Submitted: 2004-09-16 11:19 UTC Modified: 2004-09-16 11:31 UTC
From: mark at securehosting dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.8 OS: RedHat 2.4.19C13_V
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mark at securehosting dot com
New email:
PHP Version: OS:

 

 [2004-09-16 11:19 UTC] mark at securehosting dot com
Description:
------------
Using Sun Cobalt RAQ 550 with upgraded libxml2 (libxml2-2.6.11-1, libxml2-devel-2.6.11-1) and the configure line

CC=/usr/sg/bin/gcc ./configure --prefix=/usr/local/php-cli --with-zlib --with-curl=/usr/local/ --enable-xml --with-xml=/usr,shared --with-dom=/usr/lib/ --disable-cgi

Which runs fine. Then upon make I receive the following error:

Reading makefiles...
Updating goal targets....
 File `all' does not exist.
   File `sapi/cli/php' does not exist.
     File `ext/domxml/php_domxml.lo' does not exist.
    Must remake target `ext/domxml/php_domxml.lo'.
/usr/sg/bin/gcc  -Iext/domxml/ -I/tmp/php-4.3.8/ext/domxml/ -DPHP_ATOM_INC -I/tmp/php-4.3.8/include -I/tmp/php-4.3.8/main -I/tmp/php-4.3.8 -I/tmp/php-4.3.8/Zend -I/usr/local//include -I/usr/include/libxml2 -I/tmp/php-4.3.8/ext/xml/expat  -I/tmp/php-4.3.8/TSRM  -g -O2  -c /tmp/php-4.3.8/ext/domxml/php_domxml.c -o ext/domxml/php_domxml.o  && echo > ext/domxml/php_domxml.lo
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function `zif_domxml_node_append_child':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:2468: warning: assignment makes pointer from integer without a cast
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function `zif_domxml_doc_imported_node':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3727: warning: assignment makes pointer from integer without a cast
/tmp/php-4.3.8/ext/domxml/php_domxml.c: In function `domxml_document_parser':
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: `XML_COMPLETE_ATTRS' undeclared (first use in this function)
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: (Each undeclared identifier is reported only once
/tmp/php-4.3.8/ext/domxml/php_domxml.c:3936: for each function it appears in.)
make: *** [ext/domxml/php_domxml.lo] Error 1

I've been fighting this for 2 days now and no matter what I try I can't find any resolution.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-16 11:25 UTC] mark at securehosting dot com
Linux 2.4.19C13_V
 [2004-09-16 11:31 UTC] mark at securehosting dot com
Apologies, looks like I had an old version of libxml2 still lying around.

For future reference and anyone with the same problem, check the xmlversion.h within /usr/local/include/libxml.

I cleared out these files and I could make successfully.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 06:01:35 2024 UTC