sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #94758
configure fejl (fails sanity check)
Hej,
Jeg kører Ubuntu 7.04 og C-compileren i denne er gcc-4.1.2. Jeg har brug for
at kompilere noget software, som kræver en anden C-compiler, så jeg har
hentet gcc-4.3.0 og installeret denne med configure; make; make install,
dvs. den nye C-compiler er installeret i /usr/local.
Når jeg skal konfigurere den software jeg skal bruge kører jeg (fra
top-kataloget):
$ ./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"
men får følgende fejl:
*** C++ Compiler and preprocessor
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/bin/g++ accepts -g... yes
checking dependency style of /usr/local/bin/g++... gcc3
checking how to run the C++ preprocessor... -I/usr/local/include
configure: error: C++ preprocessor "-I/usr/local/include" fails sanity check
See `config.log' for more details.
Er der nogen, som har en idé?
Mvh. Andreas
Follow ups