trunk fails to compile with enable-gtk-doc



I want to give the libspectre support a try, but the compile failes in
help/reference with:

 ../../shell/ev-window.o: In function ‘ev_view_popup_cmd_save_image_as’:
Gnome/Evince/work/shell/ev-window.c:5066: undefined reference to ‘egg_file_format_chooser_new’
Gnome/Evince/work/shell/ev-window.c:5067: undefined reference to ‘egg_file_format_chooser_get_type’
Gnome/Evince/work/shell/ev-window.c:5067: undefined reference to ‘egg_file_format_chooser_add_pixbuf_formats’
../../shell/ev-window.o: In function ‘image_save_dialog_response_cb’:
Gnome/Evince/work/shell/ev-window.c:4997: undefined reference to ‘egg_file_format_chooser_get_type’
Gnome/Evince/work/shell/ev-window.c:4997: undefined reference to ‘egg_file_format_chooser_get_format’
Gnome/Evince/work/shell/ev-window.c:4998: undefined reference to ‘egg_file_format_chooser_append_extension’
Gnome/Evince/work/shell/ev-window.c:5000: undefined reference to ‘egg_file_format_chooser_get_format_data’
collect2: ld returned 1 exit status
Linking of scanner failed: 
make: *** [scan-build.stamp] Error 1

and indeed the « gcc -g -O2 -o .libs/evince-scan » line does leave out
../../cut-n-paste/fileformatchooser/.libs/libfileformatchooser.a.

I used the same configure line that I get when emerge(1)ing evince:

:; ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man \
   --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
   --localstatedir=/var/lib --disable-scrollkeeper --enable-comics \
   --enable-impress --enable-dbus --enable-djvu --enable-dvi --enable-t1lib \
   --enable-tiff --enable-nautilus --enable-gtk-doc --build=i686-pc-linux-gnu

(after running « env NOCONFIGURE=yes ./autogen.sh »).

It looks like Gentoo only has gtk-doc 1.8; but I see that 1.9 was
released a few months ago.  Does trunk require 1.9?  (The 2.21.1
release builds fine with 1.8.)

Compiling after re-configuring w/ --disable-gtk-doc worked.

-JimC
-- 
James Cloos <cloos jhcloos com>         OpenPGP: 1024D/ED7DAEA6


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