Hi,
While I tryied to compil deluge-1.3.6 und Ubuntu 12.10 x64 and i got this message:
/libtorrent/src/torrent_info.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_ASIO_SEPARATE_COMPILATION -O2 -Wno-missing-braces
./libtorrent/src/torrent_info.cpp: In function ‘boost::filesystem::path libtorrent::sanitize_path(const boost::filesystem::path&)’:
./libtorrent/src/torrent_info.cpp:202:30: error: invalid initialization of reference of type ‘const string& {aka const std::basic_string<char>&}’ from expression of type ‘const boost::filesystem::path’
./libtorrent/src/torrent_info.cpp:187:7: error: in passing argument 1 of ‘bool libtorrent::valid_path_element(const string&)’
error: command 'gcc' failed with exit status 1
I set before -DBOOST_FILESYSTEM_VERSION=3 under setup.py.
Could you help me please?
libtorrent
Re: libtorrent
solved it. in get_libtorrent.sh i had to change to 16. why is there still 14??? and in setup.py -DBOOST_FILESYSTEM=V3.
Re: libtorrent
There are several issue here:
- On the source install instruction the prerequisite to installing Deluge is that libtorrent is installed.
- There is old code in setup.py that will only attempt to build and install libtorrent if it cannot be found and defaults to 0.14 as that is the minimum version supported.
- libtorrent <= 16 cannot be installed on 12.10 due to boost version
- Setting options without knowing why is never wise, -DBOOST_FILESYSTEM=V3 should not be used for lt <=0.16 and for lt >=0.16 it is irrelevant.
- If you are using Ubuntu the best way to install release versions is the use the PPA.
Re: libtorrent
thank you for your answer. there was no error while compile libtorrent-rasterbar-16.10. i installed libboost1.49-dev bevor and run "apt-get build dep libtorrent-rasterbar6". i used the ppa but i have always a memory leak. after compile deluge and libtorrent there was still the same problem and i installed "linux-headers-3.10.0-031000rc3" x64. now the memory leak still exist, i will lose all my hair. maybe its the remote connection? i connect with deluge-gtk (ppa) to deluged (now selfcompiled and running on my server). Maybe there is a problem with big files, like 200gb, and a lot of torrents (+600)? deluged has a new 2tb hdd.
i'm a little noob, i have no idea how to find this shity mem-leak. There is no process listend in "top" which use all that ram and killall -w deluged wont free the ram, only a restart works.
amd 6x3.4ghz, 8gb ram, because of the mem-leak i created a swap 32gb
, 4xSATA-II, 2xSATA-III HDD. on my server is deluged and nfs-kernel-server running and i have crypted partition (cryptsetup: luks -256/512bit).
thank you a lot for your support!
i'm a little noob, i have no idea how to find this shity mem-leak. There is no process listend in "top" which use all that ram and killall -w deluged wont free the ram, only a restart works.
amd 6x3.4ghz, 8gb ram, because of the mem-leak i created a swap 32gb

thank you a lot for your support!
Re: libtorrent
Are you sure you actually have a memory leak, the fact no process is showing using all the ram in top suggests this: http://www.linuxatemyram.com/
Re: libtorrent
Thank you a lot!! you are the best man! xD so there isnt really a problem xD in top its listened cached
but there was a problem with my old server, the old server get very slowly when the cache was full used and minimal once in the week there was a crash. so i was waiting that the new server will do the same
maybe the old ram was broken.
Oh man you dont know how happy you made me right now xD


Oh man you dont know how happy you made me right now xD