GNOME Bugzilla – Bug 349071
cannot compile yelp using jhbuild
Last modified: 2006-07-28 11:30:12 UTC
Hi, I'm trying to compile the latest Gnome from CVS using jhbuild and I cannot get yelp to go past the configure stage. The following error occurs: checking pkg-config is at least version 0.9.0... yes checking for YELP... yes checking for gsed... /bin/sed checking for X... libraries /usr/X11R6/lib, headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for YELP_SEARCH... checking for gawk... (cached) mawk checking which gecko to use... mozilla checking for compiler -fshort-wchar option... yes checking whether to enable C++ RTTI... no checking whether we have a gtk 2 gecko build... yes checking whether we have a gecko debug build... no checking for gecko version... 1.7 configure: error: mozilla is not supported *** error during stage configure of yelp: Error running ./autogen.sh --prefix /home/kjalil/gnome2 --disable-static --disable-gtk-doc the config.log has the following: configure:24500: checking which gecko to use configure:24531: result: mozilla configure:24616: checking for compiler -fshort-wchar option configure:24636: g++ -o conftest -g -O2 -fshort-wchar conftest.cc >&5 configure:24639: $? = 0 configure:24641: ./conftest configure:24644: $? = 0 configure:24658: result: yes configure:24683: checking whether to enable C++ RTTI configure:24692: result: no configure:24718: checking whether we have a gtk 2 gecko build configure:24742: g++ -o conftest -g -O2 -I/home/kjalil/gnome2/include/mozilla-1.7.13 conftest.cc >&5 configure:24745: $? = 0 configure:24747: ./conftest configure:24750: $? = 0 configure:24765: result: yes configure:24768: checking whether we have a gecko debug build configure:24783: g++ -c -g -O2 -I/home/kjalil/gnome2/include/mozilla-1.7.13 conftest.cc >&5 conftest.cc:40:6: error: #error No configure:24789: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "Yelp" | #define PACKAGE_TARNAME "yelp" | #define PACKAGE_VERSION "2.15.5" | #define PACKAGE_STRING "Yelp 2.15.5" | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=yelp" | #define PACKAGE "yelp" | #define VERSION "2.15.5" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define MAINTAINER_MODE 1 | #define GETTEXT_PACKAGE "yelp" | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define ENABLE_NLS 1 | #define GNOMELOCALEDIR "/home/kjalil/gnome2/share/locale" | #define ENABLE_MAN 1 | #define ENABLE_INFO 1 | #define ENABLE_MAN_OR_INFO 1 | #define ENABLE_SEARCH 1 | /* end confdefs.h. */ | #include <mozilla-config.h> | #if !defined(MOZ_REFLOW_PERF) || !defined(MOZ_REFLOW_PERF_DSP) | #error No | #endif | configure:24812: result: no configure:24864: checking for gecko version configure:24918: g++ -o conftest -g -O2 -I/home/kjalil/gnome2/include/mozilla-1.7.13 conftest.cc >&5 configure:24921: $? = 0 configure:24923: ./conftest configure:24926: $? = 0 configure:24945: result: 1.7 configure:25072: error: mozilla is not supported I have browsed throught the existing bugs and haven't found anything related to this, I hope someone can help ...
Hi, The problem is that Yelp (and Epiphany) have dropped support for mozilla 1.7 In order to compile yelp, mozilla 1.8 branch must be used. Unfortunately, jhbuild hasn't been updated to this branch yet. See bug #324546 for progress of the switch. There are also patches available in the bug to switch jhbuild to using mozilla 1.8. Unfortunately, this involves recompiling mozilla. Marking as a duplicate of the jhbuild bug (as thats what fails). Thanks. *** This bug has been marked as a duplicate of 324546 ***