ID: 30109
User updated by: mark at securehosting dot com
Reported By: mark at securehosting dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: RedHat 2.4.19C13_V
PHP Version: 4.3.8
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 11:25:50] mark at securehosting dot com
Linux 2.4.19C13_V
------------------------------------------------------------------------
[2004-09-16 11:19:10] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30109&edit=1