GNOME Bugzilla – Bug 573685
build with --without-gnome --enable-gtk-doc fails
Last modified: 2012-12-12 10:19:36 UTC
Please describe the problem: libsoup-2.25.91$ ./configure --without-gnome --enable-gtk-doc ... libsoup-2.25.91$ make ... gtk-doc: Linking scanner libtool: link: cannot find the library `../../libsoup/libsoup-gnome-2.4.la' or unhandled argument `../../libsoup/libsoup-gnome-2.4.la' Linking of scanner failed: make[3]: *** [scan-build.stamp] Error 1 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 129859 [details] [review] fix the build This fixes the build, but then the generated docs will be slightly incorrect (since, eg, it will still include SoupCookieJarSqlite, but it won't recognize it as a GObject). So I'm not sure if this is the right fix; it might be better to say "you can't --enable-gtk-doc unless you build --with-gnome". Or else do more hacking to the docs to remove the wrong/unavailable bits when building without GNOME.
Created attachment 129867 [details] [review] Alternate patch This patch fixes the docs fully (from scratch, not with the earlier patch). You'll need to move docs/reference/libsoup-2.4-docs.sgml to docs/reference/libsoup-2.4-docs.sgml.in before applying it. It specifically removes all of the Gnome docs on non-Gnome builds. Also, docs/reference/libsoup-2.4.types can probably be removed entirely, as this rebuilds them automagically from the available set of types for the current build.
*** Bug 583409 has been marked as a duplicate of this bug. ***
Created attachment 137260 [details] [review] Updated version of patch for current SVN (In reply to comment #2) > Created an attachment (id=129867) [edit] > Alternate patch > > This patch fixes the docs fully (from scratch, not with the earlier patch). > You'll need to move docs/reference/libsoup-2.4-docs.sgml to > docs/reference/libsoup-2.4-docs.sgml.in before applying it. It specifically > removes all of the Gnome docs on non-Gnome builds. Also, > docs/reference/libsoup-2.4.types can probably be removed entirely, as this > rebuilds them automagically from the available set of types for the current > build. Instructions as before, but updated for current SVN HEAD. Any chances of this getting applied?
Still valid with 2.32.2
This is now fixed in master, because everything in libsoup-gnome is now deprecated and removed from the docs.