Greetings,
I try to compile and configure cmake with 
fes-a120d19nas:/backup/fes-a120d19nas/cmake-2.8.10.2# ./configure --prefix=/usr 
--mandir=/usr/share/man
and get
CMake 2.8.10.2, Copyright 2000-2012 Kitware, Inc.C compiler on this system is: 
gcc---------------------------------------------Error when bootstrapping 
CMake:Cannot find appropriate C++ compiler on this system.Please specify one 
using environment variable CXX.See cmake_bootstrap.log for compilers attempted.
g++ is installedfes-a120d19nas:/backup/fes-a120d19nas/cmake-2.8.10.2# whereis 
g++g++: /usr/bin/g++ /usr/share/man/man1/g++.1
g++ -vUsing built-in 
specs.COLLECT_GCC=g++COLLECT_LTO_WRAPPER=/usr/libexec/gcc/sparc-unknown-linux-gnu/4.6.0/lto-wrapperTarget:
 sparc-unknown-linux-gnuConfigured with: ../gcc-4.6.0/configure 
--enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-shared --enable-clocale=gnu 
--enable-debugThread model: posixgcc version 4.6.0 (GCC)
The Log:
Checking for GNU toolchainTry: gccLine: gcc  cmake_bootstrap_28331_test.c -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; }------------------------------------------Test succededTry: 
g++Line: g++  cmake_bootstrap_28331_test.cpp -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; 
}------------------------------------------./cmake_bootstrap_28331_test: 
/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by 
/usr/lib/libstdc++.so.6)Test produced non-zero return codeChecking for Clang 
toolchainTry: clangLine: clang  cmake_bootstrap_28331_test.c -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; 
}------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: clang: command not foundTest failed to compileChecking for XL 
toolchainTry: xlcLine: xlc  cmake_bootstrap_28331_test.c -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; 
}------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: xlc: command not foundTest failed to compileChecking for PGI 
toolchainTry: pgccLine: pgcc  cmake_bootstrap_28331_test.c -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; 
}------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: pgcc: command not foundTest failed to compileChecking for PathScale 
toolchainTry: pathccLine: pathcc  cmake_bootstrap_28331_test.c -o 
cmake_bootstrap_28331_test----------  file   -----------------------int main() 
{ return 0; 
}------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: pathcc: command not foundTest failed to compileTry: ccLine: cc  
cmake_bootstrap_28331_test.c -o cmake_bootstrap_28331_test----------  file   
-----------------------
#ifdef __cplusplus# error "The CMAKE_C_COMPILER is set to a C++ compiler"#endif
#include<stdio.h>
#if defined(__CLASSIC_C__)int main(argc, argv)  int argc;  char* 
argv[];#elseint main(int argc, char* argv[])#endif{  printf("%d%c", (argv != 
0), (char)0x0a);  return argc-1;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: cc: command not foundTest failed to compileTry: gccLine: gcc  
cmake_bootstrap_28331_test.c -o cmake_bootstrap_28331_test----------  file   
-----------------------
#ifdef __cplusplus# error "The CMAKE_C_COMPILER is set to a C++ compiler"#endif
#include<stdio.h>
#if defined(__CLASSIC_C__)int main(argc, argv)  int argc;  char* 
argv[];#elseint main(int argc, char* argv[])#endif{  printf("%d%c", (argv != 
0), (char)0x0a);  return argc-1;}
------------------------------------------1Test succededTry: aCCLine: aCC  
-DTEST1 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: aCC: command not foundTest failed to compileTry: aCCLine: aCC  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: aCC: command not foundTest failed to compileTry: aCCLine: aCC  
-DTEST3 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: aCC: command not foundTest failed to compileTry: xlCLine: xlC  
-DTEST1 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: xlC: command not foundTest failed to compileTry: xlCLine: xlC  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: xlC: command not foundTest failed to compileTry: xlCLine: xlC  
-DTEST3 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: xlC: command not foundTest failed to compileTry: CCLine: CC  -DTEST1 
cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  file   
-----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: CC: command not foundTest failed to compileTry: CCLine: CC  -DTEST2 
cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  file   
-----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: CC: command not foundTest failed to compileTry: CCLine: CC  -DTEST3 
cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  file   
-----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: CC: command not foundTest failed to compileTry: g++Line: g++  
-DTEST1 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------./cmake_bootstrap_28331_test: 
/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by 
/usr/lib/libstdc++.so.6)Test produced non-zero return codeTry: g++Line: g++  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------cmake_bootstrap_28331_test.cxx:5:23: 
fatal error: iostream.h: No such file or directorycompilation terminated.Test 
failed to compileTry: g++Line: g++  -DTEST3 cmake_bootstrap_28331_test.cxx -o 
cmake_bootstrap_28331_test----------  file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------cmake_bootstrap_28331_test.cxx:5:23: 
fatal error: iostream.h: No such file or directorycompilation terminated.Test 
failed to compileTry: c++Line: c++  -DTEST1 cmake_bootstrap_28331_test.cxx -o 
cmake_bootstrap_28331_test----------  file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------./cmake_bootstrap_28331_test: 
/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by 
/usr/lib/libstdc++.so.6)Test produced non-zero return codeTry: c++Line: c++  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------cmake_bootstrap_28331_test.cxx:5:23: 
fatal error: iostream.h: No such file or directorycompilation terminated.Test 
failed to compileTry: c++Line: c++  -DTEST3 cmake_bootstrap_28331_test.cxx -o 
cmake_bootstrap_28331_test----------  file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------cmake_bootstrap_28331_test.cxx:5:23: 
fatal error: iostream.h: No such file or directorycompilation terminated.Test 
failed to compileTry: iccLine: icc  -DTEST1 cmake_bootstrap_28331_test.cxx -o 
cmake_bootstrap_28331_test----------  file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: icc: command not foundTest failed to compileTry: iccLine: icc  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: icc: command not foundTest failed to compileTry: iccLine: icc  
-DTEST3 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: icc: command not foundTest failed to compileTry: comoLine: como  
-DTEST1 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: como: command not foundTest failed to compileTry: comoLine: como  
-DTEST2 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: como: command not foundTest failed to compileTry: comoLine: como  
-DTEST3 cmake_bootstrap_28331_test.cxx -o cmake_bootstrap_28331_test----------  
file   -----------------------
#if defined(TEST1)# include <iostream>#else# include <iostream.h>#endif
class NeedCXX{public:  NeedCXX() { this->Foo = 1; }  int GetFoo() { return 
this->Foo; }private:  int Foo;};int main(){  NeedCXX c;#ifdef TEST3  cout << 
c.GetFoo() << endl;#else  std::cout << c.GetFoo() << std::endl;#endif  return 
0;}
------------------------------------------/backup/fes-a120d19nas/cmake-2.8.10.2/bootstrap:
 line 502: como: command not foundTest failed to compile

How can i fix this problem?
greetings
martin                                    
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to