Re: Getting RU to build
| From: | Alexey Shein | Date: | Fri, 15 Oct 2010 08:27:36 +0000 |
| Subject: | Re: Getting RU to build | ||
| References: | 1 2 3 4 | Groups: | php.doc.ru |
| Request: | Send a blank email to doc-ru+get-1090@lists.php.net to get a copy of this message | ||
It's getting more and more interesting :)
Ok, checking on the other machine.
I checked out repository from this url
http://svn.php.net/repository/phpdoc/modules/doc-ru
into phpdoc-ru
directory.
conf@conf ~/phpdoc-ru $ LC_ALL=C svn info . doc-base en ru
Path: .
URL: http://svn.php.net/repository/phpdoc/modules/doc-ru
Repository Root: http://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 304408
Node Kind: directory
Schedule: normal
Last Changed Author: vrana
Last Changed Rev: 284069
Last Changed Date: 2009-07-14 15:50:42 +0500 (Tue, 14 Jul 2009)
Path: doc-base
URL: http://svn.php.net/repository/phpdoc/doc-base/trunk
Repository Root: http://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 304408
Node Kind: directory
Schedule: normal
Last Changed Author: philip
Last Changed Rev: 304322
Last Changed Date: 2010-10-12 00:16:51 +0500 (Tue, 12 Oct 2010)
Path: en
URL: http://svn.php.net/repository/phpdoc/en/trunk
Repository Root: http://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 304408
Node Kind: directory
Schedule: normal
Last Changed Author: cataphract
Last Changed Rev: 304388
Last Changed Date: 2010-10-14 11:12:16 +0500 (Thu, 14 Oct 2010)
Path: ru
URL: http://svn.php.net/repository/phpdoc/ru/trunk
Repository Root: http://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 304408
Node Kind: directory
Schedule: normal
Last Changed Author: philip
Last Changed Rev: 304403
Last Changed Date: 2010-10-14 20:13:37 +0500 (Thu, 14 Oct 2010)
conf@conf ~/phpdoc-ru $ svn st
? .idea
X en
X ru
X doc-base
Performing status on external item at 'doc-base'
Performing status on external item at 'en'
Performing status on external item at 'ru'
conf@conf ~/phpdoc-ru $
.idea is project folder for my IDE, I don't think it affects on the build.
So:
conf@conf ~/phpdoc-ru $ doc-base/configure.php --with-lang=ru
configure.php: $Id: configure.php 300704 2010-06-23 18:18:59Z philip $
PHP version: 5.3.3-1ubuntu9
Checking for source directory... /home/conf/phpdoc-ru/doc-base
Checking for output filename... /home/conf/phpdoc-ru/doc-base/.manual.xml
Checking whether to save an invalid .manual.xml... no
Checking whether to include CHM... no
Checking for PHP executable... /usr/bin/php5
Checking for language to build... ru
Checking whether the language is supported... yes
Checking for partial build... no
Checking whether to enable detailed XML error messages... no
Checking libxml version... 2.7.7 <---------- SAME VERSION AS YOURS
Generating /home/conf/phpdoc-ru/doc-base/manual.xml... done
Generating /home/conf/phpdoc-ru/doc-base/entities/version.ent... done
Generating /home/conf/phpdoc-ru/doc-base/scripts/file-entities.php... done
Iterating over extension specific version files... OK
Saving it... OK
Creating file /home/conf/phpdoc-ru/doc-base/entities/file-entities.ent... done
Loading and parsing manual.xml... done.
Validating manual.xml... failed.
The document didn't validate, here are the errors I got:
(If this isn't enough information, try again with --enable-xml-details)
IDREF attribute linkend references an unknown ID "language.oop5.serialization"
IDREF attribute linkend references an unknown ID "language.oop5.serialization"
IDREF attribute linkend references an unknown ID
"language.types.string.syntax.nowdoc"
IDREF attribute linkend references an unknown ID
"language.types.string.syntax.nowdoc"
IDREF attribute linkend references an unknown ID "ini.oci8.connection.class"
IDREF attribute linkend references an unknown ID
"language.operators.comparison.ternary"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "reference.pcre.pattern.posix"
IDREF attribute linkend references an unknown ID "ini.sections"
IDREF attribute linkend references an unknown ID "language.oop.serialization"
IDREF attribute linkend references an unknown ID "language.oop.serialization"
IDREF attribute linkend references an unknown ID "language.oop.serialization"
IDREF attribute linkend references an unknown ID
"mysqli-driver.props.report-mode"
IDREF attribute linkend references an unknown ID "language.oop"
IDREF attribute linkend references an unknown ID "language.oop"
Eyh man. No worries. Happ shittens. Try again after fixing the errors above..
conf@conf ~/phpdoc-ru $
Please, check updates on en and ru repos, mine are latest.
2010/10/15 Antony Dovgal <tony@daylessday.org>:
> On 10/14/2010 10:31 PM, Alexey Shein wrote:
>> I can't build ru and curious how you did that.
>
> I have so-called 'sparse checkout' of phpdoc tree, which includes full checkouts of
> doc-base, en and ru dirs.
> So this is how it looks like here:
>
> tony@daylessday:/local/dev/phpdoc/doc-base/trunk> cd -
> /local/dev/phpdoc/ru/trunk
>
> tony@daylessday:/local/dev/phpdoc/ru/trunk> svn up
> At revision 304408.
>
> tony@daylessday:/local/dev/phpdoc/ru/trunk> cd -
> /local/dev/phpdoc/doc-base/trunk
>
> tony@daylessday:/local/dev/phpdoc/doc-base/trunk> svn up
> At revision 304408.
>
> tony@daylessday:/local/dev/phpdoc/doc-base/trunk> php configure.php --with-lang=ru
> configure.php: $Id: configure.php 300704 2010-06-23 18:18:59Z philip $
> PHP version: 5.3.3-dev
>
> Checking for source directory... /local/dev/phpdoc/doc-base/trunk
> Checking for output filename... /local/dev/phpdoc/doc-base/trunk/.manual.xml
> Checking whether to save an invalid .manual.xml... no
> Checking whether to include CHM... no
> Checking for PHP executable... /usr/local/bin/php
> Checking for language to build... ru
> Checking whether the language is supported... yes
> Checking for partial build... no
> Checking whether to enable detailed XML error messages... no
> Checking libxml version... 2.7.7 <------------------------------------------- THIS MIGHT BE
> IMPORTANT, BTW
> Generating /local/dev/phpdoc/doc-base/trunk/manual.xml... done
> Generating /local/dev/phpdoc/doc-base/trunk/entities/version.ent... done
> Generating /local/dev/phpdoc/doc-base/trunk/scripts/file-entities.php... done
> Iterating over extension specific version files... OK
> Saving it... OK
> Creating file /local/dev/phpdoc/doc-base/trunk/entities/file-entities.ent.... done
> Loading and parsing manual.xml... done.
> Validating manual.xml... done.
>
> All good. Saving .manual.xml... done.
> All you have to do now is run 'phd -d /local/dev/phpdoc/doc-base/trunk/.manual.xml'
> If the script hangs here, you can abort with ^C. (Run
nice php
> configure..php next time!)
>
> tony@daylessday:/local/dev/phpdoc/doc-base/trunk> svn status
> tony@daylessday:/local/dev/phpdoc/doc-base/trunk>
> tony@daylessday:/local/dev/phpdoc/ru/trunk> svn status
> tony@daylessday:/local/dev/phpdoc/ru/trunk>
> tony@daylessday:/local/dev/phpdoc/ru/trunk> l reference/pcre/
> total 180
> drwxr-xr-x 4 tony users 4096 2010-05-31 16:04 ./
> drwxr-xr-x 32 tony users 4096 2010-10-06 11:49 ../
> -rw-r--r-- 1 tony users 3280 2010-05-31 16:04 book.xml
> -rw-r--r-- 1 tony users 1691 2010-05-31 16:04 configure.xml
> -rw-r--r-- 1 tony users 5600 2010-05-31 16:04 constants.xml
> -rw-r--r-- 1 tony users 1759 2010-05-31 16:04 examples.xml
> drwxr-xr-x 3 tony users 4096 2010-05-31 16:04 functions/
> -rw-r--r-- 1 tony users 2433 2010-05-31 16:04 ini.xml
> -rw-r--r-- 1 tony users 11886 2010-05-31 16:04 pattern.modifiers.xml
> -rw-r--r-- 1 tony users 113523 2010-05-31 16:04 pattern.syntax.xml
> -rw-r--r-- 1 tony users 752 2010-05-31 16:04 pattern.xml
> -rw-r--r-- 1 tony users 915 2010-05-31 16:04 reference.xml
> -rw-r--r-- 1 tony users 812 2010-05-31 16:04 setup.xml
> drwxr-xr-x 6 tony users 4096 2010-10-15 11:54 .svn/
>
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>
--
Regards,
Shein Alexey