Re: libgtop and aclocal

Gleef <> writes:

> On Fri, 1 Jan 1999 wrote:
> > Flame away if this is a common problem with an obvious solution, but I'm
> > stumped. I've been getting this problem with the latest CVS libgtop source
> > for a couple of days, and I can't find any reference to it in the mailing
> > list recently. What am I doing wrong?
> > 
> > [joel@frodo libgtop]$ make
> > cd . && aclocal -I . macros
> Well, that line should be "cd . && aclocal -I . -I macros", which explains
> the error (the missing -I is critical).  Try removing config.cache and
> reruning  Does that give you any errors?  Does make start
> working?

The problem is with macros/aclocal-include.m4 - it should look like this:

# aclocal-include.m4
# This macro adds the name macrodir to the set of directories
# that `aclocal' searches for macros.  

# serial 1

dnl AM_ACLOCAL_INCLUDE(macrodir)
[for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done])

Then, your macros/ should have this somewhere in it:

    macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
    ( cd $dr
      for k in $macrodirs; do
        if test -d $k; then
          aclocalinclude="$aclocalinclude -I $k"

If that's the case, remove your aclocal.m4 and acinclude.m4 and rerun It should work then.


   Martin Baulig - Angewandte Mathematik - Universitaet Trier,

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