GNOME Bugzilla – Bug 583409
Cannot build gtk-docs if gnome is disabled
Last modified: 2009-05-21 12:59:13 UTC
Building libsoup-2.26.2 on OS X 10.4/ppc with gtk-doc-1.11 installed... 1. ./configure --without-gnome --enable-gtk-doc --disable-static --disable-dependency-tracking 2. make libsoup builds successfully, libsoup-gnome is skipped, and then... gtk-doc: Compiling scanner mkdir .libs gcc -I/sw/include -Os -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wmissing-include-dirs -Wundef -D_REENTRANT -I../.. -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -I/sw/include/libxml2 -I/sw/include -Os -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wmissing-include-dirs -Wundef -D_REENTRANT -c libsoup-2.4-scan.c -fno-common -DPIC -o .libs/libsoup-2.4-scan.o 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 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 If libsoup-gnome is disabled, build shouldn't be looking for it. If gtk-doc scanner really does require that lib, ./configure should have a sanity-check and AC_ERROR if one tries this impossible combination of options. But better would be to have the scanner *not* require it, or segregate the libsoup and libsoup-gnome docs so one only gets what's appropriate for one's configure/build option (and therefore only needs that self-consistent set of libs for scanner).
*** This bug has been marked as a duplicate of 573685 ***