Re: automake transition
- From: Owen Taylor <otaylor redhat com>
- To: James Henstridge <james daa com au>
- Cc: Havoc Pennington <hp redhat com>, desktop-devel-list gnome org, tromey redhat com, veillard redhat com
- Subject: Re: automake transition
- Date: Thu, 25 Jul 2002 11:31:44 -0400 (EDT)
James Henstridge <james daa com au> writes:
> Havoc Pennington wrote:
>
> > btw here is a patch that aclocal benefits from: ---
> > /cvs/am-cvs/automake14/aclocal Wed Jul 24 22:58:19 2002
> >+++ /unst/bin/aclocal-1.4 Wed Jul 24 23:55:54 2002
> >@@ -415,7 +415,7 @@
> > elsif ($map{$1} ne 'acinclude.m4' || $file eq
> >'acinclude.m4')
> > {
> > warn "aclocal: $file: $.: duplicated macro \`$1'\n";
> >- $exit_status = 1;
> >+ #$exit_status = 1;
> > }
> > print STDERR "Found macro $1 in $file: $.\n" if
> >$verbosity;
> > }
> >
> Does this fix the problem correctly (ie. choose the newer macro if
> multiple ones exist), or just cause it to not error out? If you are
> getting these errors because of macros distributed with automake, make
> sure that $(datadir)/aclocal only contains macros from other
> packages. Automake's macros should be in $(datadir)/aclocal-1.4 or 1.6.
The typical situation is that you have GNOME installed in /usr
and you are trying to build another copy of GNOME in a different
prefix.
Since aclocal -I prepends, not replaces, the only other way of getting
things to work is to use a separate auto* copy. (And a separate copy
of all the dependencies.)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]