Re: cannot compile gtk+



On Tue, Dec 29, 1998 at 08:40:10PM -0800, Hal Eisen wrote:

> eisen@atropos ~/src/gnome/gtk+ 502 $ aclocal
> aclocal: configure.in: 182: macro `AM_PATH_GLIB' not found in library
> eisen@atropos ~/src/gnome/gtk+ 503 $ autoconf
> configure.in:158: warning: AC_TRY_RUN called without default to allow cross compiling
> configure.in:159: warning: AC_TRY_RUN called without default to allow cross compiling
> configure.in:353: warning: AC_TRY_RUN called without default to allow cross compiling
> eisen@atropos ~/src/gnome/gtk+ 504 $ automake
> eisen@atropos ~/src/gnome/gtk+ 505 $ ./autogen.sh --prefix=/home/eisen/gnome


   
> WARNING: aclocal's directory is /usr/share/aclocal, but...
>          no file /usr/share/aclocal/glib.m4
>          You may see fatal macro warnings below.
>          If these files are installed in /some/dir, set the ACLOCAL_FLAGS 
>          environment variable to "-I /some/dir", or install
>          /usr/share/aclocal/glib.m4.


Try this: copy from glib dir glib.m4 in gtk dir. Then run aclocal -I .

~src/gnome/gtk+$ cp ../glib/glib.m4 .
~src/gnome/gtk+$ aclocal -I .

Or simply:

~src/gnome/gtk+$ aclocal -I ../glib/


I've got similar problem (with Debian/GNU Linux hamm), and I resolved it
doing a lot of mess with aclocal and macro files.

-- 
Ciao, Andrea



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