Re: Building manual on OS X
| From: | Gabor Hojtsy | Date: | Sat, 03 Aug 2002 10:23:43 +0000 |
| Subject: | Re: Building manual on OS X | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969347782@lists.php.net to get a copy of this message | ||
> Checking this out, I noticed autoconf doesn't find openjade's nsgmls
> without help (changing it to test for availability of "onsgmls" would
> cure this, also shouldn't configure warn if the executable is not
> found?).
Yes this should be fixed. I never worked with openjade, and Hartmut,
who added the tests does not have these problems with openjade...
> So I expected there's no problems. "make howto", however still
> printed everything to the screen. I then noticed configure didn't
> find the docbook.xml by itself so I told it where to find it.
docbook.xml??? Do you talk about howto/docbook.xml? If it is not
found, then none of the others are found...
> Now make test prints:
>
> /sw/bin/onsgmls -i lang-en -D . -s ./dtds/dbxml-4.1.2/phpdocxml.dcl
manual.xml
> /sw/bin/onsgmls:manual.xml:37:1:E: cannot find
> "file:////Users/sulka/phpdocs/phpdoc/en/bookinfo.xml"; tried
> "entities/file:////Users/sulka/phpdocs/phpdoc/en/bookinfo.xml",
> "./file:////Users/sulka/phpdocs/phpdoc/en/bookinfo.xml"
>
> And continues with a long list of other files where it doesn't seem
> to understand the file:// notation.
The file:/// notation is only used, if "XSL mode" is on, and that is
only on, if you specified --with-xsl=yes or --with-xsl=pathhere,
else the entity file names in entities/file-entities.ent should not
contain file:///
> Make howto printout starts with
>
> /sw/bin/openjade -D . -wno-idref -i lang-en -c ./entities/ISO/catalog
> -c ./dsssl/docbook/catalog -d dsssl/howto.dsl -V use-output-dir -t
> sgml ./dtds/dbxml-4.1.2/phpdocxml.dcl ./howto/howto.xml
> /sw/bin/openjade:dsssl/howto.dsl:1:73:W: cannot generate system
> identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN"
> /sw/bin/openjade:dsssl/howto.dsl:8:0:E: reference to entity
> "STYLE-SHEET" for which no system identifier could be generated
> /sw/bin/openjade:dsssl/howto.dsl:1:0: entity was defined here
> /sw/bin/openjade:dsssl/howto.dsl:8:0:E: DTD did not contain element
> declaration for document type name
> /sw/bin/openjade:dsssl/howto.dsl:2:0:E: notation "DSSSL" for entity
> "docbook.dsl" undefined
>
> Which I guess means openjade doesn't find the DSSSL definition file?
You should see if the -c switch is supported by openjade or not...
As you can see above, the DSSSL catalog is imported to the catalog
files list with the command line argument -c.
But I don't know really, where "-//James Clark//DTD DSSSL Style Sheet//EN"
should be defined...
Goba