View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007508CMakeModulespublic2008-08-20 06:482009-02-23 22:41
ReporterJarl Friis 
Assigned ToPhilip Lowman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake-2-6 
Summary0007508: FindBoost fails to find boost on SuSE 10.3
DescriptionSummary says it all, here is a patch:


--- FindBoost.cmake~ 2008-08-01 17:34:50.000000000 +0200
+++ FindBoost.cmake 2008-08-20 12:34:47.000000000 +0200
@@ -438,6 +438,7 @@
                ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION}
                ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}
                ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG}
+ ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${Boost_LIB_VERSION}
                ${Boost_LIB_PREFIX}boost_${COMPONENT}
         HINTS ${_boost_LIBRARIES_SEARCH_DIRS}
     )
TagsNo tags attached.
Attached Filestxt file icon boost-devel.txt [^] (179,296 bytes) 2009-01-19 04:38 [Show Content]

 Relationships
related to 0008404closedPhilip Lowman FindBoost in CMake 2.6.2 doesn't work on Gentoo 

  Notes
(0014613)
Philip Lowman (developer)
2009-01-19 02:36

Jarl,

I've included the patch. Would you be so kind as to include a directory listing of what your Boost filenams look like on Suse 10.3?

Committer: Philip Lowman <philip@yhbt.com>
/cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake
new revision: 1.27; previous revision: 1.26
(0014614)
Jarl Friis (reporter)
2009-01-19 04:37
edited on: 2009-01-19 04:40

I have switched to Ubuntu, but from ftp://mirrors.kernel.org/opensuse/distribution/10.3/repo/oss/suse/i586/ [^] I have taken
boost-1.33.1-108.i586.rpm boost-devel-1.33.1-108.i586.rpm

and the result of rpm -qlp boost-1.33.1-108.i586.rpm is
/usr/lib/libboost_date_time.so.1.33.1
/usr/lib/libboost_filesystem.so.1.33.1
/usr/lib/libboost_iostreams.so.1.33.1
/usr/lib/libboost_prg_exec_monitor.so.1.33.1
/usr/lib/libboost_program_options.so.1.33.1
/usr/lib/libboost_python.so.1.33.1
/usr/lib/libboost_regex.so.1.33.1
/usr/lib/libboost_serialization.so.1.33.1
/usr/lib/libboost_signals.so.1.33.1
/usr/lib/libboost_test_exec_monitor.so.1.33.1
/usr/lib/libboost_thread-mt.so.1.33.1
/usr/lib/libboost_unit_test_framework.so.1.33.1
/usr/lib/libboost_wserialization.so.1.33.1
/usr/share/doc/packages/boost
/usr/share/doc/packages/boost/NEWS


and I will attach the result of rpm -qlp boost-devel-1.33.1-108.i586.rpm

Further you may want to investigate the filenames in the equivalent packages in the 11.0 version. These can be found on same ftp site.

Jarl

(0014615)
Philip Lowman (developer)
2009-01-19 05:10
edited on: 2009-01-19 05:16

Hmm, the lines below (in current FindBoost) should catch the symlinks in the boost-devel package without you having to add the line that you did. I'm not sure what went wrong with FindBoost for you but I suspect it was one of the other dozen bugs I've fixed in the last few days.

 ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}
 ${Boost_LIB_PREFIX}boost_${COMPONENT}

Resolves to
  boost_regex-mt
  boost_regex

Adding the line you proposed: ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}-${Boost_LIB_VERSION}

Would resolve to:
  boost_regex-mt-1_33_1
  boost_regex-1_33_1
In other words search for the following files (in this order)
  libboost_regex-mt-1_33_1.so
  libboost_regex-mt-1_33_1.a
  libboost_regex-1_33_1.so
  libboost_regex-1_33_1.a

Not sure what went wrong exactly, I wouldn't lose much sleep over it though. FindBoost has had some serious issues (which hopefully are all fixed now. =) )

(0014642)
Philip Lowman (developer)
2009-01-19 23:00

Perhaps Suse patched their RPMs? A user suggested adding the same line as you to FindBoost (amongst a few others) to resolve issues on Gentoo.

http://public.kitware.com/Bug/view.php?id=8404 [^]

 Issue History
Date Modified Username Field Change
2008-08-20 06:48 Jarl Friis New Issue
2008-08-20 09:53 Bill Hoffman Status new => assigned
2008-08-20 09:53 Bill Hoffman Assigned To => Douglas Gregor
2009-01-19 02:36 Philip Lowman Note Added: 0014613
2009-01-19 04:37 Jarl Friis Note Added: 0014614
2009-01-19 04:38 Jarl Friis File Added: boost-devel.txt
2009-01-19 04:40 Jarl Friis Note Edited: 0014614
2009-01-19 05:10 Philip Lowman Note Added: 0014615
2009-01-19 05:16 Philip Lowman Note Edited: 0014615
2009-01-19 23:00 Philip Lowman Relationship added related to 0008404
2009-01-19 23:00 Philip Lowman Note Added: 0014642
2009-01-28 23:48 Philip Lowman Assigned To Douglas Gregor => Philip Lowman
2009-01-28 23:48 Philip Lowman Status assigned => resolved
2009-01-28 23:48 Philip Lowman Resolution open => unable to reproduce
2009-02-23 22:41 Philip Lowman Status resolved => closed
2009-02-23 22:41 Philip Lowman Fixed in Version => CMake-2-6


Copyright © 2000 - 2018 MantisBT Team