Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3026 - SGMLTools installations fails to point to .cat file correctly
Summary: SGMLTools installations fails to point to .cat file correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-25 11:05 UTC by jerf
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.