Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.38 build cmake error
From: KSpam (keesling_spam_at_[hidden])
Date: 2009-03-03 21:12:18


> Just downloaded 1.38 and trying to use the cmake build. I get my
> CMakeCache.txt setup the way I want, then:
> cmake .
> make
> sudo make install
> ...
> -- Installing: /usr/local/include//boost/xpressive/xpressive_static.hpp
> -- Installing: /usr/local/include//boost/xpressive/xpressive_typeof.hpp
> CMake Error at libs/preprocessor/cmake_install.cmake:31 (FILE):
> file INSTALL cannot find file
> "/Users/heiland/dev/boost_1_38_0/libs/preprocessor/include/boost" to
> install.
> Call Stack (most recent call first):
> libs/cmake_install.cmake:32 (INCLUDE)
> cmake_install.cmake:37 (INCLUDE)
> and sure enough, there's no .../preprocessor/include...
> heiland_at_Macintosh:~/dev/boost-build$ ls /Users/heiland/dev/
> boost_1_38_0/libs/preprocessor
> CMakeLists.txt doc/ index.html module.cmake test/

I got caught with the same problem. I saw on the Boost-cmake mailing list
that you need to run make modularize prior to running make install. That did
the trick for me on both Windows and Linux. Hopefully, it will resolve your
issue on OSX.

Hope This Helps,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at