From owner-freebsd-doc Sun Nov 18 6:57:52 2001 Delivered-To: freebsd-doc@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id CD31B37B405; Sun, 18 Nov 2001 06:57:47 -0800 (PST) Received: from pool0312.cvx11-bradley.dialup.earthlink.net ([209.178.189.57] helo=netcom1.netcom.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 165TNv-0005kZ-00; Sun, 18 Nov 2001 09:57:33 -0500 Received: by netcom1.netcom.com (Postfix, from userid 1000) id CA9F61353B; Sun, 18 Nov 2001 06:55:45 -0800 (PST) From: Mike Harding To: clefevre@citeweb.net Cc: freebsd-doc@freebsd.org, nik@freebsd.org In-reply-to: <200111180319.fAI3Jqm37189@gits.dyndns.org> (message from Cyrille Lefevre on Sun, 18 Nov 2001 04:19:50 +0100 (CET)) Subject: Re: empty index.html in /usr/www? References: <200111180319.fAI3Jqm37189@gits.dyndns.org> Message-Id: <20011118145545.CA9F61353B@netcom1.netcom.com> Date: Sun, 18 Nov 2001 06:55:45 -0800 (PST) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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