RE: [PHP-INST] --with-dom crashes
| From: | Matt Dunford | Date: | Sat, 18 Nov 2000 01:28:37 +0000 |
| Subject: | RE: [PHP-INST] --with-dom crashes | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-834@lists.php.net to get a copy of this message | ||
Perhaps, try libxml-2.2.8. I had to install mine from source to get it to
work.
On Fri, 17 Nov 2000, Lance Lovette wrote:
>For what it's worth, I get the exact same error with Red Hat 6.2 using the
>following RPMs:
>
>libxml2-2.2.7-1.i386.rpm
>libxml2-devel-2.2.7-1.i386.rpm
>
>Lance
>
>-----Original Message-----
>From: Victor [mailto:vkd79@nospam.yahoo.com]
>Sent: Friday, November 17, 2000 2:51 PM
>To: php-install@lists.php.net
>Subject: [PHP-INST] --with-dom crashes
>
>
>I am trying to set up php4 but I am getting an error setting up dom
>
>./configure \
> --with-apxs=/usr/www/bin/apxs \
> --disable-debug \
> --enable-safe-mode \
> --enable-trans-sid \
> --enable-track-vars \
> --with-mysql=/usr/local/mysql \
> --with-pgsql=/usr/local/pgsql \
> --with-magic-quotes \
> --with-dom=/usr/local \
> --enable-xml
>
>Here is the error produced. What am I doing wrong? Any ideas? (libxml2 is
>installed)
>OS is Solaris 2.7
>
>make[1]: Entering directory `/src/php-4.0.3pl1/ext'
>Making all in domxml
>make[2]: Entering directory `/src/php-4.0.3pl1/ext/domxml'
>make[3]: Entering directory `/src/php-4.0.3pl1/ext/domxml'
>/bin/sh /src/php-4.0.3pl1/libtool --silent --mode=compile gcc -I.
> -I/src/php-4.0.3pl1/ext/domxml
> -I/src/php-4.0.3pl1
> -I/src/php-4.0.3pl1/main
> -I/usr/www/include
> -I/src/php-4.0.3pl1/Zend
> -I/src/php-4.0.3pl1
> -I/usr/local/include
> -I/usr/local/mysql/include
> -I/src/php-4.0.3pl1/ext/xml/expat/xmltok
> -I/src/php-4.0.3pl1/ext/xml/expat/xmlparse
> -I/src/php-4.0.3pl1/TSRM
> -D_POSIX_PTHREAD_SEMANTICS -DEAPI -DXML_BYTE_ORDER=21 -g -O2
> -c php_domxml.c
>
>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 `/src/php-4.0.3pl1/ext/domxml'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/src/php-4.0.3pl1/ext/domxml'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/src/php-4.0.3pl1/ext'
>make: *** [all-recursive] Error 1
>
>
>
>--
>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
>
>
>--
>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
>