Bundled libxml failing to compile
| From: | Chris Snyder | Date: | Sat, 10 May 2003 16:38:05 +0000 |
| Subject: | Bundled libxml failing to compile | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1416@lists.php.net to get a copy of this message | ||
I hope this is the right list - it's kinda a tech-support question, but it's a
development build and I think it's definitely a bug. Feel free to flame away
if I'm not in the right place.
For the past few days, I have been unable to compile the php5 snapshots due to
the bundled libxml failing to compile. Here's the errors I get:
gcc -Ibundle/libxml/ -I/home/csnyder/php/php5-200305101530/bundle/libxml/
-DPHP_ATOM_INC -I/home/csnyder/php/php5-200305101530/include
-I/home/csnyder/php/php5-200305101530/main
-I/home/csnyder/php/php5-200305101530
-I/home/csnyder/php/php5-200305101530/Zend -I/usr/include/libxml2
-I/home/csnyder/php/php5-200305101530/bundle/expat
-I/home/csnyder/php/php5-200305101530/bundle/libxml/include
-I/home/csnyder/php/php5-200305101530/bundle/libxml
-I/home/csnyder/php/php5-200305101530/TSRM -g -O2 -c
/home/csnyder/php/php5-200305101530/bundle/libxml/xmlreader.c -o
bundle/libxml/xmlreader.o && echo > bundle/libxml/xmlreader.lo
/home/csnyder/php/php5-200305101530/bundle/libxml/xmlreader.c:380: conflicting
types for `xmlNewTextReader'
/usr/include/libxml2/libxml/xmlreader.h:40: previous declaration of
`xmlNewTextReader'
make: *** [bundle/libxml/xmlreader.lo] Error 1
It appears to me that my installed version of libxml is conflicting with the
bundled version. What can I do about this? Thanks in advance, and again I'm
sorry if I'm on the wrong list.