Re: gtkdoc problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erwin Rol wrote:
> I have a problem with gtkdoc on Fedora 9. It doesn't want to resolve
> external references like;
> 
> <?xml version="1.0"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
> 
> "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
> ]>
> 
> After trying to see if it was a network problem i noticed that there was
> never any network traffic for that URL. With strace i noticed it tried
> to stat() the URL and that of course returns an error. 
> 
> When i than looked into gtkdoc-mkhtml i found a --nonet option was used
> for xsltproc. When i removed that option everything worked fine. (I also
> tried this with the glib sources, not just my own stuff).
> 
> The following patch does the trick;
> 
> --- /usr/bin/gtkdoc-mkhtml.orig	2008-07-01 15:45:25.000000000 +0200
> +++ /usr/bin/gtkdoc-mkhtml	2008-07-01 15:45:34.000000000 +0200
> @@ -42,7 +42,7 @@
> fi
> 
> if $is_xml; then
> -  /usr/bin/xsltproc --nonet --xinclude \
> +  /usr/bin/xsltproc --xinclude \
>       --stringparam gtkdoc.bookname $module \
>       --stringparam gtkdoc.version "1.9" \
>       $gtkdocdir/gtk-doc.xsl $document || exit $?
> 
> 
> But somehow this can't be the right solution :-) anybody know what the
> real fix for the problem is ?

You're probably missing a dockbook package.  I believe it may be
docbook-dtds (which provides docbookx.dtd), but I'm not sure.  I have
run into this problem before and it was invariably a missing package
with needed docbook dtd's or other parts.

Hopefully that gets you going in the right direction.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Abstainer, n.:
    A weak person who yields to the temptation of denying himself a
pleasure.
    -- Ambrose Bierce, "The Devil's Dictionary"

Attachment: pgpXw6LQchd3B.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux