/usr/local/share/sgml/catalog.ports does not exist

David Kelly dkelly at HiWAAY.net
Thu Jul 3 10:40:38 PDT 2003

Installed 5.1-RELEASE clean from CDROM on new HD and new filesystems 
earlier this week. Installed XFree86 and KDE from ports during the 
initial install. Installed /usr/ports and /usr/src later via CVS and 
am up to date as of yesterday.

Attempting to add certain ports that I'm missing got stuck on 
/usr/ports/news/pan. It breaks while installing docbook stuff for lack 
of /usr/local/share/sgml/catalog.ports.

===>   docbook-xml-4.2_1 depends on file: /usr/local/bin/xmlcatmgr - found
for file in `unzip -l /usr/ports/distfiles/docbook-xml-4.2.zip|/usr/bin/awk '/:[0-9].*[^\/]$/{print $4}'`; do  install  -o root -g wheel -m 444 /usr/ports/textproc/docbook-xml/work/$file /usr/local/share/xml/docbook/4.2/$file;  done
===>   Generating temporary packing list
xmlcatmgr: catalog /usr/local/share/sgml/catalog.ports does not exist
*** Error code 1


Stop in /usr/ports/news/pan.
** Command failed [exit code 1]: /usr/bin/script -qa /home/dkelly/tmp/portinstall37524.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! news/pan      (unknown build error)

Attempts to locate whoever creates catalog.ports have failed. 
Searching my old 4.8 installation indicates it didn't exist there 
either. But its mentioned quite often in /usr/ports/textproc/*/Makefile.

So how do I get past this error?

David Kelly N4HHE, dkelly at hiwaay.net
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

More information about the freebsd-questions mailing list