| Summary: | dev-util/cmake - FindBoost module cannot find version.hpp | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Cyril <cyril.baletaud> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Build log? DEBUG size_t is 8 DEBUG off_t is 8 CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:732 (file): file Internal CMake error when trying to open file: /usr/include/boost/boost/version.hpp for reading. Call Stack (most recent call first): CMakeModules/FindLuabind.cmake:62 (FIND_PACKAGE) ryzom/CMakeLists.txt:18 (FIND_PACKAGE) CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:745 (math): math cannot parse the expression: " / 100000": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): CMakeModules/FindLuabind.cmake:62 (FIND_PACKAGE) ryzom/CMakeLists.txt:18 (FIND_PACKAGE) CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:746 (math): math cannot parse the expression: " / 100 % 1000": syntax error, unexpected exp_DIVIDE, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): CMakeModules/FindLuabind.cmake:62 (FIND_PACKAGE) ryzom/CMakeLists.txt:18 (FIND_PACKAGE) CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:747 (math): math cannot parse the expression: " % 100": syntax error, unexpected exp_MOD, expecting exp_OPENPARENT or exp_NUMBER (2) Call Stack (most recent call first): CMakeModules/FindLuabind.cmake:62 (FIND_PACKAGE) ryzom/CMakeLists.txt:18 (FIND_PACKAGE) Boost version: .. Found Luabind: /usr/lib64/libluabind.so Warning: Libwww: Library not found: LIBREGEX_LIBRARY Linking with /usr/lib64/libwwwcache.so Linking with /usr/lib64/libwwwftp.so Linking with /usr/lib64/libwwwgopher.so Linking with /usr/lib64/libwwwnews.so Linking with /usr/lib64/libwwwtelnet.so Linking with /usr/lib64/libwwwstream.so Linking with /usr/lib64/libwwwdir.so Linking with /usr/lib64/libwwwinit.so Linking with /usr/lib64/libwwwxml.so Linking with /usr/lib64/libwwwzip.so Linking with /usr/lib64/libxmlparse.so Linking with /usr/lib64/libexpat.so Linking with /usr/lib64/libmd5.so Linking with /usr/lib64/libssl.so;/usr/lib64/libcrypto.so Configuring incomplete, errors occurred! Can you please attach a full build log? I don't understand what you want, the full build log of what ? cmake ? boost ? This bug appear when you want to use the module FindBoost in a project. My solution to continue to work is to copy boost/version.hpp into boost-1_49/boost but it's a dirty workaround. Please inform me if my descripion is not so precise (but my english is from google traduction). leave this bug in stand-by, I look over my side what is the real problem. |
version.hpp ist necessary for the module to work. It is located in /usr/include/boost-1_49/boost/verion.hpp but the modure search in /usr/include/boost/boost/ eselect symlink /usr/include/boost -> boost-1_49/boost but i think it will be /usr/include/boost -> boost-1_49 the module search path for cmake is "${Boost_INCLUDE_DIR}/boost/version.hpp" I don't know if is a module bug or a eselect bug. (an other problem is that Boost_DIR is set to NOT-FOUND) Reproducible: Always