Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432136 - dev-util/cmake - FindBoost module cannot find version.hpp
Summary: dev-util/cmake - FindBoost module cannot find version.hpp
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 21:30 UTC by Cyril
Modified: 2012-08-22 14:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril 2012-08-20 21:30:57 UTC
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
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2012-08-21 13:31:35 UTC
Build log?
Comment 2 Cyril 2012-08-21 15:53:11 UTC
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!
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-08-22 07:14:45 UTC
Can you please attach a full build log?
Comment 4 Cyril 2012-08-22 14:13:31 UTC
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).
Comment 5 Cyril 2012-08-22 14:42:50 UTC
leave this bug in stand-by, I look over my side what is the real problem.