Re: issues with xml
| From: | Matt Dunford | Date: | Thu, 30 Nov 2000 18:01:44 +0000 |
| Subject: | Re: issues with xml | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1012@lists.php.net to get a copy of this message | ||
Make sure you have the latest libxml2 package. I usually have to specify
--with-dom=/usr/local to get it to compile.
On Wed, 29 Nov 2000, Donovan Arellano wrote:
>I am trying to compile xml support in with php 4.xxx and it is breaking
>when it reaches the xml portion of this build. I am looking for an idea
>or observation that I have missed. I am using the latest availible
>stable src for all programs.Here is my confiure script:
>
>./configure --with-apache=../apache_1.3.14 \
>--enable-memory-limit=yes \
>--enable-track-vars \
>--with-calendar=shared \
> --with-openssl \
> --with-mysql \
> --with-mysql \
> --with-imap=/usr/local \
> --with-mcrypt \
> --with-mhash \
> --with-ftp \
> --enable-trans-sid \
> --with-xml \
> --with-magic-quotes \
> --with-dom \
>
>and here is were I belive it breaks.
>
>gcc -I. -I/root/apache-toolbox/cvs/php-4.0.3pl1/ext/domxml
>-I/root/apache-toolb ox/cvs/php-4.0.3pl1
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/main
>-I/root/apache-toolbox/cvs/apache_1.3.14/src/include
>-I/root/apache-toolbox/cvs/apache_1.3.14/src/os/unix
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/Zend
>-I/root/apache-toolbox/cvs/php-4.0.3pl1 -I/usr/local/include
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/ext/mysql/libmysql
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/ext/xml/expat/xmltok
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/ext/xml/expat/xmlparse
>-I/root/apache-toolbox/cvs/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2
>-c php_domxml.c && touch php_domxml.lo
>php_domxml.c: In function `php_minit_domxml':
>php_domxml.c:162: `XML_GLOBAL_NAMESPACE' undeclared (first use in this
>function)
>php_domxml.c:162: (Each undeclared identifier is reported only once
>php_domxml.c:162: for each function it appears in.)
>make[3]: *** [php_domxml.lo] Error 1
>make[3]: Leaving directory
>`/root/apache-toolbox/cvs/php-4.0.3pl1/ext/domxml'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory
>`/root/apache-toolbox/cvs/php-4.0.3pl1/ext/domxml'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/root/apache-toolbox/cvs/php-4.0.3pl1/ext'
>make: *** [all-recursive] Error 1
>
>
>--
>
>Donovan Arellano
>http://www.technodada.com/~donovan
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
>For additional commands, e-mail: php-install-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>