Date: Sun, 18 Nov 2001 06:55:45 -0800 (PST) From: Mike Harding <mvh@ix.netcom.com> To: clefevre@citeweb.net Cc: freebsd-doc@freebsd.org, nik@freebsd.org Subject: Re: empty index.html in /usr/www? Message-ID: <20011118145545.CA9F61353B@netcom1.netcom.com> In-Reply-To: <200111180319.fAI3Jqm37189@gits.dyndns.org> (message from Cyrille Lefevre on Sun, 18 Nov 2001 04:19:50 %2B0100 (CET)) References: <200111180319.fAI3Jqm37189@gits.dyndns.org>
index | next in thread | previous in thread | raw e-mail
OK, first experiment - I log in as root, so all SGML* variables are
unset. Same result.
I also commented the 'tidy' run out of the makefile, same result.
I think that there is something wrong with recent libxml2/libxslt
ports maybe? KDE doesn't build right now either. Are you running
with current ports? Mine are current as of today...
I will try setting the SGML* environment later today as you indicate
below and see what happens.
- Mike H.
Date: Sun, 18 Nov 2001 04:19:50 +0100 (CET)
Cc: freebsd-doc@freebsd.org, nik@freebsd.org
Reply-To: clefevre@citeweb.net
From: Cyrille Lefevre <clefevre@citeweb.net>
Organization: ACME
X-SpamBouncer: 1.4 (8/24/01)
X-SBNote: From Admin
X-SBNote: FROM_DAEMON/Listserv
X-SBClass: Admin
Mike Harding wrote:
>
> I have been building the freebsd web site locally for a while - right
> now the main index.html is empty. The makefile is outputting the
> file, but the result is empty... 0 bytes.
>
> ...
> /usr/local/bin/xsltproc -nonet -o index.html /usr/www/en/index.xsl /usr/www/en/news/news.xml
> ...
I can't reproduce the problem using the setting you give us.
could you send us your plain environment obtained from the
`env' command ?
did you tried the command manually ? just to see if it isn't a tidy problem ?
can you try it w/o SGML_CATALOG_FILES defined (unset SGML_CATALOG_FILES) ?
> I have
>
> SGML_ROOT=/usr/local/share/sgml
> SGML_CATALOG_FILES=${SGML_ROOT}/jade/catalog
> SGML_CATALOG_FILES=${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES
> SGML_CATALOG_FILES=${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES
> SGML_CATALOG_FILES=${SGML_ROOT}/docbook/catalog:$SGML_CATALOG_FILES
> SGML_CATALOG_FILES=/usr/doc/share/sgml/catalog:$SGML_CATALOG_FILES
> export SGML_CATALOG_FILES
the order defined in /usr/doc/share/mk/doc.docbook.mk is different
than yours, could you try the following setting :
SGML_CATALOG_FILES=${SGML_ROOT}/docbook/dsssl/modular/catalog
SGML_CATALOG_FILES=$SGML_CATALOG_FILES:${SGML_ROOT}/iso8879/catalog
SGML_CATALOG_FILES=$SGML_CATALOG_FILES:${SGML_ROOT}/docbook/catalog
SGML_CATALOG_FILES=$SGML_CATALOG_FILES:${SGML_ROOT}/html/catalog
SGML_CATALOG_FILES=$SGML_CATALOG_FILES:${SGML_ROOT}/jade/catalog
# first try w/o the following ones, then w/.
DOC_ROOT=/usr/doc
SGML_CATALOG_FILES=${DOC_ROOT}/share/sgml/catalog:$SGML_CATALOG_FILES
SGML_CATALOG_FILES=${DOC_ROOT}/en_US.ISO8859-1/share/sgml/catalog:$SGML_CATALOG_FILES
> in my .profile and am using a completely up-to-date docproj port - is
> there something else I am missing? All of the SGML stuff seems to
> build fine.
PS :
the paths order in SGML_CATALOG_FILES is really important and
iso8879 *MUST* be before docbook (docbook/4.1). this has been
fixed in rev 1.55 of doc.docbook.mk.
well, I've just reread the fdp-primer, and it seems that sections
3.2.1 and 3.3.1.2 are wrong about that.
could someone w/ more knowledge than mine confirm of infirm what I'm
saying and send a PR, if needed, to fix the documentation ? thanks.
Cyrille.
--
Cyrille Lefevre mailto:clefevre@citeweb.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011118145545.CA9F61353B>
