Page 1 of 2

Help Installing from Source

Posted: Fri Jun 05, 2015 4:43 am
by dinjo
I'm trying to install 3.2 on Ubuntu but it seems to have lot of dependencies with new piece of software there is no dsc on Ubuntu or Debian has anyone able to compile it from source ?

Code: Select all

Checking for boost libraries:
checking for boostlib >= 1.36... yes
checking whether the Boost::System library is available... yes
configure: error: Boost.System library not found. Try using --with-boost-system=lib
10:11:01 ~/libtorrent-rasterbar-1.0.4# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty


Re: Help Installing from Source

Posted: Fri Jun 05, 2015 9:42 pm
by Peter
How comes you don't want to use the PPA?
https://launchpad.net/~qbittorrent-team ... ent-stable

Re: Help Installing from Source

Posted: Tue Jun 09, 2015 12:04 am
by neuron
[quote="dinjo"]
I'm trying to install 3.2 on Ubuntu but it seems to have lot of dependencies with new piece of software there is no dsc on Ubuntu or Debian has anyone able to compile it from source ?

Code: Select all

Checking for boost libraries:
checking for boostlib >= 1.36... yes
checking whether the Boost::System library is available... yes
configure: error: Boost.System library not found. Try using --with-boost-system=lib
10:11:01 ~/libtorrent-rasterbar-1.0.4# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

[/quote]

Hi,

I compile my versions from many versions  ... back

You can use libtorrent 1.05 ... and Qt from source and everything work.

Use Synaptic to install libxxxxxxx-dev ... Boost and other libs

You need to adjust some options in ./configure

I'm happy to help you in this research :-) :-) :-)

Regards,

Neuron

Re: Help Installing from Source

Posted: Sat Aug 22, 2015 5:08 am
by dinjo
I added the branch with add repository update and upgrade and when i do a install apt-get install qbittorrent-nox it says newest version already installed.

Re: Help Installing from Source

Posted: Sat Aug 22, 2015 1:47 pm
by ciaobaby
it says newest version already installed.
aptitude/apt-get uses whatever executable is 'current' in the packages defined on your machine.

Code: Select all

apt-cache show qbittorrent | egrep "[Vv]ersion"
To show what version it is.

Re: Help Installing from Source

Posted: Sat Aug 22, 2015 3:54 pm
by dinjo
?

root@c1:~# apt-cache show qbittorrent-nox| grep V
Version: 3.1.8-2

I have already added PPA package and did a update , upgrade and dist-upgrade
root@c1:/etc/apt/sources.list.d# apt-cache policy qbittorrent
qbittorrent:
  Installed: (none)
  Candidate: 3.1.8-2
  Version table:
    3.1.8-2 0
        500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf Packages



Just to add i'm on arm

Re: Help Installing from Source

Posted: Sat Aug 22, 2015 5:08 pm
by ciaobaby
Seems like you will have to compile everything then.

download libboost 1.55

The "instructions" that they provide for installing are, even by Linux open source library standards pretty abysmal and about as clear as mud. but CoderWall to the rescue, and explain it in English rather than in convoluted Gibberish with an extra large measure of Geekinese thrown in.

Download libtorrent 1.0.n and compile in the usual way

Then download and compile whatever version of qbittorrent you are wanting to use.

Re: Help Installing from Source

Posted: Sun Aug 23, 2015 5:33 am
by dinjo
Checking for boost libraries:
checking for boostlib >= 1.36... yes
checking whether the Boost::System library is available... yes
checking for exit in -l/usr/lib/arm-linux-gnueabihf... no
checking for exit in -lboost_system-/usr/lib/arm-linux-gnueabihf... no
configure: error: Could not link against boost_system-/usr/lib/arm-linux-gnueabihf !
root@c1:~/libtorrent-rasterbar-1.0.6# ./configure --with-boost-system=/usr/lib/arm-linux-gnueabihf

:-\

EDIT - Fixed with adding with-boost-libdir , it points to dir other command tries to refer to file

./configure  --with-boost-libdir=/usr/lib/arm-linux-gnueabihf


Will install qbittorrent now

Re: Help Installing from Source

Posted: Sun Aug 23, 2015 7:17 am
by dinjo
Ok installed but i cannot go past webgui from browser I have compiled with disable gui.

Password tried - admin, adminadmin

root@c1:~/.config/qBittorrent# ls -rlt
total 12
-rw-r--r-- 1 root root 1882 Jan  1  1980 qBittorrent.conf
-rw-r--r-- 1 root root 1731 Aug 22 08:17 qBittorrent-resume.conf
-rw-r--r-- 1 root root  201 Aug 23 12:46 qBittorrent-data.conf

Dont see locked

root@c1:~/.config/qBittorrent# qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator user name is: admin

Re: Help Installing from Source

Posted: Sun Aug 23, 2015 8:09 am
by dinjo
Referred this and its working now
index.php/topic,3636.msg18216.html#msg18216

Re: Help Installing from Source

Posted: Sun Aug 23, 2015 12:24 pm
by ciaobaby
[quote="dinjo"]
Referred this and its working now
index.php/topic,3636.msg18216.html#msg18216
[/quote]

Woo Hoo! Someone who is prepared and willing to  actually take the initiative in finding solutions, instead of needing it spoon fed to them.

dinjo You're hired!  :D

Re: Help Installing from Source

Posted: Sat Dec 12, 2015 2:57 am
by dinjo
I was looking to compile 3.3.1 vut QT 5.5 has hit the road block , are we sure we need this instruction to be followed the size is 305MB ??

http://www.linuxfromscratch.org/blfs/vi ... x/qt5.html


Then i configured by using qt4 so it does not matter whether its qt4 or qt5 if i'm not using the GUI ? I use Web GUI but not the linux since I'm on command line Debian

./configure  --disable-gui  --with-qt4 --with-boost-libdir=/usr/lib/arm-linux-gnueabihf

Re: Help Installing from Source

Posted: Sat Dec 12, 2015 12:31 pm
by ciaobaby
[quote="dinjo"]
I was looking to compile 3.3.1 vut QT 5.5 has hit the road block , are we sure we need this instruction to be followed the size is 305MB ??

http://www.linuxfromscratch.org/blfs/vi ... x/qt5.html
[/quote]

Tried it ... ... Doesn't work as expected, always ends with the buggy 5.2.1 installed instead of the expected 5.5.x

https://wiki.qt.io/Building_Qt_5_from_Git

Tried it several times ... ... Doesn't work as expected either

So if ANYBODY knows how to get QT5 to works as you would expect, without having to rebuild the machine from the ground up ... .. tell me please.

Re: Help Installing from Source

Posted: Sat Dec 12, 2015 12:33 pm
by ciaobaby
By the way

"as you would expect" means;

Without having to 'manually' create a minefield of symlinks and aliases.

Re: Help Installing from Source

Posted: Sat Dec 12, 2015 4:43 pm
by ciaobaby
Well! I give up.


After three days of Installing, removing, rebuilding, installing, removing cleaning out every trace of qt5, downloading, rebuilding etc. etc. ad nauseam, I cannot get qt5 to actually be at ANY version higher than 5.2.1 which has a bug that means the tray icon is missing.

Searching the problem on Google brings up plenty of complaints about the "so-called installer" screwing things up but no real solution as yet.