Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boost how to get boost_date_time library built?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Rossy65
n00b
n00b


Joined: 14 Sep 2016
Posts: 27

PostPosted: Tue Nov 15, 2016 10:16 pm    Post subject: Boost how to get boost_date_time library built? Reply with quote

I have successfully emerged boost:
Code:

SpaceHeaterOne / # !e
emerge --search boost
 
[ Results for search key : boost ]
Searching...

*  dev-libs/boost
      Latest version available: 1.56.0-r1
      Latest version installed: 1.56.0-r1
      Size of files: 92,557 KiB
      Homepage:      http://www.boost.org/
      Description:   Boost Libraries for C++
      License:       Boost-1.0
*  dev-util/boost-build
      Latest version available: 1.56.0
      Latest version installed: 1.56.0
      Size of files: 92,557 KiB
      Homepage:      http://www.boost.org/doc/tools/build/index.html
      Description:   A system for large project software construction, simple to use and powerful
      License:       Boost-1.0



But when I look for the file boost_date_time, its nowhere to be found. It needs to be built.
Code:

SpaceHeaterOne / # find . -name "boost" -print
./sys/devices/system/cpu/cpufreq/boost
./usr/portage/dev-libs/boost
./usr/include/boost
./usr/include/boost/chrono/typeof/boost
SpaceHeaterOne / #


From
[url]
http://www.boost.org/doc/libs/1_31_0/libs/date_time/doc/BuildInfo.html
[/url]
Quote:
Overview

The library has several functions that require the creation of a library file. The Jamfile in the build directory (BOOST_ROOT/libs/date_time/build) will produce the libboost_date_time library that contains these functions. The library is compiled into both static and dynamic (dll) forms. Note that the static library is the prefered form as some compilers have spurious regression test errors using the dynamic library. See the regression test logs at sourceforge for more details.


So.... I should see a BOOST_ROOT/libs/date_time/build

But there is no such directory.

I need some breadcrumbs to figure out how to emerge/fetch the sources so I can build/create the libraries I need.
-R
_________________
Remember, Wherever you go, there you are. --Buckaroo Banzai
Back to top
View user's profile Send private message
Rossy65
n00b
n00b


Joined: 14 Sep 2016
Posts: 27

PostPosted: Tue Nov 15, 2016 10:34 pm    Post subject: My bad ! [SOLVED] Reply with quote

I had an error... I was doing the find incorrectly.
A find . -name "*boost*" finds the libraries... now it's just a Makefile issue.
Code:

SpaceHeaterOne / # find . -name "*boost_date_time*" -print
./usr/lib64/libboost_date_time-mt.so
./usr/lib64/libboost_date_time.so
./usr/lib64/libboost_date_time.so.1.56.0

I did a second emerge of just boost.
Not sure if that was the issue or if my find "boost" was the problem. [DOH!]
_________________
Remember, Wherever you go, there you are. --Buckaroo Banzai
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum