[PHP-DEV] Compiling PHP4.0RC2 with DOM support From: Ryan Gaul (ryangaul <email protected>)
Date: 05/14/00

I had successfully compiled PHP4.0RC1 with DOM support, but I cannot seem to do
the same with RC2. An RTFM with a pointer or other help would be appreciated.
I could not find any help in the list archive. The error output from make is:

Making all in domxml
make[2]: Entering directory `/usr/local/phplibs/php-4.0RC2/ext/domxml'
make[3]: Entering directory `/usr/local/phplibs/php-4.0RC2/ext/domxml'
/bin/sh /usr/local/phplibs/php-4.0RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/phplibs/php-4.0RC2/ext/domxml -I/usr/local/phplibs/php-4.0RC2 -I/usr/local/httpd/include -I/usr/local/phplibs/php-4.0RC2/Zend -I/usr/local/phplibs/php-4.0RC2 -I/usr/local/include -I/usr/local/phplibs/gd-1.8.1 -I/usr/local/mcal/lib -I/usr/local/phplibs/php-4.0RC2/ext/mysql/libmysql -I/usr/local/phplibs/php-4.0RC2/ext/xml/expat/xmltok -I/usr/local/phplibs/php-4.0RC2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c domxml.c
domxml.c: In function `php_if_domxml_children':
domxml.c:554: structure has no member named `children'
domxml.c:556: structure has no member named `children'
domxml.c: In function `php_if_domxml_rootnew':
domxml.c:767: structure has no member named `children'
domxml.c: In function `php_if_domxml_root':
domxml.c:830: structure has no member named `children'
domxml.c: At top level:
domxml.c:1197: warning: `node_attributes' was declared implicitly `extern' and later `static'
domxml.c:710: warning: previous declaration of `node_attributes'
domxml.c: In function `node_attributes':
domxml.c:1222: structure has no member named `children'
domxml.c: In function `node_children':
domxml.c:1280: structure has no member named `children'
domxml.c: In function `php_if_xmltree':
domxml.c:1318: structure has no member named `children'
make[3]: *** [domxml.lo] Error 1
make[3]: Leaving directory `/usr/local/phplibs/php-4.0RC2/ext/domxml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/phplibs/php-4.0RC2/ext/domxml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/phplibs/php-4.0RC2/ext'
make: *** [all-recursive] Error 1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>