Guys,

I`m trying to find out why pt_BR is not building but I cannot get PhD to
work. As I`m under Ubuntu, I'm "officially" stuck w/ 5.2.6, so I built 5.3
myself and PHP is working like a charm. I'm saying this so you can point me
to something on my PHP build. If needed, I can send a full phpinfo output.

:~/PHP/pt_BR/trunk$ php -v
PHP 5.3.0 (cli) (built: Oct 27 2009 00:55:19)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

Anything I try to build, even the "simple" example in phd
page<http://doc.php.net/phd/docs/#render-phpdoc>,
I get an error:

:~/PHP/doc-base$ php configure.php
configure.php: $Id: configure.php 289874 2009-10-23 03:14:15Z philip $
PHP version: 5.3.0

Checking for source directory... /home/user/PHP/doc-base
<snip>
Creating file /home/user/PHP/doc-base/entities/file-entities.ent... done
Loading and parsing manual.xml... failed.

ERROR (/home/user/PHP/doc-base/manual.xml:21:16)
%language-defs;
----------------^
 failed to load external entity "/home/user/en/trunk/language-defs.ent"

ERROR (/home/user/PHP/doc-base/manual.xml:22:13)
%extensions;
-------------^
 internal error
<snip>

And this is for preface.xml:

:~/PHP/pt_BR/trunk$ phd -d preface.xml
[01:43:04 - VERBOSE_INDEXING] Indexing...
[01:43:04 - E_WARNING] /usr/local/bin/phd:13
    fopen(/usr/local/lib/php//phpdotnet/phd/ReaderKeeper.php): failed to
open stream: No such file or directory
PHP Fatal error:  Class 'phpdotnet\phd\ReaderKeeper' not found in
/usr/local/lib/php/phpdotnet/phd/Render.php on line 0

Fatal error: Class 'phpdotnet\phd\ReaderKeeper' not found in
/usr/local/lib/php/phpdotnet/phd/Render.php on line 0


I installed phd from SVN using what's said on README:
        From SVN:
                svn checkout http://svn.php.net/repository/phd/trunk phd
                cd phd
                pear install -f package.xml

        To install the PHP Package:
            pear install -f package_php.xml

        To install the PEAR Package:
            pear install -f package_pear.xml

Am I missing something?


Cheers,
Thiago Henrique Pojda
http://nerdnaweb.blogspot DOT com

Reply via email to