Discussion:
ctl + gtk2 + xft build?
Jungshik Shin
2003-08-15 07:52:18 UTC
Permalink
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
hugo vanwoerkom
2003-08-20 18:31:39 UTC
Permalink
Post by Jungshik Shin
I've been trying to build Mozilla with CTL, Xft and Gtk2, but
'configure' failed around the end checking if gmodule is supported.
----------
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
#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
Prabhat Hegde
2003-08-20 22:13:28 UTC
Permalink
I had the same problem. The attached trunk patch for configure fixed it
for me.

prabhat.
Post by hugo vanwoerkom
Post by Jungshik Shin
I've been trying to build Mozilla with CTL, Xft and Gtk2, but
'configure' failed around the end checking if gmodule is supported.
----------
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
#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
Christopher Blizzard
2003-08-21 17:13:34 UTC
Permalink
Post by Prabhat Hegde
I had the same problem. The attached trunk patch for configure fixed
it for me.
How about a patch for configure.in?

--Chris
--
------------
Christopher Blizzard
http://www.mozilla.org
------------
Loading...