Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2001 06:49:40 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: missing iso-amsa.gml in textproc/docproj?
Message-ID:  <200111040549.fA45nes86406@gits.dyndns.org>
In-Reply-To: <20011101164827.M70817@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Stijn Hoop wrote:
> 
> having freshly installed textproc/docproj & all its dependencies,
> I still encounter errors while using 'make' in /usr/doc:
> 
> Script started on Thu Nov  1 16:43:54 2001
> Password:
> ===> en_US.ISO8859-1
> ===> en_US.ISO8859-1/articles
> ===> en_US.ISO8859-1/articles/committers-guide
> /usr/local/bin/jade -V nochunks -ioutput.html -d /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../share/sgml/default.dsl  -ioutput.html.images  -V %generate-article-toc% -D /usr/obj/usr/doc/en_US.ISO8859-1/articles/committers-guide -c /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../en_US.ISO8859-1/share/sgml/catalog -c /usr/doc/en_US.ISO8859-1/articles/committers-guide/../../../share/sgml/catalog  -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/catalog  -c /usr/local/share/sgml/jade/catalog  -t sgml /usr/doc/en_US.ISO8859-1/articles/committers-guide/article.sgml > article.html ||  (/bin/rm -f article.html && false)
> /usr/local/bin/jade:/usr/local/share/sgml/docbook/4.1/dbcent.mod:54:0:E: cannot find "iso-amsa.gml"; tried "/usr/local/share/sgml/docbook/4.1/iso-amsa.gml", "/usr/obj/usr/doc/en_US.ISO8859-1/articles/committers-guide/iso-amsa.gml"
[snip]
> 
> By which package are these files installed? I can't find them in /usr/doc,
> and a quick grep of the pkg-plist's of textproc ports shows this:
> 
> [stijn@pcwin002] </usr/ports/textproc> grep iso-amsa.gml */pkg-plist
> gmat/pkg-plist:share/gmat/sgml/ISO_8879-1986/entities/iso-amsa.gml
> 
> which isn't listed as a dependency. I do have the environment variables set.
> What am I doing wrong here?

found it. iso8879/catalog *MUST* be referenced before docbook/catalog.
applying the following patch should solve the problem.

Index: doc.docbook.mk
===================================================================
RCS file: /home/ncvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.52
diff -u -r1.52 doc.docbook.mk
--- doc.docbook.mk	2001/10/29 09:21:53	1.52
+++ doc.docbook.mk	2001/11/04 05:14:03
@@ -116,6 +116,7 @@
 FREEBSDCATALOG=	${DOC_PREFIX}/share/sgml/catalog
 LANGUAGECATALOG=${DOC_PREFIX}/${LANGCODE}/share/sgml/catalog
 
+ISO8879CATALOG=	${PREFIX}/share/sgml/iso8879/catalog
 DOCBOOKCATALOG=	${PREFIX}/share/sgml/docbook/catalog
 DSSSLCATALOG=	${PREFIX}/share/sgml/docbook/dsssl/modular/catalog
 COLLATEINDEX=	${PREFIX}/share/sgml/docbook/dsssl/modular/bin/collateindex.pl
@@ -123,8 +124,9 @@
 IMAGES_LIB?=
 
 CATALOGS=	-c ${LANGUAGECATALOG} -c ${FREEBSDCATALOG} \
-		-c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} \
-		-c ${JADECATALOG} ${EXTRA_CATALOGS:S/^/-c /g}
+		-c ${DSSSLCATALOG} -c ${ISO8879CATALOG} \
+		-c ${DOCBOOKCATALOG} -c ${JADECATALOG} \
+		${EXTRA_CATALOGS:S/^/-c /g}
 SGMLFLAGS+=	-D ${CANONICALOBJDIR}
 JADEOPTS=	${JADEFLAGS} ${SGMLFLAGS} ${CATALOGS}
 

should a PR be submitted ?

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?200111040549.fA45nes86406>