Re: [PHP-DOC] phd install problems
I compiled from source and worked fine, thank you. On Tue, Jun 16, 2009 at 12:52 PM, Christian Weiske wrote: > Hello Kristina, > > >> Anyone know what's going on? It looks like xmlreader shouldn't even >> be a dependency for phd, as it's built into the main source now. > It is a dependency because PEAR automatically checks if it's enabled > - be it in the core or as an extra module. > > So please recompile your php with the necessary extensions. > > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -= Geeking around in the name of science since 1982 =- >
Re: [PHP-DOC] phd install problems
Hello Kristina, > Anyone know what's going on? It looks like xmlreader shouldn't even > be a dependency for phd, as it's built into the main source now. It is a dependency because PEAR automatically checks if it's enabled - be it in the core or as an extra module. So please recompile your php with the necessary extensions. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =- signature.asc Description: PGP signature
[PHP-DOC] phd install problems
My coworker is trying to install phd following the directions at http://wiki.php.net/doc/scratchpad/howto but it says: pear install doc.php.net/phd-beta phpdocs/PhD requires PHP extension "xmlreader" phpdocs/PhD requires PHP extension "dom" phpdocs/PhD can optionally use PHP extension "haru" No valid packages found install failed So he tried 'pecl install xmlreader' and got a strange compile error: gcc -I. -I/tmp/pear/download/xmlreader-1.0.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/xmlreader-1.0.1/include -I/var/tmp/pear-build-root/xmlreader-1.0.1/main -I/tmp/pear/download/xmlreader-1.0.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/download/xmlreader-1.0.1/php_xmlreader.c -fPIC -DPIC -o .libs/php_xmlreader.o /tmp/pear/download/xmlreader-1.0.1/php_xmlreader.c: In function 'xmlreader_objects_new': /tmp/pear/download/xmlreader-1.0.1/php_xmlreader.c:349: error: 'zend_object' has no member named 'in_get' /tmp/pear/download/xmlreader-1.0.1/php_xmlreader.c:350: error: 'zend_object' has no member named 'in_set' make: *** [php_xmlreader.lo] Error 1 ERROR: `make' failed We're using php 5.2.6 (configure flags listed at http://mongodb.pastebin.com/d9886fbe). Anyone know what's going on? It looks like xmlreader shouldn't even be a dependency for phd, as it's built into the main source now.