Re: BUG in Autoconf



On Sun, 25 Feb 2001, Owen Taylor wrote:
> Nothing on my system references 'AC_DISABLE_FAST_INSTALL' at all.

It is a macro defined by /usr/share/aclocal/libtool.m4 -- on some 
architectures shared libraries hardcode their own location and/or the 
absolute path of their deplibs.  By default libtool builds such libraries so 
that they can be installed directly from the build tree, which means that to 
run uninstalled programs linked against the uninstalled library requires a 
certain amount of re-linking.  When developing a new library this fast 
becomes a pain, so we added AC_DISABLE_FAST_INSTALL to reverse that behaviour 
-- the libraries are linked to work in the build tree but need to be relinked 
at install time so that they will hardcode the installation directories.

If I explained badly, the process is described in the libtool info manual and 
also in the Goat Book.  But I digress.

> As a guess, perhaps you hvae some snapshot version of automake or libtool
> that wants a corresponding snapshot of autoconf.

I expect you have a mismatch between your ltmain.in and the libtool.m4 you 
are using (possibly copied into acinclude.m4 or aclocal.m4).

> You might want to try grepping for that symbol in /usr/share/automake
> /usr/share/autoconf and see if/where it turns up.

/usr/share/aclocal/libtool.m4 holds the definition to match your installed 
libtool, but that may be an entiirely different and incompatible version to 
the libtool that was used to generate your tarball by the developer (and 
hence the contents of aclocal.m4 and the ltmain.in in your source tree).

For a CVS release you should probably remove aclocal.m4, acinclude.m4, and 
ltmain.in and rerun autogen.sh/bootstrap to regenerate these files from your 
installed auto*.  For a tarball, the easiest thing to do is delete the source 
tree (saving your modifications first of course), and re-extract from the 
tarball to get a matching set of auto* configuration files.

> Regards,
>                                         Owen
>
> "Vladimir V. Zolotych" <gsmith eurocom od ua> writes:
> > Hello
> >
> > Please help me.
> > I can't build recent GLIB/GTK+.
> > Please let me know where I can read about installation's
> > instructions for PKGCONFIG, GLIB, PANGO, GTK+. I've
> > read INSTALL, README files but this isn't help me to build.
> > No problem with version 1.2. Tarball from PANGO site also
> > installed successfully.
> >
> > Using Slackware 7.0 Autoconf 2.13
> >
> > The error is the following:
> >
> > - Try to configure PANGO
> >   $ ./autogen.sh
> >   I am going to run ./configure with no arguments - if you wish
> >   to pass any to it, please specify them on the ./autogen.sh command
> > line.
> >   automake: configure.in: installing `./install-sh'
> >   automake: configure.in: installing `./mkinstalldirs'
> >   automake: configure.in: installing `./missing'
> >   configure.in: 15: required file `./ltconfig' not found
> >   automake: Makefile.am: installing `./INSTALL'
> >   autoconf: Undefined macros:
> >   ***BUG in Autoconf--please report*** AC_DISABLE_FAST_INSTALL
> >   ./configure: line 4331: syntax error: unexpected end of file
> >
> >   Now type 'make' to compile Pango.
> >   $
> >
> > Before  that I've configure, install, build GLIB successfully.
> >
> > _Any_ help will be appreciated.


HTH,
	Gary.
-- 
  ___              _   ___   __              _         mailto: gvv techie com
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       gary gnu org
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc




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