autoconf
[Top][All Lists]
Advanced

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

RE: cache problem


From: Duft Markus
Subject: RE: cache problem
Date: Mon, 20 Oct 2008 08:48:48 +0200

> 
> * Duft Markus wrote on Fri, Oct 17, 2008 at 09:26:44AM CEST:
> > It happens when:
> >
> >  *) configuring automake 1.9.6 with ./configure
--cache-file=../cache
> >  *) bootstrapping libtool 1.5.24 or 26 with autoconf 2.59
> >  *) configuring libtool with the same cache: ./configure
> > --cache-file=../cache
> 
> And the error message you are seeing is?
> (Sorry for not repeating that question last time around,
> but you should cut and paste both the commands you enter
> and the output.)

Below are the steps to reproduce the problem with automake/libtool:

<shell copy/paste>
mduft toolsbox-3-patches $ cd markus
mduft markus $ tar xfz ../buildroot/distfiles/automake-1.9.6.tar.gz 
mduft markus $ tar xfz ../buildroot/distfiles/libtool-1.5.24.tar.gz 
mduft markus $ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
mduft markus $ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <address@hidden>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
mduft markus $ 
mduft markus $ 
mduft markus $ cd automake-1.9.6/
mduft automake-1.9.6 $ ./configure --cache-file=../cache
configure: creating cache ../cache
checking build system type... lib/config.guess: unable to guess system
type

This script, last modified 2005-07-08, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

[snip]
# NOTE: needed to update config.{guess,sub} to a newer version for
automake's
# configure to recognize interix6.

mduft automake-1.9.6 $ cp
/tools/src/toolsbox-3-patches/root/config.{sub,guess} lib/
mduft automake-1.9.6 $ ./configure --cache-file=../cache
configure: loading cache ../cache
checking build system type... i586-pc-interix6.0
checking for a BSD-compatible install...
/opt/gentoo.system/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /opt/gentoo.system/usr/bin/perl
checking for tex... no
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... yes
checking whether ln works... yes
checking for grep that handles long lines and -e...
/opt/gentoo.system/bin/grep
checking for egrep... /opt/gentoo.system/bin/grep -E
checking for fgrep... /opt/gentoo.system/bin/grep -F
updating cache ../cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Automake/Makefile
config.status: creating lib/Automake/tests/Makefile
config.status: creating lib/Makefile
config.status: creating lib/am/Makefile
config.status: creating m4/Makefile
config.status: creating tests/Makefile
config.status: creating tests/defs
config.status: creating tests/aclocal-1.9
config.status: creating tests/automake-1.9
mduft automake-1.9.6 $ cd ../libtool-1.5.24/
mduft libtool-1.5.24 $ ./bootstrap 
/tools/snapshot/toolsbox-3.7pre.20081017/i586-pc-interix6.0/share/acloca
l/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
mduft libtool-1.5.24 $ ./configure --cache-file=../cache 
configure: loading cache ../cache
checking for a BSD-compatible install... (cached)
/opt/gentoo.system/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output...
/tools/snapshot/toolsbox-3.7pre.20081017/i586-pc-interix6.0/bin/sed
checking build system type... (cached) i586-pc-interix6.0
checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub  failed
mduft libtool-1.5.24 $ cat cache
cat: cache: No such file or directory
mduft libtool-1.5.24 $ cat ../cache 
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

ac_cv_build=${ac_cv_build=i586-pc-interix6.0}
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_EGREP=${ac_cv_path_EGREP='/opt/gentoo.system/bin/grep -E'}
ac_cv_path_FGREP=${ac_cv_path_FGREP='/opt/gentoo.system/bin/grep -F'}
ac_cv_path_GREP=${ac_cv_path_GREP=/opt/gentoo.system/bin/grep}
ac_cv_path_PERL=${ac_cv_path_PERL=/opt/gentoo.system/usr/bin/perl}
ac_cv_path_install=${ac_cv_path_install='/opt/gentoo.system/usr/bin/inst
all -c'}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
am_cv_autoconf_installed=${am_cv_autoconf_installed=yes}
am_cv_autoconf_version=${am_cv_autoconf_version=yes}
am_cv_autoconf_works=${am_cv_autoconf_works=yes}
am_cv_prog_ln=${am_cv_prog_ln=ln}
mduft libtool-1.5.24 $ 
</shell copy/paste>

I'll have a look at your example too, if I get to it - hopefully today.

Cheers, Markus

> 
> You also did not state what system this is happening on.
> 
> Please, Markus, read this text:
> <http://www.catb.org/~esr/faqs/smart-questions.html>.
> It is available in many languages, and contains a lot of
> very helpful bits that make interaction between users and
> developers so much easier and less time consuming.
> 
> And then please provide proof that something is going wrong
> for you.
> 
> Also, I posted a recipe for you to try (and modify) so that
> it exposes the issue.  If you could do that, that would be
> helpful, too; even just trying it out without modifying it
> would help.  It should cost you less than a minute to cut
> and paste the commands into a shell, and cut and paste the
> results back.  Thanks.
> 
> > So it seems, that this is a problem of older autoconf versions...?
> 
> That remains to be seen.  Whether a bug is already fixed
> cannot sensibly be judged until it is clear what the bug is.
> 
> FWIW, I vaguely recall that we fixed some AC_CANONICAL* bug
> in the last few years, but it could have been a different issue.
> 
> Cheers,
> Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]