sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #94764
Re: configure fejl (fails sanity check)
On Wed, 2008-03-19 at 10:15 +0100, Andreas Kring wrote:
Her er det det går galt:
> configure:7083: checking how to run the C++ preprocessor
> configure:7197: result: -I/usr/local/include
> configure:7221: -I/usr/local/include -I/usr/local/include
> -DLAM_BUILDING=1 conftest.cc
configure prøver at køre et program der hedder "-I/usr/local/include",
og regner med at det er en C++ preprocessor.
Og når man ser her:
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> It was created by configure, which was
> generated by GNU Autoconf 2.59. Invocation command line was
> $ ./configure CC=/usr/local/bin/gcc CPP=/usr/local/bin/cpp
> CXX=/usr/local/bin/g++ CXXLDFLAGS=-L/usr/local/lib
> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
> CXXCPP=-I/usr/local/include
så ser man at du selv har fortalt configure at CXXCPP er
-I/usr/local/include (sidst i kommandolinien).
Prøv med CXXCPP=/usr/local/bin/cpp i stedet for ?!
Erling
Follow ups
References