Re: GNOME Build Problems



On Friday, February 04, 2000, Jacob Berkman <jacob@helixcode.com> wrote:
> "Heyman, William S" <william.s.heyman@lmco.com> writes:
> 
> > I got the following warning when running autoconf.sh in glib and gtk+ 
> > 
> > configure.in:192: warning: AC_TRY_RUN called without default to allow
> > cross compiling
> 
> I don't think you need to worry about this.
> 
> > When I run autoconf.sh in imlib I get the following
> > 
> > aclocal: configure.in: 22: macro `AM_PATH_GTK' not found in library
> 
> The easist thing is probably to put gtk+/gtk.m4 in /usr/share/aclocal
> You could change your acinclude path, but putting the file in that
> directory is what i do :/

Actually, it's probably easier to just set the environment variable,
ACLOCAL_FLAGS, to point to the additional directory with m4 files.  This
has the added benefit that you can include m4's from more than one extra
directory...and you won't end up with multiple versions of your m4
files.  If you add it to your .bashrc or .tcshrc (or whichever), you
never need to worry about it again, even if you accidentally reinstall
packages to the secondary prefix.  So, in tcsh, do this:

 setenv ACLOCAL_FLAGS "-I /opt/gnome/share/aclocal"

(Or whatever other shell.)

John

-- 
dusk@ravendusk.org                                http://www.gnome.org
jsheets@codeweavers.com                      http://www.worldforge.org



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