Re: Can't compile gtk+



> 
> On 01-Aug-98 Paul Johnson wrote:
> >=20
> > You need to compile glib first, it creates the aclocal it is looking
> > for. Assuming you did it, the compile is not finding your aclcoal,so
> > you probably have an existing /usr/share/aclocal directory, and
> > you need to put a symlink from the /usr/local/share/aclocal/*.m4
> > files
> > to that directory.
> >=20
> 
> Hi,=20
> I tried your suggestions but it did not work. Perhaps I was too brief in
> my first explanation. I have gnome 0.20 installed on my system
> (installed from rpm-packages) and I want to build the latest
> glib/gtk/gnome from the cvs source tree. So I tried ./autogen.sh
> --prefix=3D/usr/local/lib/gnome && make && make install in the glib
> directory. It went well. Then I tried the same thing in gtk+ and it
> fails in the configure.in-script.
> 
> [jgroth@tiger ~/gnome/gtk+]$ ./autogen.sh --prefix=3D/usr/local/lib/gnome
> aclocal: configure.in: 141: macro `AM_PATH_GLIB' not found in library

ln -s /usr/local/lib/gnome/share/aclocal/glib.m4 /usr/share/aclocal

What's happening is that you're installing everything for gnome in
/usr/local/lib/gnome, which also installs the *.m4 files aclocal is
looking for there.  aclocal doesn't know to look there, it only looks
whereever _it_ was installed for those files.

KevinL
(Who always installs to /opt/gnome, so knows this one well :)



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