On 11/10/2013 04:50 PM, Rich Mattes wrote:
> On 11/10/2013 04:29 PM, fung wrote:
>> Hi Gonzalo Fernando Perez Paina,
>> Hello! How’s everything?
>> I have tried to
>> $ sudo apt-get remove libboost-dev
>> $sudo apt-get remove libboost-thread-dev
>> $sudo apt-get remove libboost-signals-dev
>> $sudo apt-get remove libboost-system-dev
>> and installed (corrected)
>> $sudo apt-get install libboost1.54-dev
>> $sudo apt-get install libboost-thread1.54-dev
>> $sudo apt-get install libboost-signals1.54-dev
>> $sudo apt-get install libboost-system1.54-dev
> Is there any reason you need version 3.0.2? Can you try building
> Player from subversion? There have been some changes as to how Player
> detects Boost since 3.0.2 was released.
I just set up a saucy chroot and tried this myself. I was able to
recreate the issue, and it looks like the fix in Player svn will work.
To be specific, in client_libs/libplayerc++/CMakeLists.txt, there are
two mechanisms to find boost. One is for CMake 2.6+ and one is a
fallback for older versions of CMake. The logic is faulty though: the
scripts check for "CMAKE_MINOR_VERSION EQUAL 6" which worked for CMake
2.6, but is broken for CMake 2.8. To fix the issue, replace
"CMAKE_MINOR_VERSION EQUAL 6" with "CMAKE_MINOR_VERSION GREATER 5".
This is the fix that went into svn.