[ opensolaris-code Bcc'ed, sfwnv-discuss added ]

Thomas Burgess wrote:

> I'm going nuts.  I've been trying for a week to get rtorrent working in
> opensolaris.  I know it's possible becauuse i've seen others with it.  I
> want to get a newer version of rtorrent with xmlrpc-c running so i can
> use it with one of the many web front ends.  There is a spec file for
> rtorrent but it's quite old.  There is an rtorrent in sun freeware but IT
> is also quite old, and lacks xmlrpc-c 
> 
> I've been able to get xmlrpc-c installed, i can get libtorrent to build
> but rtorrent fails on a number of spots.  I've found some patches which
> are SUPPOSED to work with opensolaris and rtorrent according to
> http://libtorrent.rakshasa.no/ticket/1935
> 
> I've tried many things and spent hours on google.  So heres where i'm at
> right now...if anyone can help me, this is my latest error:
> 
> http://pastebin.com/f56215952
> 
> I'm either looking for a solution to this error OR someone who knows how
> to build rtorrent on opensolaris to help with some step by step
> instructions.  I'm totally lost.  Building software on FreeBSD is a lot
> different. 

rtorrent 0.8.2 and libtorrent 0.12.2 are available as SUNWrtorrent and
SUNWlibtorrent in the /dev repo, but it looks like xmlrpc-c support is not
compiled in.  That's a valid (and pretty easy to implement, from the looks
of it) RFE which you could bring up on sfwnv-discuss.

You can see how OpenSolaris compiles rtorrent and libtorrent at the sfwnv
project page:

    http://hub.opensolaris.org/bin/view/Project+sfwnv/

There's a link to the build instructions there, too:

    http://hub.opensolaris.org/bin/view/Project+sfwnv/install_quickstart

Since you'll be building your own, you won't need to follow most of the
instructions, but just grab the source tarball:

    http://dlc.sun.com/osol/sfw/downloads/current/

Alternately, you can poke around in

    http://cvs.opensolaris.org/source/xref/sfw/usr/src/

See lib/libtorrent and cmd/rtorrent and their respective Makefile.sfw
files for details on how they're actually built.  I don't know whether the
patches are still useful after almost two years of change in rtorrent, but
you may find something of value there.

Hope this helps,
Danek

Reply via email to