After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583409 - Cannot build gtk-docs if gnome is disabled
Cannot build gtk-docs if gnome is disabled
Status: RESOLVED DUPLICATE of bug 573685
Product: libsoup
Classification: Core
Component: Misc
2.26.x
Other Mac OS
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-05-21 07:04 UTC by Daniel Macks
Modified: 2009-05-21 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2009-05-21 07:04:32 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).
Comment 1 Dan Winship 2009-05-21 12:59:13 UTC

*** This bug has been marked as a duplicate of 573685 ***