Re: ctl + gtk2 + xft build?
[email protected] (hugo vanwoerkom) 20 Aug 2003 11:31:39 -0700
| Newsgroups | gmane.comp.mozilla.devel.unix,gmane.comp.mozilla.builds |
|---|---|
| Organization | http://groups.google.com/ |
| Message-ID | <[email protected]> |
Jungshik Shin <[email protected]> wrote in message news:<[email protected]>... > I've been trying to build Mozilla with CTL, Xft and Gtk2, but > 'configure' failed around the end checking if gmodule is supported. > The build log has the following: > > ---------- > checking MOZ_GTK2_CFLAGS... -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I > /usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include > -I/usr/includ > e/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > checking MOZ_GTK2_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 > -lgdk-x11-2.0 -latk > -1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 > -lgobject-2.0 > -lgmodule-2.0 -ldl -lglib-2.0 > ..... > > checking whether compiler supports -Wno-long-long... yes > checking for libIDL-2.0 >= 0.8.0... yes > checking LIBIDL_CFLAGS... -I/usr/include/libIDL-2.0 > -I/usr/include/glib-2.0 -I/u > sr/lib/glib-2.0/include > checking LIBIDL_LIBS... -lIDL-2 -lglib-2.0 > configure: error: Cannot build ctl without gmodule support in glib. > *** Fix above errors and then restart with "make -f client.mk build" > make: *** [/prj/moz/builds/debug.gtk2/Makefile] Error 1 > --------------------- > > The following is from the config log. Somehow Glib version was not > checked and '-I/usr/include/glib-2.0' and '-I/usr/lib/glib-2.0/include' > were not used. > > -------------------- > configure:14787: gcc -c -pthread -pipe -I/usr/X11R6/include > conftest.c 1>&5 > configure:14781:21: gmodule.h: No such file or directory > configure: failed program was: > #line 14780 "configure" > #include "confdefs.h" > #include <gmodule.h> > int main() { > int x = 1; x++; > ; return 0; } > -------------------- > > > I'm on RedHat 9 (upgraded from RH 8) with g++ (GCC) 3.2.2 20030222 (Red > Hat Linux 3.2.2-5) and GNU Make version 3.79.1 > > I had no problem building Mozilla with gtk+ctl+xft enabled. > > Any idea what's wrong? > > TIA > > Jungshik What does your .mozconfig look like? Hugo