Page 2 of 2

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 7:48 pm
by SiuLong
I try sudo chown......
launched ./configure, the result of error is always the same.
i used to check conf.log. RESULT...
/usr/bin/moc-qt4 -DQT_WEBKIT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/in
clude/qt4 -I. conf4.cpp -o conf4.moc
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/includ
e/qt4/QtCore -I/usr/include/qt4 -I. -o conf4.o conf4.cpp
In file included from conf4.cpp:703:0:
libboost.qcm:8:29: fatal error: boost/version.hpp: No such file or directory
compilation terminated.
Makefile:213: recipe for target 'conf4.o' failed
make: *** [conf4.o] Error 1

I also tryed sudo ./configure, these errors is always the same.
I know damn desperate ') ') ')

Where I went wrong and how do I fix it?
Thanks very much for the patient

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 8:42 pm
by Peter
Have you used "apt-get build-dep"?

Do this:
$ sudo apt-get build-dep qbittorrent
$ sudo apt-get install build-essential

Then give ./configure a new try.

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Thu Apr 30, 2015 9:25 pm
by SiuLong
Now I sleep...
I try tomorrow or week end.
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sat May 02, 2015 6:15 am
by lgallard
Raspbian is based on Debian Wheezy where qBittorrent version is 2.9.8. On the other hand, Raspbmc is based on Debian Jessie, which has qBittorrent version 
3.1.10.  In testing qBittorrent version is 3.1.10 and unstable has 3.1.11.

I see you want to compile version 3.1.12  for your Raspberry. Just take into account two things:

1. Make sure you set your right architecture. For Raspberry it should be armhf (check it with uname -m)
2. It might take a lot of time, due to the limited resources in the Raspberry. Maybe cross-compiling in a PC will speed things up (long time I don't cross-compile anything).

Good luck!!

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sat May 02, 2015 10:57 pm
by sledgehammer_999
v3.2.0 will be released next Saturday. It was a better build system.
In the meantime you might want to reinstall Debian on your sd card because I think you have borked your file/folder permissions.

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sun May 03, 2015 12:07 pm
by SiuLong
Hi sledgehammer..
I reinstalled a Debian Weezy from original site Raspberry.
The system work fine.
Who other to install? What link ti install qbittorrent step by step?
Thanks

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sun May 03, 2015 4:10 pm
by ciaobaby

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sun May 03, 2015 4:20 pm
by sledgehammer_999
[quote="ciaobaby"]
https://github.com/qbittorrent/qBittorr ... and-Ubuntu
[/quote]

No don't follow that guide.
Wait for when I release v3.2.0 and PM me. I'll write better instructions.

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sun May 03, 2015 4:32 pm
by SiuLong
Thanks  sledgehammer
I Wait a new release. Please you send MP for me when exiting.
Thanks very much at all.

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Mon May 04, 2015 9:58 am
by lgallard
Hi sledgehammer_999,

Would you mind posting those instruction in the forum?

Thanks in advance!!

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Sun May 10, 2015 7:37 pm
by sledgehammer_999
I am going to write it here first since I don't have clean VM to test it on at the moment.
Note: I may have forgotten some dependecies. I also assume that use either Debian testing or Debian unstable which have libtorrent 0.16.x. Older versions will not work. The instructions below will work for v3.2.0 onwards.

Issue:

Code: Select all

sudo apt-get build-essential libqt4-dev libboost-dev libboost-system-dev libtorrent-rasterbar-dev pkg-config zlib1g-dev libqjson-dev
Then go into the qbt source dir and issue:

Code: Select all

./configure --prefix=<path> --with-libtorrent-rasterbar0.16 --with-qjson=system
Where <path> is the path of a folder where your user write permission. (eg subfolder on Desktop). Launching the qbt binary from that dir will work. Menu entries, systemd service files etc will not work because they won't be installed in the system paths.
If you want to install to the default system path you'll need to run the above command with sudo and ommit the "--prefix".

After that just issue:

Code: Select all

make -jX
where X is the number of cores you have.
Finally

Code: Select all

make install

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Fri Dec 02, 2016 11:38 pm
by pricejt
Is there a new guide for how to do this someplace. @sledghammer_999 you indicated you were going to write it here first then i assume an official document someplace else?

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Posted: Wed Dec 14, 2016 8:24 am
by Peter
I don't think anything changed since.

To always get the latest build-dependencies, simply use:

Code: Select all

sudo apt-get build-dep qbittorrent

Code: Select all

sudo apt-get build-dep libtorrent-rasterbar