Re: [gtk-list] Re: Building Imlib



johannes@nada.kth.se (Johannes Keukelaar) writes:

> AM_PATH_GTK is supposed to come from gtk.m4, which is installed in
> $prefix/share/autoconf (I believe, or was it aclocal?) by gtk. If
> you have aclocal installed, you should be able to get it in. After
> you run automake, run aclocal. :) (You may have to give it an
> -I/path/to/gtk.m4/directory option, especially if you installed gtk
> with a different prefix from aclocal, and your version of aclocal is
> not bleeding edge.)

Thanks for your reply.

The "problem" is that gtk.m4 is installed using the prefix which was
specified when gtk was configured whereas autoconf wants it in *its*
macro directory - if these aren't the same then gtk.m4 isn't found
when you configure imlib.

I'm not sure if there's a cleaner way to have autoconf look in more
places than /usr/share/aclocal but for a quick fix I symlinked gtk.m4.

It would have been nice if the error was "can't find gtk.m4" though :-(

-- 
Paul



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