Re: problems with imlib and autogen.sh







If you look in the Compiling FAQ on http://www.gnome.org, you should
find this out, but, I'll tell you how to fix it anyways. The problem you
are having is with aclocal needing to know where your macros are. So do
one of the following two solutions.

1) at the prompt type:  export ACLOCAL_FLAGS="=I
/usr/gnome/share/aclocal" 
then compile, or....

2) Hack every single package you grab in the autogen.sh, and wherever it
has a aclocal command line add like

aclocal 
 
add

aclocal -I /usr/gnome/share/aclocal

Remeber, the FAQ is your friend. (Though it does need some updating, I
believe.)

Chris

Juergen Fiedler wrote:
> 
> After some days of trying, I managed to compile gtk+. Next, I should do
> imlib (I guess). Now, if I try to run './autogen.sh --prefix=/usr/gnome
> --with-gtk-prefix=/usr/gnome', I get the following errors:
> 
> >-------SNIP-------<
> aclocal: configure.in: 22: macro `AM_PATH_GTK' not found in library
> utils/Makefile.am:90: variable `GTK_LIBS' not defined
> utils/Makefile.am:90: variable `GTK_LIBS' not defined
> ./configure: syntax error near unexpected token
> `AM_CONFIG_HEADER(config.h)'
> ./configure: ./configure: line 540: `AM_CONFIG_HEADER(config.h)'
> >-------SNIP-------<
> 
> Seems that there are some definitions missing. Does anybody have any
> idea what could have gone wrong?
> 
> TIA,
> Juergen
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

-- 
What we see depends on mainly what we look for.
		-- John Lubbock

Chris Hardy - System Analyst, Echostar Corporation
chris@hardys.org or chris.hardy@echostar.com



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