Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3026

Summary: SGMLTools installations fails to point to .cat file correctly
Product: Gentoo Linux Reporter: jerf
Component: New packagesAssignee: Matthew Turk (RETIRED) <satai>
Status: RESOLVED FIXED    
Severity: normal CC: azarah
Priority: High    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jerf 2002-05-25 11:05:59 UTC
I installed all the DocBook ebuilds yesterday, but I couldn't get sgmltools to
process any .SGML files correctly; it complained with the following:

IOError: Couldn't resolve pubid ["-//SGMLtools//DOCUMENT Docbook Style Sheet for
Print//EN"]

It turns out the reason for this is that the sgmltools catalog, located at
/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat, is not correctly being
placed into the SGML_CATALOG_FILES env variable. I am not familiar enough with
Gentoo's env system to know exactly how to fix it correctly, but after adding
this catalog file to the env variable manually, sgmltools can correctly process
DocBook files. So there is an easy workaround. The script "gensgmlenv" may be
involved.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-01 13:01:09 UTC
Ok, see if resetting stuff to defaults, and then doing:

# install-catalog --add /etc/sgml/sgml-docbook.cat \
    /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat

Fixes the problem.
Comment 2 Matthew Turk (RETIRED) gentoo-dev 2002-09-02 21:21:42 UTC
-r5 should fix this problem, in the same manner as all other SGML tools. 
Comment 3 Matthew Turk (RETIRED) gentoo-dev 2002-09-02 21:36:38 UTC
-r5 should fix this problem, adding the catalog in the same manner as all other SGML tools.