Re: Getting RU to build
| From: | Philip Olson | Date: | Thu, 21 Oct 2010 17:21:55 +0000 |
| Subject: | Re: Getting RU to build | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.doc.ru |
| Request: | Send a blank email to doc-ru+get-1122@lists.php.net to get a copy of this message | ||
On Oct 21, 2010, at 3:09 AM, Alexey Shein wrote:
> 2010/10/21 Philip Olson <philip@roshambo.org>:
>> It builds now. I updated some but did remove a few old files. I hope
>> this doesn't interfere with your work, but configure.php
>> --with-lang=ru working now is a good thing :)
>>
>> Regards,
>> Philip
>>
>
> Thanks, it works for me too. I built php version of the manual like this
> conf@conf ~/phpdoc-ru $ phd -d doc-base/.manual.xml -P PHP -f php
> but it doesn't work on my server, and reports these errors:
> Warning: include_once(/var/www/php//include/shared-manual.inc)
> [function.include-once]: failed to open stream: No such file or
> directory in /home/conf/phpdoc-ru/output/php-web/index.php on line 2
> Warning: include_once() [function.include]: Failed opening
> '/var/www/php//include/shared-manual.inc' for inclusion
> (include_path='.:/usr/share/php:/usr/share/pear') in
> /home/conf/phpdoc-ru/output/php-web/index.php on line 2
> Fatal error: Call to undefined function manual_setup() in
> /home/conf/phpdoc-ru/output/php-web/index.php on line 46
>
> Why there is no include folder there and how to fix it?
PhD does not generate what we see at php.net, it only generates the PHP Manual parts. So,
using/viewing it requires phpweb (the php.net sources) because it does not duplicate the web code.
That said, people typically view either the HTML version or setup a local mirror and symlink the
manual to the appropriate location. This shows how:
- http://wiki.php.net/doc/phd/view
Also, note that it's now updated on the doc server:
- http://docs.php.net/manual/ru/
Regards,
Philip