[Build-common-hackers] Bug#450901: cmake class probably broken: CMAKE_C_COMPILER/CMAKE_CXX_COMPILER error
Daniel Leidert
daniel.leidert at wgdd.de
Mon Nov 12 00:51:09 UTC 2007
Package: cdbs
Version: 0.4.50
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
It seems, CMAKE_C_COMPILER and CMAKE_CXX_COMPILER should contain the
full path or /tmp/buildd/avogadro-0.2.0/obj-i486-linux-gnu/cc should be
a symlink. Giving CC and CXX in debian/rules fixes the problem so the
package builds at least in CHROOT.
Regards, Daniel
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages cdbs depends on:
ii debhelper 5.0.60 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20070725.1 Update infrastructure for config.{
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHN6N8m0bx+wiPa4wRAiGiAJ4tkeD3aqrR6bxHnhqty/Z2NVL/TgCdGsuQ
i/JK+bWvvx1jO9ynVhQRv4c=
=0qbG
-----END PGP SIGNATURE-----
More information about the Build-common-hackers
mailing list