autoconf
[Top][All Lists]
Advanced

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

Re: error: can not run ./config.sub


From: Tim Van Holder
Subject: Re: error: can not run ./config.sub
Date: Tue, 29 May 2001 21:08:26 +0200

First off, please don't post in HTML.  It's rude.

> bash-2.04# autoconf
> bash-2.04# configure
> creating cache ./config.cache
> configure: error: can not run ./config.sub

You're probably using AC_CANONICAL_HOST or a related macro.
These require the config.guess and config.sub scripts to guess
the host system, and canonicalize its name, respectively.
This means that config.guess, when run, would spit out a
canonical host triplet (say, 'i386-pc-linux-gnu'), while
config.sub, when run with the parameter 'next' would spit
out 'm68k-next-nextstep3' (or 'i386-pc-linux-gnu' if passed
'i386-linux').
These files aren't installed by autoscan (maybe they should be?).
You should be able to get the latest version of these scripts
(they're updated regularly) on any GNU FTP mirror (they're in
gnu/config); alternatively, you can find them in any automake
distribution (if you use automake as well, running automake -a
should even install them in your source tree).




reply via email to

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