[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: Problem with default config.cache
From: |
Gary V . Vaughan |
Subject: |
Re: FW: Problem with default config.cache |
Date: |
Mon, 30 Jul 2001 18:25:59 +0100 |
On Monday 30 July 2001 7:04 am, Borsenkow Andrej wrote:
> > > > .....
> > > > updating cache config.cache
> > > > loading cache config.cache within ltconfig
> > > > /tools/src/lftp-pre2.4.0-3/ltconfig: config.cache: not found
> > > > configure: error: libtool configure failed
> > > >
> > > > The reason is here (ltconfig):
> > > >
> > > > if test -n "$cache_file" && test -r "$cache_file" && test -f
> > > > "$cache_file"; then
> > > > echo "loading cache $cache_file within ltconfig"
> > > > . $cache_file
> > > > fi
> > > >
> > > > The problem is `.' command does search in PATH and of course does
> > > > not find cache file.
> >
> > Why is it obvious? `,' is also supposed to search the current directory.
>
> SUS does not agree with you
> (<http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_014_
>0 04>):
>
> . file
> DESCRIPTION
> The shell will execute commands from the file in the current environment.
> If file does not contain a slash, the shell will use the search path
> specified by to find the directory containing file. Unlike normal command
> search, however, the file searched for by the dot utility need not be
> executable. If no readable file is found, a non-interactive shell will
> abort; an interactive shell will write a diagnostic message to standard
> error, but this condition will not be considered a syntax error.
Wow. You learn something everyday. The current directory fallback behaviour
must be a bashism. I will patch branch-1-4 so that 1.4.1 doesn't have this
problem.
Thanks for the report.
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/