Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 04:19:50 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        freebsd-doc@freebsd.org, nik@freebsd.org
Subject:   Re: empty index.html in /usr/www?
Message-ID:  <200111180319.fAI3Jqm37189@gits.dyndns.org>
In-Reply-To: <20011117175333.06E211330F@netcom1.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111180319.fAI3Jqm37189>