[Build-common-hackers] Bug#450901: Bug#450901: cmake class probably broken: CMAKE_C_COMPILER/CMAKE_CXX_COMPILER error
Peter Eisentraut
peter_e at gmx.net
Tue Nov 27 12:10:58 UTC 2007
Am Samstag, 24. November 2007 schrieb Daniel Leidert:
> > > CMake Error: your C compiler:
> > > "/tmp/buildd/avogadro-0.2.0/obj-i486-linux-gnu/cc" was not found.
> > > Please set CMAKE_C_COMPILER to a valid compiler path or name.
> > > CMake Error: your CXX compiler:
> > > "/tmp/buildd/avogadro-0.2.0/obj-i486-linux-gnu/g++" was not found.
> > > Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
I think this is a bug internal to cmake or the tests it uses. Earlier in the
output it claims
-- Check for working C compiler: cc
-- Check for working C compiler: cc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: g++
-- Check for working CXX compiler: g++ -- works
So it says the compilers work, and in order to check the size of void* it
would also have to actually run the compiler successfully.
Furthermore, it asks to set CMAKE_CXX_COMPILER to a valid compiler path or
*name*, which interpret such that a base name is sufficient.
So at the moment I believe that the behavior implemented in cdbs is correct
and the problem is somewhere else.
More information about the Build-common-hackers
mailing list