After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 77833 - 1.99.10 - make install tries to install xml catalog in system directories regardless of prefix.
1.99.10 - make install tries to install xml catalog in system directories reg...
Status: RESOLVED FIXED
Product: libglade
Classification: Deprecated
Component: general
1.99.x
Other OSF/1
: Normal enhancement
: ---
Assigned To: James Henstridge
James Henstridge
: 134231 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-06 08:04 UTC by Gareth Pearce
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Gareth Pearce 2002-04-06 08:04:42 UTC
I am building gnome2 on an OSF/1 4.0d box, however I dont have root
permissions.  I have my ROOTCATALOG env variable set to be under my home
directory, and configured libglade with --prefix=$HOME ... however it tries
to install the xml catalog into the system directories, which I dont have
access to.  I think that it should really use the prefix from building - or
at least understand the environment variable (which I am under the
impression is the correct one)
Comment 1 James Henstridge 2002-04-06 13:33:17 UTC
I think you should be able to set the XMLCATALOG environment variable
to get this to work.  Is ROOTCATALOG a standard for XML catalogs?  I
couldn't find any reference to it in the libxml2 sources.

I use /etc/xml/catalog, as that is where libxml2 looks for the catalog.

If this fixes your problem, then I will mark this report as NOTABUG.
Comment 2 Gareth Pearce 2002-04-06 14:37:48 UTC
well I sort of am grabbing names of environment variables from the air
a bit (although if my memory is correct I got ROOTCATALOG out of the
install scripts for the xml dtd?) - since it seems pretty predominant
to use the system directories (unfortunate for me:P)  I have added
XMLCATALOG to my env as well - however it doesnt fix the matter.
XMLCATALOG gets overwritten by the makefile - and configure doesnt
know to do anything about setting it in the makefile based on the env
variable, so it just leaves it as default in makefile.in.  Or at least
thats my take on the matter - my experience with makefile and
configure is not great.
If XMLCATALOG ends up fixing things that would be fine - yet another
env variable isnt going to kill me.
Comment 3 James Henstridge 2002-04-10 13:32:14 UTC
The build should be set up to ignore errors when trying to add to the
catalog (if it can't modify /etc/xml/catalog, then it should continue).

The catalog entries are not required for normal operation of libglade
--  they are only added so that developers can validate their glade
files (DTD validation is not performed when libglade loads a glade file).
Comment 4 Gareth Pearce 2002-04-11 06:27:27 UTC
yes it ignores it - thats why I placed this as only minor severity.
maybe enhancement is a better level.  I manually ran the command
myself so it doesnt bother me, just looking out for any future users
in my category of limited access on their development machine.
Comment 5 Jeff Waugh 2003-04-24 13:26:19 UTC
Also found this... Perhaps there should be a --with-xml-catalog
configure option? Setting XMLCATALOG does work, however.
Comment 6 Jeff Waugh 2003-04-24 13:30:15 UTC
Scratch that, it's a stupid idea (unless it was enabled somehow via
gtkdocize, but that sounds like crack). I think this is NOTABUG. :-)
Comment 7 James Henstridge 2004-11-09 07:06:31 UTC
Okay, I copied over the macro used in gtk-doc, so passing
--with-xml-catalog=FILENAME should change the catalog that it tries to install into.
Comment 8 James Henstridge 2004-11-09 07:07:02 UTC
*** Bug 134231 has been marked as a duplicate of this bug. ***