On Thu, May 26, 2016 at 6:30 PM, Josh Grosse <[email protected]> wrote: > On 2016-05-26 11:50, Thuban wrote: >> >> Hi, >> I'm trying to build libtorrent [1], but can't figure out how to have >> ./configure detect boost library. > > > Have you tried installing the libtorrent package? :) > > If you'd like to see how libtorrent is built, see the net/libtorrent > port, which includes dependencies, OpenBSD-specific patches, and build > instructions.
These are two different projects with the same name. The one Thuban is trying to build is best known as rasterbar's libtorrent, while the one in our ports tree is rakshasa's libtorrent. Dunno if libtorrent-rasterbar was originally a fork of rakshasa's one. Btw, you have two problems here: 1) '-ftemplate-depth=120' passed to $CXXFLAGS: get rid of it. 2) Use this configure line to correctly find boost libraries: ./configure --with-boost-system=boost_system-mt --with-boost-chrono=boost_chrono-mt --with-boost-random=boost_random-mt Ciao! David

