gtk compiling woes



Despite reading (and trying to follow) all the FAQ's and HOWTO's about
building from the CVS tree I can't get past the gtk package :-(

If I do a './autogen.sh --prefix=/usr/local/gnome' in the gtk directory
(updated today) I get :

  aclocal: configure.in: 178: macro `AM_PATH_GLIB' not found in library

Since AM_PATH_GLIB is defined in glib.m4, I can get past this error by
doing a 'export ACLOCAL_FLAGS=../glib' BUT is that really the right way of
doing it ? Shouldn't the configuration be set up to pick up any required
m4 files from the glib package ?

After setting ACLOCAL_FLAGS my configuration step runs succesfully, but
when I compile I end up getting :

<--- lot's of output --->
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I.. -I../../glib
-I/usr/X11R6/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM
-Wp,-MD,.deps/gtkhscrollbar.p -c -fPIC -DPIC gtkhscrollbar.c
mv -f gtkhscrollbar.o gtkhscrollbar.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I.. -I../../glib
-I/usr/X11R6/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM
-Wp,-MD,.deps/gtkhscrollbar.p -c gtkhscrollbar.c >/dev/null 2>&1
make[2]: *** [gtkhscrollbar.lo] Error 1
make[2]: Leaving directory `/usr/src/gnome/gtk+/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome/gtk+'
make: *** [all-recursive-am] Error 2

The message 'Error 1' is not awfully descriptive, so I'd be happy if
anyone can give me a hint about what might be wrong. 

Thanks
Rasmus



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