Subject: pkg/23514: pkgsrc/irx: xmlcatmgr breaks due to using sgi version of awk
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <email@example.com>
Date: 11/20/2003 20:50:56
>Synopsis: pkgsrc/irx: xmlcatmgr breaks due to using sgi version of awk
>Arrival-Date: Thu Nov 20 20:51:00 UTC 2003
>Originator: Bas van Oostveen
>Release: pkgsrc for irix
IRIX Washu 6.5 6.5.19m IP32
when trying to compile scrollkeeper on pkgsrc for irix
i encounterd a docbook-xml error.
turns out that my catalog files where empty and xmlcatmgr
produced 2 warning when installing docbook-xml onto the system
xmlcatmgr uses a hardcoded path to awk (/usr/bin/awk) which
resolves to the SGI Irix version of awk. This version is incompatible
with the awk scripts used by xmlcatmgr.
the fix is to use another version of awk (gawk) on irix systems.
does changing the path in /usr/pkg/bin/xmlcatmgr
a better solution would be if xmlcatmgr would use the 'best' awk provided on the system and in anycase not versions which are the broken with xmlcatmgr.
that would also fix problems with other systems where
/usr/bin/awk is incompatible with xmlcatmgr.