Help Installing from Source

Linux specific questions, problems.
dinjo

Help Installing from Source

Post 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

User avatar
Peter
Administrator
Administrator
Posts: 2701
Joined: Wed Jul 07, 2010 6:14 pm

Re: Help Installing from Source

Post by Peter »

How comes you don't want to use the PPA?
https://launchpad.net/~qbittorrent-team ... ent-stable
neuron

Re: Help Installing from Source

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

Re: Help Installing from Source

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

Re: Help Installing from Source

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

Re: Help Installing from Source

Post 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
Last edited by dinjo on Sat Aug 22, 2015 4:42 pm, edited 1 time in total.
ciaobaby

Re: Help Installing from Source

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

Re: Help Installing from Source

Post 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
Last edited by dinjo on Sun Aug 23, 2015 5:55 am, edited 1 time in total.
dinjo

Re: Help Installing from Source

Post 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
Last edited by dinjo on Sun Aug 23, 2015 7:19 am, edited 1 time in total.
dinjo

Re: Help Installing from Source

Post by dinjo »

Referred this and its working now
index.php/topic,3636.msg18216.html#msg18216
ciaobaby

Re: Help Installing from Source

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

Re: Help Installing from Source

Post 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
Last edited by dinjo on Sat Dec 12, 2015 3:07 am, edited 1 time in total.
ciaobaby

Re: Help Installing from Source

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

Re: Help Installing from Source

Post by ciaobaby »

By the way

"as you would expect" means;

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

Re: Help Installing from Source

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