Building libtorrent in Debian Jessie on ARM
Posted: Wed Nov 18, 2015 12:44 pm
I'm pulling my hair on this one. Have been trying to deal with this for a week already.
I tried downloading both source tarball for libtorrent 6 and 7. Steps taken:
I try to track the build with htop, after some time the build stops using processor and starts using more and more ram, eventually filling swap and crashing the machine (I'm using a cubieboard with 1GB RAM).
if I configure without '--prefix=/usr' however, the 'make' finishes without any problems. However the lib won't be installed correctly, because when I run 'python -c "import libtorrent; print libtorrent.version"' I get an error: ImportError: No module named libtorrent
and deluge will use the older lib. I'm at the end of my wits... any suggestions?
PS. As I said, I am currently running Debian Jessie on ARM.
Kernel: 4.2.3-sunxi
Proc: ARMv7 Processor rev 2 (v7l)
Memory: 1GB ram
P.P.S.: When the make crashes I'm getting messages like the following:
and
I tried downloading both source tarball for libtorrent 6 and 7. Steps taken:
Code: Select all
./configure --enable-python-binding --with-libgeoip=system --with-libiconv --prefix=/usr --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
make
if I configure without '--prefix=/usr' however, the 'make' finishes without any problems. However the lib won't be installed correctly, because when I run 'python -c "import libtorrent; print libtorrent.version"' I get an error: ImportError: No module named libtorrent
and deluge will use the older lib. I'm at the end of my wits... any suggestions?
PS. As I said, I am currently running Debian Jessie on ARM.
Kernel: 4.2.3-sunxi
Proc: ARMv7 Processor rev 2 (v7l)
Memory: 1GB ram
P.P.S.: When the make crashes I'm getting messages like the following:
Code: Select all
"cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++"
Code: Select all
‘libtorrent::torrent_info::file_iterator libtorrent::torrent_info::end_files() const’ is deprecated