on Mon Jun 04 2012, Peter Kümmel <syntheticpp-hi6Y0CQ0nG0-AT-public.gmane.org> wrote:
> On 04.06.2012 21:13, Dave Abrahams wrote: >>> >>> OK, but I can't reproduce it on Ubuntu 12.04 64bit, >>> so I thought it must be something else- >> >> Oh, now that's odd. I wonder why it isn't working for me? >> > > I've not tested on Ubuntu but LinuxMint 13, but I think that > should make no difference. > > If you have the time, maybe it's better to start from scratch. > Attached the CMakeLists.txt which I've used. > It produces this output in an empty build folder > (after apt-get install libbz2-dev): > > -- The C compiler identification is GNU > -- The CXX compiler identification is GNU > -- Check for working C compiler: /usr/bin/gcc > -- Check for working C compiler: /usr/bin/gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so > -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so > -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - > found > -- Configuring done > -- Generating done > -- Build files have been written to: /home/synth/sandbox/cmake/test > > If you don't have a this output I will also set up a Ubuntu 12.04 and > see what happens. dave@Ubu12:/media/psf/tmp/kummel/build$ ~/bin/cmake .. -- The C compiler identification is GNU 4.6.3 -- The CXX compiler identification is GNU 4.6.3 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed CMake Error at /home/dave/.cache/0install.net/implementations/sha1new=f0c7800e5e264c5d96d1cd6151de92dfc74f65bb/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find BZip2 (missing: BZIP2_LIBRARIES) (found version "1.0.6") Call Stack (most recent call first): /home/dave/.cache/0install.net/implementations/sha1new=f0c7800e5e264c5d96d1cd6151de92dfc74f65bb/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /home/dave/.cache/0install.net/implementations/sha1new=f0c7800e5e264c5d96d1cd6151de92dfc74f65bb/share/cmake-2.8/Modules/FindBZip2.cmake:43 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:2 (Find_PACKAGE) But when I install cmake the traditional way it works. It looks like CMake doesn't tolerate being installed in a path containing "=". -- Dave Abrahams BoostPro Computing http://www.boostpro.com -- 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