Running Deluge on Solaris derivatives (OmniOS)

General support for problems installing or using Deluge
telefunken
New User
New User
Posts: 6
Joined: Fri Mar 22, 2013 10:20 am

Re: Running Deluge on Solaris derivatives (OmniOS)

Post 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!
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Running Deluge on Solaris derivatives (OmniOS)

Post 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.
Post Reply