This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autoconf changes break bootstrap on hppa*-*-hpux*


>The following error occurs on both the 32 and 64-bit hpux ports:
>
>...
>updating cache config.cache
>loading cache config.cache within ltconfig
>../../gcc/zlib/../ltconfig[491]: config.cache:  not found.
>configure: error: libtool configure failed
>make: *** [configure-zlib] Error 1
>Sun Jan  4 21:38:34 EST 2004

OK, that error makes no sense at all.  Look at this part of ltconfig:

489 if test -n "$cache_file" && test -r "$cache_file" && test -f "$cache_file"; then
490   echo "loading cache $cache_file within ltconfig"
491   . $cache_file
492 fi

So, $cache_file is "config.cache".
test -n "config.cache" should succeed.
Now, in order to get to line 491, where the error is,
test -r "config.cache" must succeed
and
test -f "config.cache" must succeed.

So how, precisely is config.cache "not found"?  Is it deleted between line
489 and line 491?  Or is your shell busted?

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]