Date: 10/17/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions mhash.xml"
- Previous message: Nikos Mavroyanopoulos: "[PHP-DOC] cvs: phpdoc /en/functions mcrypt.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Derick Rethans wrote:
>when trying to build the php docs on an OpenBSD 'puter, I get the
>floowing error from jade:
>jade:./html.dsl:1:73:W: cannot generate system identifier for public
>text "-//James Clark//DTD DSSSL Style Sheet//EN"
>jade:./html.dsl:7:0:E: reference to entity "STYLE-SHEET" for which no
>system identifier could be generated
>jade:./html.dsl:1:0: entity was defined here
>
>Can somebody explain this to me?
I'm afraid you wont have much luck on OpenBSD 2.7, as the docbook
port there is quite out of date. I updated it last month, and
also added the modular stylesheets and jadetex. If you upgrade
to -current, or wait for 2.8, you can just install the following
ports: textproc/docbook, print/jadetex, textproc/openjade and you
can compile the phpdoc system without many problems.
One thing: the current configure system is tied to using jade,
and doesnt allow for openjade. Attached is a patch to configure.in
with allows a --with-dsssl=openjade (or any other dsssl parser if
such exist). OpenBSD doesnt have jade support at all these days,
so if someone could review/commit this it would be greatly appreciated.
regards,
-- Anil Madhavapeddy, <anil <email protected>>
Index: configure.in =================================================================== RCS file: /repository/phpdoc/configure.in,v retrieving revision 1.41 diff -u -r1.41 configure.in --- configure.in 2000/08/31 20:26:46 1.41 +++ configure.in 2000/10/17 19:49:36 @@ -171,14 +171,28 @@ esac AC_SUBST(ENCODING)
+DEFAULTJADE=jade +AC_ARG_WITH(dsssl, + [ --with-dsssl=PROG DSSSL parser to use (default=jade) ], + [ if [ test "yes" = $withval ]; + then JADEPROG=$DEFAULTJADE; + else JADEPROG=$withval; + fi ], + [ JADEPROG=$DEFAULTJADE ] )
+AC_PATH_PROG(JADEPATH, $JADEPROG, no) +if [ test $JADEPATH = "no" ]; then + AC_MSG_ERROR(unable to locate the DSSSL parser: $JADE) +fi + +JADE=$JADEPATH +NSGMLS=nsgmls + if test "$ENCODING" = "UTF-8"; then - JADE='SP_ENCODING=XML SP_CHARSET_FIXED=YES jade' - NSGMLS='SP_ENCODING=XML SP_CHARSET_FIXED=YES nsgmls' -else - JADE='jade' - NSGMLS='nsgmls' + JADE="SP_ENCODING=XML SP_CHARSET_FIXED=YES $JADE" + NSGMLS="SP_ENCODING=XML SP_CHARSET_FIXED=YES $NSGMLS" fi + AC_SUBST(JADE) AC_SUBST(NSGMLS)
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions mhash.xml"
- Previous message: Nikos Mavroyanopoulos: "[PHP-DOC] cvs: phpdoc /en/functions mcrypt.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

