Re: cannot compile gtk+



Ok,  This is what I am seeing, and anyone on the list is free to correct me.

Do a locate glib.m4 .. This is where your aclocal macros are sitting if you
have two of these (one in your gnome directory, and one in a
/usr/local/share/aclocal) Get rid of the /usr/local/share/aclocal.  If you
have only one glib.m4 type the following command at the prompt.

export ACLOCAL_FLAGS=/home/eisen/gnome/share/aclocal

then do something along the lines of
 ./autogen.sh --prefix=/home/eisen/gnome


And see what happens.


-----Original Message-----
From: Hal Eisen <eisen@brightlight.com>
To: chardy@vcn.com <chardy@vcn.com>
Cc: jcape@jcinteractive.com <jcape@jcinteractive.com>; gnome-list@gnome.org
<gnome-list@gnome.org>
Date: Tuesday, December 29, 1998 9:40 PM
Subject: Re: cannot compile gtk+


>>>>>> "ch" == Chris Hardy <chardy@vcn.com> writes:
>
>ch> Try going to the gtk+ directory, and type the following.
>ch> aclocal;autoconf;automake
>
>ch> Then run autogen.sh again.
>
>no help:
>
>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.
>
>Running gettextize...  Ignore non-fatal messages.
>sed: can't read aclocal.m4: No such file or directory
>You should update your own `aclocal.m4' by adding the necessary
>macro packages gettext.m4, lcmessage.m4 and progtest.m4 from
>the directory `/aclocal'
>+ aclocal
>aclocal: configure.in: 182: macro `AM_PATH_GLIB' not found in library
>+ autoheader
>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
>+ automake
>+ 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
>+ cd /home/eisen/src/gnome/gtk+
>+ ./configure --prefix=/home/eisen/gnome
>loading cache ./config.cache
>./configure: line 579: syntax error near unexpected token
`AM_INIT_AUTOMAKE($PACKAGE,'
>./configure: line 579: `AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)'
>
>
>--
>        FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>         To unsubscribe: mail gnome-list-request@gnome.org with
>                       "unsubscribe" as the Subject.
>
>



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