Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170887 - net-libs/rb_libtorrent wants boost built with threads USE flag, but cannot find the library files
Summary: net-libs/rb_libtorrent wants boost built with threads USE flag, but cannot fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 14:59 UTC by Peter Koeleman
Modified: 2007-03-14 18:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Koeleman 2007-03-14 14:59:37 UTC
rb_libtorrent depends on dev-libs/boost and needs dev-libs/boost to be built with theads. This results in the boost library files having a "-mt" suffix. The rb_libtorrent autotools configuration does not find these library files by itself, it needs instructions to find the suffixed files with switches like --with-boost-regex=boost_regex-mt. The configure script can handle it, the ebuild can't.

Reproducible: Always

Steps to Reproduce:
1. Emerge dev-libs/boost with the threads USE flag
2. Emerge net-libs/rb_libtorrent
3. Emerging fails

Actual Results:  
The configure script dies with last messages:

checking whether the compiler implements namespaces... yes
checking whether the Boost::DateTime library is available... yes
checking for main in -lboost_date_time... no
configure: error: unable to find Boost.DateTime library, currently this is required.

Expected Results:  
With the right configure script switches, configure will find all library files.

There is an ebuild file for rb_libtorrent online created by on of the creators of the autotools configure script (me) at http://www.peerweb.nl/gentoo/net-libs/rblibtorrent/rblibtorrent-0.11.ebuild which demonstrates the use of extra switches to find the boost library files.
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-03-14 18:12:11 UTC
Right.

Fixed, thanks.