Package: cmake
Version: 2.4.7-1
Severity: normal

Hello,

when the compiler is specified to cmake by -DCMAKE_CXX_COMPILER=g++, cmake sets the path incorrectly. Particularly, if you do this for example in /tmp directory, it will set the compiler path to /tmp/g++. However, when configuring, it will guess and use the correct compiler, so the error will expose only during "make" (error such as "/tmp/g++: no such file or directory").

Strange thing is, that not only -DCMAKE_CXX_COMPILER=/usr/bin/g++, but also -DCMAKE_CXX_COMPILER:STRING=g++ and -DCMAKE_CXX_COMPILER:FILEPATH=g++ work flawlessly.

For more details, please see bug #450901.

Regards
    Jiri Palecek


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.9-debug (PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)
Shell: /bin/sh linked to /bin/dash

Versions of packages cmake depends on:
ii libc6 2.7-3 GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20071020-1 GCC support library
ii libncurses5 5.6+20071013-1 Shared libraries for terminal hand ii libstdc++6 4.3-20071020-1 The GNU Standard C++ Library v3

cmake recommends no packages.

-- no debconf information


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


Reply via email to