Subject: textproc/xmlto does not build on Mac OS X
To: None <pkgsrc-users@NetBSD.org>
From: Matt Fleming <mjf@NetBSD.org>
List: pkgsrc-users
Date: 09/03/2007 14:12:16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've run into the following problem when trying to build xmlto on my Mac OS X
machine. Do I need to add something to pkg/etc/xml/catalog? I'm not at all
familiar with XML catalogs. Any help at all would be appreciated.
- --mjf
===> Building for xmlto-0.0.18nb4
/Volumes/NetBSD/pkg/bin/bmake all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I. -no-cpp-precomp -I/Volumes/NetBSD/pkg/include -I/usr/include -pipe -O2 -I/Volumes/NetBSD/pkg/include -I/usr/include -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; fi
gcc -pipe -O2 -I/Volumes/NetBSD/pkg/include -I/usr/include -L/Volumes/NetBSD/pkg/lib -L/usr/lib -o xmlif/xmlif xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do FORMAT_DIR=./format XSL_DIR=./xsl bash ./xmlto -o man/man1 man ./doc/$xml ; done || ( RC=$?; cat ./FAQ; exit $RC )
xmlto: input does not validate (status 3)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlif.xml does not validate
xmlto: input does not validate (status 3)
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlto.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18/./doc/xmlto.xml does not validate
Q: I'm trying to build xmlto on my Debian box, but it doesn't work.
A: If you get `Attempt to load network entity' errors when building
xmlto, your system does not have the required support for XML
Catalogs
(http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
In particular, Debian has no support for these. Try the Fedora
Project <http://fedora.redhat.com>.
*** Error code 3
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18
*** Error code 1
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/textproc/xmlto/work/xmlto-0.0.18
*** Error code 1
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/textproc/xmlto
*** Error code 1
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/textproc/xmlto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iQEVAwUBRtwIL63y1f69VxYbAQLXzwgAnkvIgQF5xm5ttyoMtRRSsaHYoIMw/XaB
bw+GgQcj/lgIbeOGX31eySfRNnez1L8C7erEFTwssRDtBISmZvkNV4tgJL3Yg5d0
d79U3YgJdAlkvM+/S3tJ6SfcMj1BnYNFr5hioRSUxIDXBDdM/OVAFiDVWPb48KEU
soinhZPuQBhanpL4PMuzorXZ8TlU64rg1N/E8nr7b0vkAS+dXOLjFEZJldzh+m6g
DCgUmJjbl9m9kXtbQxqiN6hI7M3SaEZdYVQXnXoADWD01lAuG+FusILmJKyLdhBp
X67Y4B6SCy3mOLMj7roos2C4aNsx33WkjF27IYwuD5O337cgVyaPWg==
=GBKW
-----END PGP SIGNATURE-----