2011/9/29 Albretch Mueller <[email protected]>: > I am using knoppix and I am trying to build cmake's sources into a > local directory, but this is what I get: > ~ > $ ./bootstrap; make; make install > --------------------------------------------- > CMake 2.8.5, Copyright 2000-2009 Kitware, Inc. > C compiler on this system is: cc > --------------------------------------------- > 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.
[..] may this is true. > ~ > > $ which gcc > /usr/bin/gcc > > $ gcc --version > gcc (Debian 4.3.4-6) 4.3.4 > Copyright (C) 2008 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > $ ls -l /usr/bin/gcc > lrwxrwxrwx 1 root root 7 Nov 5 2009 /usr/bin/gcc -> gcc-4.3 gcc is a C compiler not a C++ compiler. Do you have 'g++" installed? What does g++ --version says? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
