1.38 build cmake error

Hello, 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@Macintosh:~/dev/boost-build$ ls /Users/heiland/dev/ boost_1_38_0/libs/preprocessor CMakeLists.txt doc/ index.html module.cmake test/ Suggestions? OSX 10.5.6 cmake version 2.6-patch 2 thanks, Randy

Randy,
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@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, Justin
participants (2)
-
KSpam
-
Randy Heiland