Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80768 invoked from network); 10 May 2003 16:52:06 -0000 Received: from unknown (HELO bambi.bitflux.ch) (212.71.97.156) by pb1.pair.com with SMTP; 10 May 2003 16:52:06 -0000 Received: from localhost (localhost [127.0.0.1]) by bambi.bitflux.ch (Postfix) with ESMTP id 02F5FE022; Sat, 10 May 2003 18:52:06 +0200 (CEST) Received: from bambi.bitflux.ch ([127.0.0.1]) by localhost (bambi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31075-01; Sat, 10 May 2003 18:52:05 +0200 (CEST) Received: by bambi.bitflux.ch (Postfix, from userid 1000) id D8E207209; Sat, 10 May 2003 18:52:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bambi.bitflux.ch (Postfix) with ESMTP id D71A071AC; Sat, 10 May 2003 18:52:05 +0200 (CEST) Date: Sat, 10 May 2003 18:52:05 +0200 (CEST) X-X-Sender: chregu@bambi.chregu.tv To: Chris Snyder Cc: internals@lists.php.net In-Reply-To: <200305101238.05325.csnyder@mvpsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new-20030314-p1 (Debian) at bitflux.ch Subject: Re: [PHP-DEV] Bundled libxml failing to compile From: chregu@bitflux.ch (Christian Stocker) References: <200305101238.05325.csnyder@mvpsoft.com> HI doesn't work for me either. You have to disable the domxml for the time being, then it should compile again (domxml tries to lnik against the system domxml and ext/xml wants to take the bundled libxml2... It doesn't look like, they can coexist at the moment) current ext/domxml will anyway be depricated with php5 and a whole new libxml2 based dom/xpath/xslt extension should appear soon. chregu On Sat, 10 May 2003, Chris Snyder wrote: > 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. > > > -- nam...christian stocker adr...pflanzschulstr. 31, ch-8004 zurich pho...+41 43 317 9984 www...http://blog.bitflux.ch mob...+41 76 561 8860 ema...chregu@phant.ch wor...+41 1 240 5670 gpg...0x5CE1DECB