Re: Problems with ./configure in core

"A. Craig West" <[email protected]> Thu, 13 May 2004 19:50:25 -0400 (EDT)
Newsgroups gmane.network.everybuddy.devel
Message-ID <[email protected]>
On Sun, 9 May 2004, A. Craig West wrote:

> When running ./gen or ./configure in core, I am getting this output:
> configure: configuring in libltdl
> configure: running /bin/sh './configure' --prefix=/usr/local  '--enable-maintainer-mode' '--enable-compile-warnings' 'CC=gcc' 'CXX=g++' --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
> configure: warning: CC=gcc: invalid host type
> configure: warning: CXX=g++: invalid host type
> configure: error: can only configure for one host and one target at a time
> configure: error: /bin/sh './configure' failed for libltdl
> 
> I'm not sure when this started happening, or how to fix it...

Okay, now I know why this happens. It is because CC=gcc and CXX=g++ are both
set in my environment when I build. If those environment vars are unset,
everything would be fine. Those variables are probably set on a recent Gentoo
box, it is part of the default environment.
In any case, with a newer version of libtool installed, the problem goes
away.

-- 
Craig West         Ph: (416) 666-1645	|  It's not a bug,
[email protected]              	|  It's a feature...