Re: autogen.sh Error!? autoheader: Symbol `WITH_SYMBOL_UNDERSCORE' is not covered by...



WhoDunnit wrote:
> 
> Two problems:
> 
> 1) Can someone clue me in on how to get rid of this error?
> 
> ...
> Now type `make' to compile Gnome Core Utilities
> grk@csdslip3$ make
> cd . && autoheader
> /opt/bin/autoheader: Symbol `WITH_SYMBOL_UNDERSCORE' is not covered by
> /opt/depot/auto/share/autoconf/acconfig.h ./acconfig.h
> make: *** [stamp-h.in] Error 1
> grk@csdslip3$ make -i
> ... to continue


You are using libtool-1.2d (or cvs, or else the package maintainer was),
with autoconf-2.12.  IMNSHO all of the gnome autogen.sh are broken in
that acinclude.m4 and the libtoolize generated files are checked in to
the repository, so if you try to build using a different version of
libtool to the person who most recently checked changes into gnome, this
sort of thing happens.

The right thing to do would be for all of these files to be removed from
CVS, and autogen.sh changed to run libtoolize to generate them with the
local version of libtool.  This will only work if acinclude.m4 doesn't
have a mismatched set of macros (as will be the case with the current
setup if you try to run libtoolize with you different local libtool
version).

The workaround (which is what I have been doing) is:

	$ cd glib # for example
	$ cvs -z3 up -Pd
	$ rm -f acinclude.m4
	$ libtoolize --force --copy
	$ autogen.sh --help
	$ ./configure --prefix=/opt/gnome --disable-nls --blah-blah

Unfortunately, your problem is possibly worse.  If the above doesn't
work, that indicates that it us your auto* tools which are out of synch;
You should either update your local versions of automake and autoconf
from thier own respective anoncvs, or downgrade your libtool to 1.2c or
earlier.  libtool-1.2d uses features of autoconf-2.12.2 (for sure) and
automake-1.3d (I think).

If you don't want to do this, you might be able to 

	$ echo '#undef WITH_SYMBOL_UNDERSCORE' >> acconfig.h

but the mismatched auto* tools will likely cause you other problems.

Cheers,
	Gary V. Vaughan



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