The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=15860
======================================================================
Reported By: Yubin Lim
Assigned To:
======================================================================
Project: CMake
Issue ID: 15860
Category: Modules
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 2015-11-24 23:55 EST
Last Modified: 2015-11-24 23:55 EST
======================================================================
Summary: FindBoost module return fails
Description:
My CentOS 6.6 with SCL/devtoolset-3 machine, FindBoost module return this error
always.
CMake Error at /usr/lib64/boost/Boost.cmake:536 (message):
The imported target "boost_date_time-static" references the file
"/usr/lib64/lib64/libboost_date_time.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib64/boost/Boost.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib64/boost/BoostConfig.cmake:28 (include)
/usr/share/cmake-3.4/Modules/FindBoost.cmake:210 (find_package)
src/pw/_check/CMakeLists.txt:302 (include)
-- Configuring incomplete, errors occurred!
See also "/home/purewell/git/libpw.centos6/build/CMakeFiles/CMakeOutput.log".
See also "/home/purewell/git/libpw.centos6/build/CMakeFiles/CMakeError.log".
make: *** [unix] Error 1
Steps to Reproduce:
1. yum install scl, devtoolset-3, boost(1.41 official of CentOS6.6)
2. make CMakeLists.txt
=====
cmake_minimum_required(VERSION 3.4)
find_package(Boost 1.41 REQUIRED regex)
=====
3. run "scl enable devtoolset-3 bash"
4. cmake .
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-11-24 23:55 Yubin Lim New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers