[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
Fri Nov 23 14:35:09 UTC 2007


Am Montag, 12. November 2007 schrieb Daniel Leidert:
> When trying to use the vanilla cmake class, it sets:
>
> -DCMAKE_C_COMPILER="/usr/bin/cc" -DCMAKE_CXX_COMPILER="g++"
>
> However, then it fails with:
>
> 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.

Could you provide a complete test case (package) for this?  Or point me to a 
package from the archive.





More information about the Build-common-hackers mailing list