Re: Compiling. from CVS



There should be a FAQ for this.  aclocal didn't find the glib.m4 file.
Either copy it from /opt/gnome/share/aclocal to /usr/local/share/aclocal or
add /opt/gnome/share/aclocal to aclocal's path.  Probably the latter but
I've never bothered to work out how.

cya

On Mon, 12 Oct 1998 13:30:04 +0100 (IST), John Ronan <j0n@tssg.wit.ie>
wrote:

>Howdy,
>I'm running SuSE 5.2 and I'm having trouble getting past compiling gtk+
>
>in glib directory I do the following.
>./autogen --prefix=/opt/gnome
>
>as it says in the web page.
>then I do a make and make install
>
>cd ../gtk+
>./autogen --prefix=/opt/gnome
>
>This dies with the following
>checking for extra flags for POSIX compliance... none needed
>./configure: line 1994: syntax error near unexpected token
>`AM_PATH_GLIB(1.1.3,,'
>./configure: line 1994: `  AM_PATH_GLIB(1.1.3,,'
>
>Now type 'make' to compile Gtk+.
>j0n@copeland:/home/j0n/gnome/gtk+ > 
>ln -s /opt/gnome/share/aclocal/glib.m4 /usr/share/aclocal/
>fixes this problem.
>
>then I make.
>
>Making all in gtk
>make[2]: Entering directory `/home/j0n/gnome/gtk+/gtk'
>Computing dependencies for testthreads.c...
>In file included from ../gtk/gtkcalendar.h:25,
>                 from ../gtk/gtk.h:36,
>                 from testthreads.c:21:
>./gtk/gtksignal.h:26: gtk/gtkmarshal.h: No such file or directory
>In file included from ../gtk/gtktoolbar.h:30,
>                 from ../gtk/gtk.h:109,
>                 from testthreads.c:21:
>./gtk/gtktooltips.h:30: warning: `GTK_TYPE_TOOLTIPS' redefined
>/usr/include/gtk/gtktypebuiltins.h:59: warning: this is the location of the
>previous definition
>make[2]: *** [.deps/testthreads.P] Error 1
>make[2]: Leaving directory `/home/j0n/gnome/gtk+/gtk'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/j0n/gnome/gtk+'
>make: *** [all-recursive-am] Error 2
>
>and that's it... compilation stops.
>
>What am I doing wrong?
>
>--
>John Ronan <j0n@tssg.wit.ie>, 
>  Telecom Systems Software Group - WIT, +353-51-302412, http://www-tssg.wit.ie
>================================================================================


--
Steven Blunt
spblunt@ozemail.com.au
http://enterfornone.simplenet.com/



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