phd install problems
| From: | Kristina Chodorow | Date: | Tue, 16 Jun 2009 15:57:54 +0000 |
| Subject: | phd install problems | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969380493@lists.php.net to get a copy of this message | ||
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.