Open TheBloke opened 6 years ago
Just out of curiosity, can you build rtorrent-ps-ch ?
@chros73 I will try now. Before looking at rtorrent I did briefly investigate rtorrent-ps-PS-1.0 but its build system looked very Linux-specific so I thought I'd try vanilla first.
I'll go try ps-ch now. Thanks.
If ps-ch won't work for whatever reason then try ps, its building system slightly different.
OK thanks, I am looking at them now.
So do you think rtorrent-ps-* might work better on Solaris than rtorrent?
@pyroscope coupled couple of libraries into it, that's why I think it can behave better. The biggest problem for you can be to figure out what packages it needs to be able to compile.
Hi
I'm trying to build rtorrent 0.9.6 and libtorrent 0.13.6 on Solaris 11.3 using GCC 7.2.
I can get it built and the UI works OK, but whenever a torrent starts to download rtorrent quickly segfaults with the errors such as these (two outputs from two runs shown):
I am configuring libtorrent with the following command:
OPENSSL_CFLAGS="-I/usr/include/openssl" OPENSSL_LIBS="-L/usr/lib/amd64" CFLAGS="-m64" CPPFLAGS="-m64" PATH=/opt/lsw/stack/tools/gcc/bin:/opt/lsw/bin:/usr/bin:/usr/sbin ARCH="-m64" ./configure --prefix=/opt/lsw/stack/tools/libtorrent-0.13.6
And rtorrent with the following:
libtorrent_CFLAGS="-I/opt/lsw/include" libtorrent_LIBS="-L/opt/lsw/lib -ltorrent" CFLAGS="-I/opt/lsw/include -I/usr/include/ncurses -m64" CPPFLAGS="-I/opt/lsw/include -I/usr/include/ncurses -m64" LDFLAGS="-lsocket -lnsl" PATH=/opt/lsw/stack/tools/gcc/bin:/opt/lsw/bin:/usr/bin:/usr/sbin ARCH="-m64" ./configure --prefix=/opt/lsw/stack/tools/rtorrent-0.9.6
(/opt/lsw/lib and /opt/lsw/include contains symlinks to the appropriate files in /opt/lsw/stack/tools/libtorrent-0.13.6)
Here is a Gist containing config.log for libtorrent-0.13.6 and rtorrent-0.9.6: https://gist.github.com/TheBloke/20c982f0cedb57c377a12a6841f9ebb0
I realise Solaris is not going to be a priority platform, but I would be grateful for any help in diagnosing and potentially fixing the issue. I have a working copy of rtorrent 0.8.6, built by the Solaris dev team. But none of the advanced config examples I am seeing for rtorrent.rc work on the older 0.8.6.
Let me know if I can provide any further info.
Thanks in advance.