Re: GTK comilation error.



Zenith Lau <zenithlau sniic com> writes:

Hello ,

      I am trying to compile gtk+2.0.6, but I've got some trouble, in the compilation stage,
it report the follwing error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_X11 -I../.. -I../../gdk -I../../gdk 
-DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/pango-1.0 -I/usr/X11R6/include/X11/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include 
-I/usr/X11R6/include/fontconfig    -O3 -march=i686 -Wall -c gxid.c
gxid.c:19:24: gxid_proto.h: No such file or directory
make[3]: *** [gxid.o] Error 1
make[3]: Leaving directory `/tmp/gnomesrc/gtk+-2.0.6/gdk/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gnomesrc/gtk+-2.0.6/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gnomesrc/gtk+-2.0.6'
make: *** [all-recursive-am] Error 2

My configure options is :
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
--enable-xim --enable-gtk-doc --with-xinput --with-gdktarget=x11

What's wrong with it?? 

You found a bug in the tarball... a missing file. I've filed
the problem as:

 http://bugzilla.gnome.org/show_bug.cgi?id=90511 

But it actually isn't all that interesting because --with-xinput=gxi
(what plain --with-xinput means) is not really functional any
more. If you want XInput support, use --with-xinput=xfree.

In GTK+-2.1.x, --with-xinput means --with-xinput=xfree, and 
gxi is gone altogether.

(Also, there is no point in specify --mandir, --enable-xim, 
--with-gdktarget=x11; they are all defaults. And --enable-gtk-doc
doesn't do you any good unless you are hacking the docs.
Take advantage of the defaults; they are default for a reason :-0)

Thanks,
                                        Owen



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