POV-Ray : Newsgroups : povray.unix : Cannot find boost library Server Time
9 Oct 2024 02:45:13 EDT (-0400)
  Cannot find boost library (Message 1 to 3 of 3)  
From: Cousin Ricky
Subject: Cannot find boost library
Date: 4 Oct 2018 22:02:54
Message: <5bb6c64e$1@news.povray.org>
I am attempting to compile v3.8 for the first time, and the 
configuration fails with the message:

----------[BEGIN MESSAGE EXCERPT]----------
...
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/ricky/povray/povray-3.8.0-alpha.9861167':
configure: error: C compiler cannot create executables
See `config.log' for more details
--------------[END MESSAGES]--------------

The config.log reported:

----------[BEGIN LOG EXCERPT]----------
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lboost_system
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
cannot find -lboost_thread
-----------[END LOG EXCERPT]-----------

I omitted the lboost options and got this message:

----------[BEGIN MESSAGE EXCERPT]----------
...
checking for boostlib >= 1.38... configure: We could not detect the 
boost libraries (version 1.38 or higher). If you have a staged boost 
library (still not installed) please specify $BOOST_ROOT in your 
environment and do not give a PATH to --with-boost option.  If you are 
sure you have boost installed, then check your version number looking in 
<boost/version.hpp>. See http://randspringer.de/boost for more 
documentation.
checking whether the Boost::Thread library is available... no
configure: error: cannot find a suitable boost thread library
--------------[END MESSAGES]--------------

The URL given in the message isn't much help if one doesn't know where 
to go from there.  A search on boost on my system yielded:

----------[BEGIN CONSOLE SESSION]----------
 > sudo find / -name '*boost*' |grep -v '^/home'
[sudo] password for root:
find: ‘/run/user/1000/gvfs’/sys/kernel/debug/dri/0/i915_rps_boost_info
: Permission denied
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/gt_boost_freq_mhz
/usr/share/icons/oxygen/base/22x22/actions/mixer-microphone-boost.png
/usr/share/icons/oxygen/base/22x22/actions/mixer-microphone-front-boost.png
/usr/share/licenses/boost-license1_66_0
/usr/share/doc/packages/boost-1.54.0
/usr/share/doc/packages/boost-1.53.0
/usr/lib64/libboost_math_c99f.so.1.53.0
/usr/lib64/libboost_thread.so.1.53.0
/usr/lib64/libboost_signals.so.1.53.0
/usr/lib64/libboost_math_tr1.so.1.53.0
/usr/lib64/libboost_wserialization.so.1.53.0
/usr/lib64/libboost_serialization.so.1.53.0
/usr/lib64/libboost_thread.so.1.54.0
/usr/lib64/libboost_python.so.1.53.0
/usr/lib64/libboost_math_c99.so.1.53.0
/usr/lib64/libboost_timer.so.1.53.0
/usr/lib64/libboost_regex.so.1.66.0
/usr/lib64/libboost_math_tr1l.so.1.53.0
/usr/lib64/libboost_system.so.1.53.0
/usr/lib64/libboost_math_tr1f.so.1.53.0
/usr/lib64/libboost_prg_exec_monitor.so.1.53.0
/usr/lib64/libboost_unit_test_framework.so.1.53.0
/usr/lib64/libboost_chrono.so.1.53.0
/usr/lib64/libboost_system.so.1.66.0
/usr/lib64/libboost_date_time.so.1.53.0
/usr/lib64/libboost_math_c99l.so.1.53.0
/usr/lib64/libboost_filesystem.so.1.66.0
/usr/lib64/libboost_regex.so.1.53.0
/usr/lib64/libboost_filesystem.so.1.53.0
/usr/lib64/libboost_date_time.so.1.66.0
/usr/lib64/libboost_thread.so.1.66.0
/usr/lib64/libboost_iostreams.so.1.66.0
/usr/lib64/libboost_wave.so.1.53.0
/usr/lib64/libboost_date_time.so.1.54.0
/usr/lib64/libboost_iostreams.so.1.53.0
/usr/lib64/libboost_system.so.1.54.0
/usr/lib64/libboost_locale.so.1.66.0
/usr/lib64/libboost_random.so.1.53.0
/usr/lib64/libboost_locale.so.1.53.0
/usr/lib64/libboost_program_options.so.1.53.0
/usr/include/c++/7/bits/boost_concept_check.h
-----------[END CONSOLE SESSION]-----------

However, a search for version.hpp turned up only the files in the 
POV-Ray distribution.

Is there a new way to invoke the boost library?  Or did my OS upgrade 
last weekend screw everything up?  Is there something I should do with 
the boost library in the POV-Ray distribution?

OS: openSUSE Leap 15.0 (GNU/Linux)


Post a reply to this message

From: Le Forgeron
Subject: Re: Cannot find boost library
Date: 5 Oct 2018 02:04:58
Message: <5bb6ff0a$1@news.povray.org>
Le 05/10/2018 à 04:02, Cousin Ricky a écrit :
> I am attempting to compile v3.8 for the first time, and the 
> configuration fails with the message:
> 

> 
> Is there a new way to invoke the boost library?  Or did my OS upgrade 
> last weekend screw everything up?  Is there something I should do with 
> the boost library in the POV-Ray distribution?
> 
> OS: openSUSE Leap 15.0 (GNU/Linux)

If your upgrade went like mine on ubuntu, libboost-all-dev (not the 
exact name, but you get the idea) get removed as part of the clean up.

Reinstall the package and voila.

"They know what is good for you", and they do it anyway.


Post a reply to this message

From: Cousin Ricky
Subject: Re: Cannot find boost library
Date: 8 Oct 2018 19:40:26
Message: <5bbbeaea$1@news.povray.org>
On 2018-10-05 2:04 AM, Le Forgeron wrote:
> 
> If your upgrade went like mine on ubuntu, libboost-all-dev (not the 
> exact name, but you get the idea) get removed as part of the clean up.
> 
> Reinstall the package and voila.

It took me 3 days to get the idea, but it compiles now.

Thanks!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.