Subject: Re: Problem building pkgsrc guide
To: None <>
From: Hiroki Sato <>
List: netbsd-docs
Date: 04/24/2005 01:00:49
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thomas Klausner <> wrote
  in <>:

wi> On Sat, Apr 23, 2005 at 10:50:18AM +0900, Hiroki Sato wrote:
wi> >  Hmm, did you define $SGML_CATALOG_FILES somewhere?  For example, setting
wi> >  SGML_CATALOG_FILES to "/usr/pkg/share/xml/catalog" can break the build.
wi> Yes, I set it to
wi> 	/usr/pkg/share/xml/catalog:/usr/pkg/share/sgml/catalog:/home/wiz/cvs/htdocs/share/xml/catalog
wi> and then forgot about it. Thanks for the hint, when I remove that
wi> from the environment, it works.
wi> Is this setting wrong? Or should the package perhaps override the
wi> environment variable?

 Well, you should remove /usr/pkg/share/xml/catalog because it is
 an XML catalog, not an SGML catalog.  Jade/OpenJade and OpenSP use
 SGML catalog via SGML_CATALOG_FILES, and xsltproc and other XML
 toolchains use XML catalog via XML_CATALOG_FILES.  These two catalog
 files are not compatible with each other, so if an XML catalog is
 specified in SGML_CATALOG_FILES, an error occurs.  In most cases,
 you do not need to set {SGML,XML}_CATALOG_FILES manually.

 And just in case, I committed a workaround for the htdocs/ tree.

| Hiroki SATO

Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

Version: GnuPG v1.4.0 (FreeBSD)