Page 2 of 2
Re: Running Deluge on Solaris derivatives (OmniOS)
Posted: Sun Mar 24, 2013 1:21 pm
by telefunken
Had to change the line to:
Code: Select all
./b2 --prefix=/usr variant=release threading=multi link=shared --with-system --with-python install
Rebuilt boost, tried libtorrent as before with same results...Very frustrating this, feels like it so close to actually work!
Re: Running Deluge on Solaris derivatives (OmniOS)
Posted: Sun Mar 24, 2013 5:00 pm
by Cas
The only possible place I can see where
BOOST_HAS_PTHREADS is actually defined is in
posix_features.hpp
Code: Select all
# if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_MPTASKS)
# define BOOST_HAS_PTHREADS
# endif
What you need to determine is whether
BOOST_HAS_PTHREADS is defined then undefined in
solaris platform or
BOOST_HAS_PTHREADS is never defined and instead need to look to why
_POSIX_THREADS is not defined. You can add
#error lines to those files to determine whether the compiler gets to those stages or not.
You could probably also ask the boost devs for help as without having a solaris system to test I can only guess at the issue.