gtkdoc problem
Erwin Rol
mailinglists at erwinrol.com
Sun Jul 6 11:46:59 UTC 2008
On Tue, 2008-07-01 at 19:13 -0400, Todd Zullinger wrote:
> Erwin Rol wrote:
> > I ran into problems with some stuff i was working on, but to be sure it
> > isn't my own poor automake knowledge I just downloaded the official glib
> > tar.gz (not rpm) sources and used those to test (with the same result).
>
> Okay. I grabbed glib-2.16.3 and successfully built it with:
>
> ./configure --enable-gtk-doc && make
>
> I tried adding --verbose to the xsltproc call in gtkdoc-mkhtml but it
> made it take longer than I was willing to wait. Instead, I used
> strace on xsltproc to see what files it was reading.
>
> Anyway, perhaps you'd like to poke through the output and see what
> files you might be missing. The gzipped strace output is at:
>
> http://tmz.fedorapeople.org/tmp/xsltproc.strace.gz
>
> The trivial diff for the gtkdoc-mkhtml change is:
>
> --- gtkdoc-mkhtml.orig 2008-01-08 10:39:11.000000000 -0500
> +++ gtkdoc-mkhtml 2008-07-01 17:33:05.000000000 -0400
> @@ -42,7 +42,7 @@
> fi
>
> if $is_xml; then
> - /usr/bin/xsltproc --nonet --xinclude \
> + strace -o /tmp/xsltproc.strace /usr/bin/xsltproc --verbose --nonet --xinclude \
> --stringparam gtkdoc.bookname $module \
> --stringparam gtkdoc.version "1.9" \
> $gtkdocdir/gtk-doc.xsl $document || exit $?
>
> I grepped the strace for files it was opening and I think they boiled
> down to coming from the following packages:
>
> docbook-dtds-1.0-35.fc9.noarch
> docbook-style-xsl-1.73.2-9.fc9.noarch
> gtk-doc-1.9-4.fc9.noarch
> xml-common-0.6.3-23.fc9.noarch
Well I fixed the problem, but I have no idea what was wrong. The fix
was uninstall gtkdoc and several docbook rpms, and reinstall them, and
after that tings worked fine. The install is a x86_64 clean F9, not some
F8->F9 update, so i have no idea why it didn't work before.
- Erwin
More information about the users
mailing list