How to upgrade qBittorrent - Raspberry Pi - Debian

Other platforms, generic questions.
SiuLong

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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
User avatar
Peter
Administrator
Administrator
Posts: 3049
Joined: Wed Jul 07, 2010 6:14 pm

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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.
SiuLong

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post by SiuLong »

Now I sleep...
I try tomorrow or week end.
Thanks
lgallard

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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!!
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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.
SiuLong

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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.
SiuLong

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post by SiuLong »

Thanks  sledgehammer
I Wait a new release. Please you send MP for me when exiting.
Thanks very much at all.
Last edited by SiuLong on Mon May 04, 2015 9:41 am, edited 1 time in total.
lgallard

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post by lgallard »

Hi sledgehammer_999,

Would you mind posting those instruction in the forum?

Thanks in advance!!
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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
pricejt

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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?
User avatar
Peter
Administrator
Administrator
Posts: 3049
Joined: Wed Jul 07, 2010 6:14 pm

Re: How to upgrade qBittorrent - Raspberry Pi - Debian

Post 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
Post Reply