DocBook 4.1.2 XML Weirdness (gtk-doc install fails)
Baz
brian.ewins at gmail.com
Fri Jun 8 16:04:38 PDT 2007
I'm getting more gtk-doc weirdness, and I only installed it earlier
tonight. The error was:
I/O error : Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
compilation error: file /opt/local/share/gtk-doc/data/gtk-doc.xsl line
6 element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
^^ whats interesting about this error is that its nothing to do with
the catalog, since the entities that arent resolved are all URLs. The
failing command was:
gtkdoc-mkhtml cairo ../cairo-docs.xml
(I was building cairo's docs from git with 'make doc'.)
So I tried this:
sh -x `which gtkdoc-mkhtml` cairo ../cairo-docs.xml
and got:
... after some faff
+ /opt/local/bin/xsltproc --nonet --xinclude --stringparam
gtkdoc.bookname cairo --stringparam gtkdoc.version 1.8
/opt/local/share/gtk-doc/data/gtk-doc.xsl ../cairo-docs.xml
... then the error.
The problem is --nonet. The combination of nonet and absolute urls
(rather than local catalog references) obviously can't work.
Any idea how I could have ended up with this combo? Is there something
in macports filling in absolute urls without turning off --nonet?
Cheers,
Baz
On 05/06/07, Boey Maun Suang <boeyms at macports.org> wrote:
> Hi Ryan,
>
> > Thank you for the response. I thought I searched for a reference
> > to this issue, but apparently not well enough. ;-)
>
> Well, I'd only just sent the email I mentioned when I gave you the
> link, so it's not surprising that you hadn't seen it :-)
>
> I've committed the fix for your problem in revision 25899 [1], so you
> should be able to upgrade the docbook-xml-4.1.2 port once the
> PortIndex has been updated on the server (in at most 12 hours) and
> gtk-doc should then install. Let me (and the list) know if it doesn't.
>
> > I really appreciate all the great work you guys have done here.
> > After years, I finally got work to buy me a Mac and I'm happy to
> > see that there is a community that takes advantage of it's BSD
> > underpinnings.
>
> Thanks for the thanks! I'm sure that you're far from the only one
> attracted to Macs now that the OS is based on UNIX -- though I must
> admit I bought my first Mac simply because it was the cheapest laptop
> with a combo drive at the time :-)
>
> Kind regards,
>
>
> Maun Suang
>
> [1] http://trac.macports.org/projects/macports/changeset/25899
>
> --
> Boey Maun Suang (Boey is my surname)
> Email: boeyms at macports dot org
>
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
More information about the macports-users
mailing list