Subject: pkg/19846: libglade2 install looks in /usr/X11R6 instead of /usr/pkg for xml stuff
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dgriffi@cs.csubak.edu>
List: netbsd-bugs
Date: 01/13/2003 23:54:32
>Number:         19846
>Category:       pkg
>Synopsis:       libglade2 install looks in /usr/X11R6 instead of /usr/pkg for xml stuff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 13 23:55:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Griffith
>Release:        1.6
>Organization:
>Environment:
NetBSD zaphod 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386

>Description:
install -d -o root -g wheel -m 555 /usr/X11R6/lib/libglade/2.0
/usr/X11R6/bin/xmlcatmgr -c /usr/X11R6/share/xml/catalog add "system"  "http://glade.gnome.org/glade-2.0.dtd"  /usr/X11R6/share/xml/libglade/glade-2.0.dtd
/usr/X11R6/bin/xmlcatmgr: not found
*** Error code 127

Stop.
make: stopped in /usr/pkgsrc/devel/libglade2
*** Error code 1

[so I made /usr/X11R6/bin/xmlcatmgr a symlink to /usr/pkg/bin/xmlcatmgr and did 'make install' again.]

install -d -o root -g wheel -m 555 /usr/X11R6/lib/libglade/2.0
/usr/X11R6/bin/xmlcatmgr -c /usr/X11R6/share/xml/catalog add "system"  "http://glade.gnome.org/glade-2.0.dtd"  /usr/X11R6/share/xml/libglade/glade-2.0.dtd
xmlcatmgr: catalog /usr/X11R6/share/xml/catalog does not exist
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libglade2

[touched /usr/X11R6/share/xml/catalog and install completed with no further complaints.]
>How-To-Repeat:
cd /usr/pkgsrc/devel/libglade2
make

[so far so good]

make install

[watch errors appear]
>Fix:
Make sure ${PREFIX} is set to $PATHSTUFF/pkg/ rather than $PATHSTUFF/X11R6/ ?
>Release-Note:
>Audit-Trail:
>Unformatted: