Hi, Folks.
I'm trying to compile qbittorrent 2.9.11 in my debian in order to achieve two goals that i can't achieve just using the .deb :
a) I need qbittorrent to use UTF-8 or ISO-8859-15
b) I'd need to set an umask to the files downloaded in order to interact with other system users
I've downloaded qbittorrent 2.9.11 from here : http://downloads.sourceforge.net/qbitto ... irror=osdn
I've run configure with this results :
root@ks394606:/usr/src/qbittorrent-2.9.11# ./configure --prefix=/usr
Configuring qbittorrent ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.5 ... yes
Checking for QtDBus >= 4.5 ... yes
Checking for pkg-config executable ... yes
Checking for libtorrent-rasterbar >= 0.14.4 ... yes
Checking for libboost ... yes
Checking for GeoIP Database (optional) ... yes
Checking for qtsingleapplication library ... [shipped] yes
Good, your configure finished. Now run /usr/bin/make.
Then I run make and got this error :
qtlibtorrent/qbtsession.cpp: In function 'libtorrent::sha1_hash QStringToSha1(const QString&)':
qtlibtorrent/qbtsession.cpp:98: error: 'from_hex' was not declared in this scope
make[1]: *** [qbtsession.o] Error 1
make[1]: se sale del directorio `/usr/src/qbittorrent-2.9.11/src'
make: *** [sub-src-make_default] Error 2
I've wanted to test wether the codification mess where solved just default compiling and installed instead of using the .deb but it just didn't worked out.
Any hint?
Thanx for your work and patience !!
Problems compiling in debian
Re: Problems compiling in debian
As the error hints, you have to care about your libtorrent-rasterbar too.
It's the thing that makes qBittorrent work. It's essential for the application.
So ... if you have an older libtorrent-rasterbar in your distro, you will have to compile that too.
It's the thing that makes qBittorrent work. It's essential for the application.
So ... if you have an older libtorrent-rasterbar in your distro, you will have to compile that too.
Re: Problems compiling in debian
OK, an update to my current status :
I have compiled and installed an updated libtorrent-rasterbar, tried to make again and got another error. Downloaded and installed boost 1.36 ( after hundreds of errors ), tried again and got another error. Downloaded boost 1.50 but no idea on how to install it.
Is it really that difficult to compile qbittorrent 2.9?
What are, in brief, the true steps to get it compiled in a Debian system? ./configure stated all was right at the beggining but it's clear it was wrong
I have compiled and installed an updated libtorrent-rasterbar, tried to make again and got another error. Downloaded and installed boost 1.36 ( after hundreds of errors ), tried again and got another error. Downloaded boost 1.50 but no idea on how to install it.
Is it really that difficult to compile qbittorrent 2.9?
What are, in brief, the true steps to get it compiled in a Debian system? ./configure stated all was right at the beggining but it's clear it was wrong

Re: Problems compiling in debian
There is boost 1.50 available in "unstable" but no guarantee as to how stable it may be or how unstable it may make the rest of the system. I haven't attempted to build it myself.
Re: Problems compiling in debian
You can always use apt-pinning. Or the easiest way?
Use a virtual machine where it doesn't matter how you mess up your system, you can just make a snapshot and revert later.
Virtualbox for example is completely free. Install a headless guest, and SSH into it.
There you can build everything (i.e.: packages) and then just copy them to your machine again, with SSH (SFTP).
Use a virtual machine where it doesn't matter how you mess up your system, you can just make a snapshot and revert later.
Virtualbox for example is completely free. Install a headless guest, and SSH into it.
There you can build everything (i.e.: packages) and then just copy them to your machine again, with SSH (SFTP).
Re: Problems compiling in debian
In fact it's a dedicated server over the Internet so no problem messing it up 
I ended up upgrading to wheezy and apt-installing 2.9.8 ( you were right in doing things the easy way
)
Unicode works great
Ratio Limits works great
There's only one thing left, but it doesn´t scares me
-> qbittorrent is unable to delete files it downloads ... but well, as it moves them to another directory, it's time to check permissions on this files and directories 
Thanx a lot for your patience and work !!!

I ended up upgrading to wheezy and apt-installing 2.9.8 ( you were right in doing things the easy way

Unicode works great
Ratio Limits works great
There's only one thing left, but it doesn´t scares me


Thanx a lot for your patience and work !!!
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: Problems compiling in debian
[quote="kaskade"]
There's only one thing left, but it doesn´t scares me
-> qbittorrent is unable to delete files it downloads ... but well, as it moves them to another directory, it's time to check permissions on this files and directories 
[/quote]
Is this related to this -> http://qbforums.shiki.hu/index.php?topic=886.0
There's only one thing left, but it doesn´t scares me


[/quote]
Is this related to this -> http://qbforums.shiki.hu/index.php?topic=886.0
Re: Problems compiling in debian
[quote="sledgehammer_999"]
[quote="kaskade"]
There's only one thing left, but it doesn´t scares me
-> qbittorrent is unable to delete files it downloads ... but well, as it moves them to another directory, it's time to check permissions on this files and directories 
[/quote]
Is this related to this -> http://qbforums.shiki.hu/index.php?topic=886.0
[/quote]
No, it's like I click and select delete torrent and files on the hard disk .... but files are still there. I have to test it with 2.8.9 because i think i have get it to run but i'm not sure.
I'll post when i test it more deeply
Thanx for the reply !!
[quote="kaskade"]
There's only one thing left, but it doesn´t scares me


[/quote]
Is this related to this -> http://qbforums.shiki.hu/index.php?topic=886.0
[/quote]
No, it's like I click and select delete torrent and files on the hard disk .... but files are still there. I have to test it with 2.8.9 because i think i have get it to run but i'm not sure.
I'll post when i test it more deeply

Thanx for the reply !!
Re: Problems compiling in debian
It seems it works OK although maybe some erratic behaviour when different VNC users interact with torrents ( only one at a time ) I'll keep on testing it 
At least it works with ñ letter and is able to remove files from disc
I'll keep you updated as soon as i'm able to determine what happens with VNC
I really appreciate all your help and patience
Thanx a lot

At least it works with ñ letter and is able to remove files from disc

I'll keep you updated as soon as i'm able to determine what happens with VNC

I really appreciate all your help and patience

Thanx a lot
