[369] in bug-owl

home help back first fref pref prev next nref lref last post

Re: recursive configure failure

daemon@ATHENA.MIT.EDU (Jeremy Daniel)
Fri Jan 28 13:54:11 2005

Message-ID: <8c49466005012810544a44e4dd@mail.gmail.com>
Date: Fri, 28 Jan 2005 13:54:07 -0500
From: Jeremy Daniel <jdanielmit@gmail.com>
Reply-To: jdaniel@MIT.EDU
To: bug-owl@ktools.org
In-Reply-To: <8c494660050128093070507db0@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I looked at the problem further.  It seems that since I had LIBS set
before I ran configure it was causing it to be passed down.  More
specifically this causes the problem:

tcsh> env LIBS=-Llib ./configure

but this doesn't:

tcsh> ./configure --libdir `pwd`/lib

Something about the configure file changed to cause this behaviour
though, because I'd been using the earlier version for a long time up
until last month.


On Fri, 28 Jan 2005 12:30:19 -0500, Jeremy Daniel <jdanielmit@gmail.com> wrote:
> [Resending this with more detail since I didn't realize bug-owl@mit
> doesn't forward to bug-owl@ktools]
> 
> Kretch,
> 
> configure runs fine for me until it hits the recursive section, at
> which point it fails with the following output because the LIBS that
> was generated for owl is being used for libfaim.
> 
> configure: running /bin/bash './configure' --prefix=/usr/local
> 'CFLAGS=-Iinclude' --cache-file=/dev/null --srcdir=.
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
> configure: error: /bin/bash './configure' failed for libfaim
> 
> I have put the config.log files for the original output in
> /mit/jdaniel/Public/owl.
> 
> This change seems to fix my problem.  I'm still not sure why LIBS was
> being carried over into the recursive configure.  If you can make any
> further sense out of it please let me know.
> 
> Index: configure
> ===================================================================
> RCS file: /mit/ktools/src/owl/repository/owl/configure,v
> retrieving revision 1.20
> diff -u -r1.20 configure
> --- configure   30 Dec 2004 20:38:59 -0000      1.20
> +++ configure   28 Jan 2005 17:13:41 -0000
> @@ -5492,7 +5492,7 @@
> if test "$no_recursion" != yes; then
> 
>  # Remove --cache-file and --srcdir arguments so they do not pile up.
> -  ac_sub_configure_args=
> +  ac_sub_configure_args=LIBS=
> --
> Jeremy Daniel <jdaniel@mit.edu>
> 26 Pearl St
> Medford, MA 02155
> 


-- 
Jeremy Daniel <jdaniel@mit.edu>
26 Pearl St
Medford, MA 02155

home help back first fref pref prev next nref lref last post