POV-Ray : Newsgroups : povray.unix : Cannot find boost library : Cannot find boost library Server Time
29 Nov 2021 21:39:30 EST (-0500)
  Cannot find boost library  
From: Cousin Ricky
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

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