For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2007 > Re: [PHP-DOC] Re: a weekly php.doc update









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] Re: a weekly php.doc update
Hannes Magnusson

2007-09-15, 7:01 pm

Hi Edward

On 9/15/07, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> Philip Olson wrote:
>
> I'm also on Windows, so I can help with the debug process. Just give me
> instructions.


The word that I completely broke scripts/file-entities.php on cygwin
so "make test" doesn't work anymore... I don't have more info than
that though. Haven't installed cygwin yet, and I can honestly say that
I don't really care about cygwin :)

Cygwin has however, up until now, been the only way to build the docs
on Windows, so if someone could fix it (if there is indeed something
to fix) I would appreciate it.

-Hannes
Edward Z. Yang

2007-09-16, 7:04 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hannes Magnusson wrote:
> The word that I completely broke scripts/file-entities.php on cygwin
> so "make test" doesn't work anymore... I don't have more info than
> that though. Haven't installed cygwin yet, and I can honestly say that
> I don't really care about cygwin :)
>
> Cygwin has however, up until now, been the only way to build the docs
> on Windows, so if someone could fix it (if there is indeed something
> to fix) I would appreciate it.


This probably isn't much help, but I'll post it anyway. Here's what I
get running make:

$ make && make test
Generating the manual... done
Stripping it... done
rm -rf html && mkdir html && mkdir html/figures
for i in `find en -type d -name figures`; do sect=`echo $i | awk -F\/
'{print $3}'`; for file in $i/*; do if test -f $file; then
name=`basename $file`; cp $file html/figures/$sect.$name; fi; done; done;
c:/php/5.2.3/php.exe -q ./scripts/rtlpatch/hackmanuallang.php en
SP_ENCODING=XML SP_CHARSET_FIXED=YES /usr/bin/openjade -D . -wno-idref
- -c ./entities/ISO/catalog -c ./docbook/docbook-dsssl/catalog -c
../phpbook/phpbook-dsssl/defaults/catalog -d
phpbook/phpbook-dsssl/html.dsl -V use-output-dir -t sgml
phpbook/phpbook-xml/phpdocxml.dcl stripped.xml
/usr/bin/openjade:stripped.xml:2:0:E: prolog can't be omitted unless
CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or
IMPLYDEF DOCTYPE YES
/usr/bin/openjade:stripped.xml:2:0:E: no document type declaration; will
parse without validation
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'internals2.ze1'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'configuration.file'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'install.unix'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'install.windows.building.dsw'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'install.windows.building.install'
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'userlandnaming'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'userlandnaming'
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'wrappers'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'userlandnaming'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'userlandnaming'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'wrappers'
/usr/bin/openjade:././docbook/docbook-dsssl/html/dblink.dsl:203:1:E:
XRef LinkEnd to missing ID 'ref.image'
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list
/usr/bin/openjade:././docbook/docbook-dsssl/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
290026352>" not a singleton node list

[1]+ Stopped make

At this point, I stopped make, because it seemed like openjade had hung.

- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7ZBOqTO+fYacSNoRAtHTAJ9mRCBknMw0
rn8BBl93Rl+LijNqPgCfbIuf
gfK1GjW2M6ZuW50F7pXFUAs=
=7ZU4
-----END PGP SIGNATURE-----
Edward Z. Yang

2007-09-16, 7:04 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hannes Magnusson wrote:
> The default make target is the html-dsssl build... We haven't used
> that format for quite some time now.
> If you could post the output of `make test test_xml` however, that would help.


Mmm, we should probably change that then, right?

Here's what I got now. It looks like some path munging went wrong, I'll
take a look a file-entities.php and see what I can do.

SP_ENCODING=XML SP_CHARSET_FIXED=YES /usr/bin/onsgmls -i lang-en -D . -s
phpbook/phpbook-xml/phpdocxml.dcl manual.xml
/usr/bin/onsgmls:manual.xml:60:1:E: cannot find
"c:/php/phpdoc/en/bookinfo.xml"; tried
"./entities/c:/php/phpdoc/en/bookinfo.xml",
"./c:/php/phpdoc/en/bookinfo.xml"
/usr/bin/onsgmls:manual.xml:61:1:E: cannot find
"c:/php/phpdoc/en/preface.xml"; tried
"./entities/c:/php/phpdoc/en/preface.xml", "./c:/php/phpdoc/en/preface.xml"
/usr/bin/onsgmls:manual.xml:65:2:E: cannot find
"c:/php/phpdoc/en/chapters/intro.xml"; tried
"./entities/c:/php/phpdoc/en/chapters/intro.xml",
"./c:/php/phpdoc/en/chapters/intro.xml"
/usr/bin/onsgmls:manual.xml:66:2:E: cannot find
"c:/php/phpdoc/en/chapters/tutorial.xml"; tried
"./entities/c:/php/phpdoc/en/chapters/tutorial.xml",
"./c:/php/phpdoc/en/chapters/tutorial.xml"
/usr/bin/onsgmls:manual.xml:67:7:E: end tag for "part" which is not finished
/usr/bin/onsgmls:manual.xml:71:2:E: cannot find
"c:/php/phpdoc/en/install/intro.xml"; tried
"./entities/c:/php/phpdoc/en/install/intro.xml",
"./c:/php/phpdoc/en/install/intro.xml"
/usr/bin/onsgmls:manual.xml:72:2:E: cannot find
"c:/php/phpdoc/en/install/unix/index.xml"; tried
"./entities/c:/php/phpdoc/en/install/unix/index.xml",
"./c:/php/phpdoc/en/install/unix/index.xml"
/usr/bin/onsgmls:manual.xml:73:2:E: cannot find
"c:/php/phpdoc/en/install/macos/index.xml"; tried
"./entities/c:/php/phpdoc/en/install/macos/index.xml",
"./c:/php/phpdoc/en/install/macos/index.xml"
/usr/bin/onsgmls:manual.xml:74:2:E: cannot find
"c:/php/phpdoc/en/install/windows/index.xml"; tried
"./entities/c:/php/phpdoc/en/install/windows/index.xml",
"./c:/php/phpdoc/en/install/windows/index.xml"
/usr/bin/onsgmls:manual.xml:75:2:E: cannot find
"c:/php/phpdoc/en/install/pecl.xml"; tried
"./entities/c:/php/phpdoc/en/install/pecl.xml",
"./c:/php/phpdoc/en/install/pecl.xml"
/usr/bin/onsgmls:manual.xml:76:2:E: cannot find
"c:/php/phpdoc/en/install/problems.xml"; tried
"./entities/c:/php/phpdoc/en/install/problems.xml",
"./c:/php/phpdoc/en/install/problems.xml"
/usr/bin/onsgmls:manual.xml:77:2:E: cannot find
"c:/php/phpdoc/en/install/ini.xml"; tried
"./entities/c:/php/phpdoc/en/install/ini.xml",
"./c:/php/phpdoc/en/install/ini.xml"
/usr/bin/onsgmls:manual.xml:78:7:E: end tag for "part" which is not finished
/usr/bin/onsgmls:manual.xml:82:2:E: cannot find
"c:/php/phpdoc/en/language/basic-syntax.xml"; tried
"./entities/c:/php/phpdoc/en/language/basic-syntax.xml",
"./c:/php/phpdoc/en/language/basic-syntax.xml"
/usr/bin/onsgmls:manual.xml:83:2:E: cannot find
"c:/php/phpdoc/en/language/types.xml"; tried
"./entities/c:/php/phpdoc/en/language/types.xml",
"./c:/php/phpdoc/en/language/types.xml"
/usr/bin/onsgmls:manual.xml:84:2:E: cannot find
"c:/php/phpdoc/en/language/variables.xml"; tried
"./entities/c:/php/phpdoc/en/language/variables.xml",
"./c:/php/phpdoc/en/language/variables.xml"
/usr/bin/onsgmls:manual.xml:85:2:E: cannot find
"c:/php/phpdoc/en/language/constants.xml"; tried
"./entities/c:/php/phpdoc/en/language/constants.xml",
"./c:/php/phpdoc/en/language/constants.xml"
/usr/bin/onsgmls:manual.xml:86:2:E: cannot find
"c:/php/phpdoc/en/language/expressions.xml"; tried
"./entities/c:/php/phpdoc/en/language/expressions.xml",
"./c:/php/phpdoc/en/language/expressions.xml"
/usr/bin/onsgmls:manual.xml:87:2:E: cannot find
"c:/php/phpdoc/en/language/operators.xml"; tried
"./entities/c:/php/phpdoc/en/language/operators.xml",
"./c:/php/phpdoc/en/language/operators.xml"
/usr/bin/onsgmls:manual.xml:88:2:E: cannot find
"c:/php/phpdoc/en/language/control-structures.xml"; tried
"./entities/c:/php/phpdoc/en/language/control-structures.xml",
"./c:/php/phpdoc/en/language/control-structures.xml"
/usr/bin/onsgmls:manual.xml:89:2:E: cannot find
"c:/php/phpdoc/en/language/functions.xml"; tried
"./entities/c:/php/phpdoc/en/language/functions.xml",
"./c:/php/phpdoc/en/language/functions.xml"
/usr/bin/onsgmls:manual.xml:90:2:E: cannot find
"c:/php/phpdoc/en/language/oop.xml"; tried
"./entities/c:/php/phpdoc/en/language/oop.xml",
"./c:/php/phpdoc/en/language/oop.xml"
/usr/bin/onsgmls:manual.xml:91:2:E: cannot find
"c:/php/phpdoc/en/language/oop5.xml"; tried
"./entities/c:/php/phpdoc/en/language/oop5.xml",
"./c:/php/phpdoc/en/language/oop5.xml"
/usr/bin/onsgmls:manual.xml:92:2:E: cannot find
"c:/php/phpdoc/en/language/exceptions.xml"; tried
"./entities/c:/php/phpdoc/en/language/exceptions.xml",
"./c:/php/phpdoc/en/language/exceptions.xml"
/usr/bin/onsgmls:manual.xml:93:2:E: cannot find
"c:/php/phpdoc/en/language/references.xml"; tried
"./entities/c:/php/phpdoc/en/language/references.xml",
"./c:/php/phpdoc/en/language/references.xml"
/usr/bin/onsgmls:manual.xml:94:7:E: end tag for "part" which is not finished
/usr/bin/onsgmls:manual.xml:98:2:E: cannot find
"c:/php/phpdoc/en/security/intro.xml"; tried
"./entities/c:/php/phpdoc/en/security/intro.xml",
"./c:/php/phpdoc/en/security/intro.xml"
/usr/bin/onsgmls:manual.xml:99:2:E: cannot find
"c:/php/phpdoc/en/security/general.xml"; tried
"./entities/c:/php/phpdoc/en/security/general.xml",
"./c:/php/phpdoc/en/security/general.xml"
/usr/bin/onsgmls:manual.xml:100:2:E: cannot find
"c:/php/phpdoc/en/security/cgi-bin.xml"; tried
"./entities/c:/php/phpdoc/en/security/cgi-bin.xml",
"./c:/php/phpdoc/en/security/cgi-bin.xml"
/usr/bin/onsgmls:manual.xml:101:2:E: cannot find
"c:/php/phpdoc/en/security/apache.xml"; tried
"./entities/c:/php/phpdoc/en/security/apache.xml",
"./c:/php/phpdoc/en/security/apache.xml"
/usr/bin/onsgmls:manual.xml:102:2:E: cannot find
"c:/php/phpdoc/en/security/filesystem.xml"; tried
"./entities/c:/php/phpdoc/en/security/filesystem.xml",
"./c:/php/phpdoc/en/security/filesystem.xml"
/usr/bin/onsgmls:manual.xml:103:2:E: cannot find
"c:/php/phpdoc/en/security/database.xml"; tried
"./entities/c:/php/phpdoc/en/security/database.xml",
"./c:/php/phpdoc/en/security/database.xml"
/usr/bin/onsgmls:manual.xml:104:2:E: cannot find
"c:/php/phpdoc/en/security/errors.xml"; tried
"./entities/c:/php/phpdoc/en/security/errors.xml",
"./c:/php/phpdoc/en/security/errors.xml"
/usr/bin/onsgmls:manual.xml:105:2:E: cannot find
"c:/php/phpdoc/en/security/globals.xml"; tried
"./entities/c:/php/phpdoc/en/security/globals.xml",
"./c:/php/phpdoc/en/security/globals.xml"
/usr/bin/onsgmls:manual.xml:106:2:E: cannot find
"c:/php/phpdoc/en/security/variables.xml"; tried
"./entities/c:/php/phpdoc/en/security/variables.xml",
"./c:/php/phpdoc/en/security/variables.xml"
/usr/bin/onsgmls:manual.xml:107:2:E: cannot find
"c:/php/phpdoc/en/security/magicquotes.xml"; tried
"./entities/c:/php/phpdoc/en/security/magicquotes.xml",
"./c:/php/phpdoc/en/security/magicquotes.xml"
/usr/bin/onsgmls:manual.xml:108:2:E: cannot find
"c:/php/phpdoc/en/security/hiding.xml"; tried
"./entities/c:/php/phpdoc/en/security/hiding.xml",
"./c:/php/phpdoc/en/security/hiding.xml"
/usr/bin/onsgmls:manual.xml:109:2:E: cannot find
"c:/php/phpdoc/en/security/current.xml"; tried
"./entities/c:/php/phpdoc/en/security/current.xml",
"./c:/php/phpdoc/en/security/current.xml"
/usr/bin/onsgmls:manual.xml:110:7:E: end tag for "part" which is not
finished
/usr/bin/onsgmls:manual.xml:114:2:E: cannot find
"c:/php/phpdoc/en/features/http-auth.xml"; tried
"./entities/c:/php/phpdoc/en/features/http-auth.xml",
"./c:/php/phpdoc/en/features/http-auth.xml"
/usr/bin/onsgmls:manual.xml:115:2:E: cannot find
"c:/php/phpdoc/en/features/cookies.xml"; tried
"./entities/c:/php/phpdoc/en/features/cookies.xml",
"./c:/php/phpdoc/en/features/cookies.xml"
/usr/bin/onsgmls:manual.xml:116:2:E: cannot find
"c:/php/phpdoc/en/features/sessions.xml"; tried
"./entities/c:/php/phpdoc/en/features/sessions.xml",
"./c:/php/phpdoc/en/features/sessions.xml"
/usr/bin/onsgmls:manual.xml:117:2:E: cannot find
"c:/php/phpdoc/en/features/xforms.xml"; tried
"./entities/c:/php/phpdoc/en/features/xforms.xml",
"./c:/php/phpdoc/en/features/xforms.xml"
/usr/bin/onsgmls:manual.xml:118:2:E: cannot find
"c:/php/phpdoc/en/features/file-upload.xml"; tried
"./entities/c:/php/phpdoc/en/features/file-upload.xml",
"./c:/php/phpdoc/en/features/file-upload.xml"
/usr/bin/onsgmls:manual.xml:119:2:E: cannot find
"c:/php/phpdoc/en/features/remote-files.xml"; tried
"./entities/c:/php/phpdoc/en/features/remote-files.xml",
"./c:/php/phpdoc/en/features/remote-files.xml"
/usr/bin/onsgmls:manual.xml:120:2:E: cannot find
"c:/php/phpdoc/en/features/connection-handling.xml"; tried
"./entities/c:/php/phpdoc/en/features/connection-handling.xml",
"./c:/php/phpdoc/en/features/connection-handling.xml"
/usr/bin/onsgmls:manual.xml:121:2:E: cannot find
"c:/php/phpdoc/en/features/persistent-connections.xml"; tried
"./entities/c:/php/phpdoc/en/features/persistent-connections.xml",
"./c:/php/phpdoc/en/features/persistent-connections.xml"
/usr/bin/onsgmls:manual.xml:122:2:E: cannot find
"c:/php/phpdoc/en/features/safe-mode.xml"; tried
"./entities/c:/php/phpdoc/en/features/safe-mode.xml",
"./c:/php/phpdoc/en/features/safe-mode.xml"
/usr/bin/onsgmls:manual.xml:123:2:E: cannot find
"c:/php/phpdoc/en/features/commandline.xml"; tried
"./entities/c:/php/phpdoc/en/features/commandline.xml",
"./c:/php/phpdoc/en/features/commandline.xml"
/usr/bin/onsgmls:manual.xml:124:7:E: end tag for "part" which is not
finished
/usr/bin/onsgmls:manual.xml:126:1:E: cannot find
"c:/php/phpdoc/entities/builtin-extensions.xml"; tried
"./entities/c:/php/phpdoc/entities/builtin-extensions.xml",
"./c:/php/phpdoc/entities/builtin-extensions.xml"
/usr/bin/onsgmls:manual.xml:128:1:E: cannot find
"c:/php/phpdoc/entities/pecl-extensions.xml"; tried
"./entities/c:/php/phpdoc/entities/pecl-extensions.xml",
"./c:/php/phpdoc/entities/pecl-extensions.xml"
/usr/bin/onsgmls:manual.xml:130:1:E: cannot find
"c:/php/phpdoc/entities/addon-extensions.xml"; tried
"./entities/c:/php/phpdoc/entities/addon-extensions.xml",
"./c:/php/phpdoc/entities/addon-extensions.xml"
/usr/bin/onsgmls:manual.xml:135:2:E: cannot find
"c:/php/phpdoc/en/internals2/intro.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/intro.xml",
"./c:/php/phpdoc/en/internals2/intro.xml"
/usr/bin/onsgmls:manual.xml:136:2:E: cannot find
"c:/php/phpdoc/en/internals2/buildsys/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/buildsys/index.xml",
"./c:/php/phpdoc/en/internals2/buildsys/index.xml"
/usr/bin/onsgmls:manual.xml:137:2:E: cannot find
"c:/php/phpdoc/en/internals2/structure/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/structure/index.xml",
"./c:/php/phpdoc/en/internals2/structure/index.xml"
/usr/bin/onsgmls:manual.xml:138:2:E: cannot find
"c:/php/phpdoc/en/internals2/memory/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/memory/index.xml",
"./c:/php/phpdoc/en/internals2/memory/index.xml"
/usr/bin/onsgmls:manual.xml:139:2:E: cannot find
"c:/php/phpdoc/en/internals2/variables/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/variables/index.xml",
"./c:/php/phpdoc/en/internals2/variables/index.xml"
/usr/bin/onsgmls:manual.xml:140:2:E: cannot find
"c:/php/phpdoc/en/internals2/funcs/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/funcs/index.xml",
"./c:/php/phpdoc/en/internals2/funcs/index.xml"
/usr/bin/onsgmls:manual.xml:141:2:E: cannot find
"c:/php/phpdoc/en/internals2/objects/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/objects/index.xml",
"./c:/php/phpdoc/en/internals2/objects/index.xml"
/usr/bin/onsgmls:manual.xml:142:2:E: cannot find
"c:/php/phpdoc/en/internals2/resources/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/resources/index.xml",
"./c:/php/phpdoc/en/internals2/resources/index.xml"
/usr/bin/onsgmls:manual.xml:143:2:E: cannot find
"c:/php/phpdoc/en/internals2/ini/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/ini/index.xml",
"./c:/php/phpdoc/en/internals2/ini/index.xml"
/usr/bin/onsgmls:manual.xml:144:2:E: cannot find
"c:/php/phpdoc/en/internals2/streams/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/streams/index.xml",
"./c:/php/phpdoc/en/internals2/streams/index.xml"
/usr/bin/onsgmls:manual.xml:145:2:E: cannot find
"c:/php/phpdoc/en/internals2/pdo/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/pdo/index.xml",
"./c:/php/phpdoc/en/internals2/pdo/index.xml"
/usr/bin/onsgmls:manual.xml:146:2:E: cannot find
"c:/php/phpdoc/en/internals2/faq/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/faq/index.xml",
"./c:/php/phpdoc/en/internals2/faq/index.xml"
/usr/bin/onsgmls:manual.xml:147:2:E: cannot find
"c:/php/phpdoc/en/internals2/apiref/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/apiref/index.xml",
"./c:/php/phpdoc/en/internals2/apiref/index.xml"
/usr/bin/onsgmls:manual.xml:148:2:E: cannot find
"c:/php/phpdoc/en/internals2/ze1/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/ze1/index.xml",
"./c:/php/phpdoc/en/internals2/ze1/index.xml"
/usr/bin/onsgmls:manual.xml:149:2:E: cannot find
"c:/php/phpdoc/en/internals2/ze3/index.xml"; tried
"./entities/c:/php/phpdoc/en/internals2/ze3/index.xml",
"./c:/php/phpdoc/en/internals2/ze3/index.xml"
/usr/bin/onsgmls:manual.xml:150:7:E: end tag for "part" which is not
finished
/usr/bin/onsgmls:manual.xml:156:2:E: cannot find
"c:/php/phpdoc/en/faq/general.xml"; tried
"./entities/c:/php/phpdoc/en/faq/general.xml",
"./c:/php/phpdoc/en/faq/general.xml"
/usr/bin/onsgmls:manual.xml:157:2:E: cannot find
"c:/php/phpdoc/en/faq/mailinglist.xml"; tried
"./entities/c:/php/phpdoc/en/faq/mailinglist.xml",
"./c:/php/phpdoc/en/faq/mailinglist.xml"
/usr/bin/onsgmls:manual.xml:158:2:E: cannot find
"c:/php/phpdoc/en/faq/obtaining.xml"; tried
"./entities/c:/php/phpdoc/en/faq/obtaining.xml",
"./c:/php/phpdoc/en/faq/obtaining.xml"
/usr/bin/onsgmls:manual.xml:159:2:E: cannot find
"c:/php/phpdoc/en/faq/databases.xml"; tried
"./entities/c:/php/phpdoc/en/faq/databases.xml",
"./c:/php/phpdoc/en/faq/databases.xml"
/usr/bin/onsgmls:manual.xml:160:2:E: cannot find
"c:/php/phpdoc/en/faq/installation.xml"; tried
"./entities/c:/php/phpdoc/en/faq/installation.xml",
"./c:/php/phpdoc/en/faq/installation.xml"
/usr/bin/onsgmls:manual.xml:161:2:E: cannot find
"c:/php/phpdoc/en/faq/build.xml"; tried
"./entities/c:/php/phpdoc/en/faq/build.xml",
"./c:/php/phpdoc/en/faq/build.xml"
/usr/bin/onsgmls:manual.xml:162:2:E: cannot find
"c:/php/phpdoc/en/faq/using.xml"; tried
"./entities/c:/php/phpdoc/en/faq/using.xml",
"./c:/php/phpdoc/en/faq/using.xml"
/usr/bin/onsgmls:manual.xml:163:2:E: cannot find
"c:/php/phpdoc/en/faq/html.xml"; tried
"./entities/c:/php/phpdoc/en/faq/html.xml",
"./c:/php/phpdoc/en/faq/html.xml"
/usr/bin/onsgmls:manual.xml:164:2:E: cannot find
"c:/php/phpdoc/en/faq/com.xml"; tried
"./entities/c:/php/phpdoc/en/faq/com.xml", "./c:/php/phpdoc/en/faq/com.xml"
/usr/bin/onsgmls:manual.xml:165:2:E: cannot find
"c:/php/phpdoc/en/faq/languages.xml"; tried
"./entities/c:/php/phpdoc/en/faq/languages.xml",
"./c:/php/phpdoc/en/faq/languages.xml"
/usr/bin/onsgmls:manual.xml:166:2:E: cannot find
"c:/php/phpdoc/en/faq/migration.xml"; tried
"./entities/c:/php/phpdoc/en/faq/migration.xml",
"./c:/php/phpdoc/en/faq/migration.xml"
/usr/bin/onsgmls:manual.xml:167:2:E: cannot find
"c:/php/phpdoc/en/faq/migration4.xml"; tried
"./entities/c:/php/phpdoc/en/faq/migration4.xml",
"./c:/php/phpdoc/en/faq/migration4.xml"
/usr/bin/onsgmls:manual.xml:168:2:E: cannot find
"c:/php/phpdoc/en/faq/migration5.xml"; tried
"./entities/c:/php/phpdoc/en/faq/migration5.xml",
"./c:/php/phpdoc/en/faq/migration5.xml"
/usr/bin/onsgmls:manual.xml:169:2:E: cannot find
"c:/php/phpdoc/en/faq/misc.xml"; tried
"./entities/c:/php/phpdoc/en/faq/misc.xml",
"./c:/php/phpdoc/en/faq/misc.xml"
/usr/bin/onsgmls:manual.xml:170:7:E: end tag for "part" which is not
finished
/usr/bin/onsgmls:manual.xml:174:2:E: cannot find
"c:/php/phpdoc/en/appendices/history.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/history.xml",
"./c:/php/phpdoc/en/appendices/history.xml"
/usr/bin/onsgmls:manual.xml:175:2:E: cannot find
"c:/php/phpdoc/en/appendices/migration52.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/migration52.xml",
"./c:/php/phpdoc/en/appendices/migration52.xml"
/usr/bin/onsgmls:manual.xml:176:2:E: cannot find
"c:/php/phpdoc/en/appendices/migration51.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/migration51.xml",
"./c:/php/phpdoc/en/appendices/migration51.xml"
/usr/bin/onsgmls:manual.xml:177:2:E: cannot find
"c:/php/phpdoc/en/appendices/migration5.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/migration5.xml",
"./c:/php/phpdoc/en/appendices/migration5.xml"
/usr/bin/onsgmls:manual.xml:178:2:E: cannot find
"c:/php/phpdoc/en/appendices/migration4.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/migration4.xml",
"./c:/php/phpdoc/en/appendices/migration4.xml"
/usr/bin/onsgmls:manual.xml:179:2:E: cannot find
"c:/php/phpdoc/en/appendices/migration.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/migration.xml",
"./c:/php/phpdoc/en/appendices/migration.xml"
/usr/bin/onsgmls:manual.xml:180:2:E: cannot find
"c:/php/phpdoc/en/appendices/debugger.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/debugger.xml",
"./c:/php/phpdoc/en/appendices/debugger.xml"
/usr/bin/onsgmls:manual.xml:181:2:E: cannot find
"c:/php/phpdoc/en/appendices/configure/index.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/configure/index.xml",
"./c:/php/phpdoc/en/appendices/configure/index.xml"
/usr/bin/onsgmls:manual.xml:182:2:E: cannot find
"c:/php/phpdoc/en/appendices/ini.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/ini.xml",
"./c:/php/phpdoc/en/appendices/ini.xml"
/usr/bin/onsgmls:manual.xml:183:2:E: cannot find
"c:/php/phpdoc/en/appendices/timezones.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/timezones.xml",
"./c:/php/phpdoc/en/appendices/timezones.xml"
/usr/bin/onsgmls:manual.xml:184:2:E: cannot find
"c:/php/phpdoc/en/appendices/extensions.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/extensions.xml",
"./c:/php/phpdoc/en/appendices/extensions.xml"
/usr/bin/onsgmls:manual.xml:185:2:E: cannot find
"c:/php/phpdoc/en/appendices/aliases.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/aliases.xml",
"./c:/php/phpdoc/en/appendices/aliases.xml"
/usr/bin/onsgmls:manual.xml:186:2:E: cannot find
"c:/php/phpdoc/en/appendices/reserved.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/reserved.xml",
"./c:/php/phpdoc/en/appendices/reserved.xml"
/usr/bin/onsgmls:manual.xml:187:2:E: cannot find
"c:/php/phpdoc/en/appendices/resources.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/resources.xml",
"./c:/php/phpdoc/en/appendices/resources.xml"
/usr/bin/onsgmls:manual.xml:188:2:E: cannot find
"c:/php/phpdoc/en/appendices/wrappers.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/wrappers.xml",
"./c:/php/phpdoc/en/appendices/wrappers.xml"
/usr/bin/onsgmls:manual.xml:189:2:E: cannot find
"c:/php/phpdoc/en/appendices/filters.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/filters.xml",
"./c:/php/phpdoc/en/appendices/filters.xml"
/usr/bin/onsgmls:manual.xml:190:2:E: cannot find
"c:/php/phpdoc/en/appendices/transports.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/transports.xml",
"./c:/php/phpdoc/en/appendices/transports.xml"
/usr/bin/onsgmls:manual.xml:191:2:E: cannot find
"c:/php/phpdoc/en/appendices/comparisons.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/comparisons.xml",
"./c:/php/phpdoc/en/appendices/comparisons.xml"
/usr/bin/onsgmls:manual.xml:192:2:E: cannot find
"c:/php/phpdoc/en/appendices/tokens.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/tokens.xml",
"./c:/php/phpdoc/en/appendices/tokens.xml"
/usr/bin/onsgmls:manual.xml:193:2:E: cannot find
"c:/php/phpdoc/en/appendices/userlandnaming.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/userlandnaming.xml",
"./c:/php/phpdoc/en/appendices/userlandnaming.xml"
/usr/bin/onsgmls:manual.xml:194:2:E: cannot find
"c:/php/phpdoc/en/appendices/about.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/about.xml",
"./c:/php/phpdoc/en/appendices/about.xml"
/usr/bin/onsgmls:manual.xml:195:2:E: cannot find
"c:/php/phpdoc/en/appendices/license.xml"; tried
"./entities/c:/php/phpdoc/en/appendices/license.xml",
"./c:/php/phpdoc/en/appendices/license.xml"
/usr/bin/onsgmls:manual.xml:196:2:E: cannot find
"c:/php/phpdoc/funcindex.xml"; tried
"./entities/c:/php/phpdoc/funcindex.xml", "./c:/php/phpdoc/funcindex.xml"
/usr/bin/onsgmls:manual.xml:197:2:E: cannot find
"c:/php/phpdoc/entities/missing-ids.xml"; tried
"./entities/c:/php/phpdoc/entities/missing-ids.xml",
"./c:/php/phpdoc/entities/missing-ids.xml"
/usr/bin/onsgmls:manual.xml:198:7:E: end tag for "part" which is not
finished
make: *** [test] Error 1


- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7aIAqTO+fYacSNoRAm4tAJ9M1aWqc5Cc
sIYa6z0Ph+jSeGh4EwCdF7Fu
S0CuweDdeeag7sRTkoqHa20=
=Gv7s
-----END PGP SIGNATURE-----
Edward Z. Yang

2007-09-16, 7:04 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hannes Magnusson wrote:
> Ooops. Please try the attached patch :]


Alright, here's the thing: I have a very queer cygwin setup. Most of the
utilities I use come straight from cygwin, but the PHP I use comes
straight from PHP.net's win32 compilation (this is because I keep many
versions on hand simultaneously).

What this means is that the cygwin detection implemented in the PHP
script is completely unreliable. I cannot offer any sensible
alternative, although if we ignore the "different hard-drives" edge-case
omitting the drive letter should work quite nicely for all cases.

I manually overrode the file-entities.php file to use preg_replace(),
entity file looks like:

<!ENTITY global.function-index SYSTEM
'/cygdrive/c/php/phpdoc/funcindex.xml'>

And it seems that things are working quite nicely (build hasn't
finished, but it didn't error out super quickly).

Quick note: my previous results may have been suspect, because I forgot
to run ./configure, and thus the file entity file probably wasn't updated.

- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7aioqTO+fYacSNoRApOSAJ46XHf18k8S
/Mg98lnLEIAuvJzWZACggcMl
zGO5vPl5rFNThaEd4PkUCP8=
=Eb5c
-----END PGP SIGNATURE-----
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com