• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling OTClient compile error LUBUNTU 16.04

thearrow

New Member
Joined
Aug 12, 2016
Messages
5
Reaction score
0
I'm trying to compile a OTClient here in my LUbuntu but i got some problems
Anyone could help me to finish this compile?

https://github.com/edubart/otclient/wiki/Compiling-on-Linux
Code:
sudo apt-get install build-essential cmake git-core
sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-dev

Code:
ronnie@ronnie-DC8CU41:~$ sudo su
[sudo] password for ronnie:
root@ronnie-DC8CU41:/home/ronnie# sudo apt-get install build-essential cmake git-core
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  cmake-data dpkg-dev g++ g++-5 git git-man libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl liberror-perl
  libfile-fcntllock-perl libjsoncpp1 libstdc++-5-dev
Suggested packages:
  codeblocks eclipse ninja-build debian-keyring g++-multilib g++-5-multilib
  gcc-5-doc libstdc++6-5-dbg git-daemon-run | git-daemon-sysvinit git-doc
  git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
  libstdc++-5-doc
The following NEW packages will be installed:
  build-essential cmake cmake-data dpkg-dev g++ g++-5 git git-core git-man
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libdpkg-perl liberror-perl libfile-fcntllock-perl libjsoncpp1
  libstdc++-5-dev
0 upgraded, 17 newly installed, 0 to remove and 8 not upgraded.
Need to get 18,2 MB of archives.
After this operation, 89,1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake-data all 3.5.1-1ubuntu2 [1.120 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libjsoncpp1 amd64 1.7.2-1 [73,0 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake amd64 3.5.1-1ubuntu2 [2.620 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.2 [1.430 kB]
Get:5 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.2 [8.302 kB]
Get:6 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1.504 B]
Get:7 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.1 [195 kB]
Get:8 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.1 [584 kB]
Get:9 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4.758 B]
Get:10 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19,6 kB]
Get:11 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 git-man all 1:2.7.4-0ubuntu1 [735 kB]
Get:12 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 git amd64 1:2.7.4-0ubuntu1 [3.006 kB]
Get:13 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 git-core all 1:2.7.4-0ubuntu1 [1.464 B]
Get:14 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47,6 kB]
Get:15 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11,0 kB]
Get:16 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12,0 kB]
Get:17 http://br.archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32,0 kB]
Fetched 18,2 MB in 35s (518 kB/s)   
Selecting previously unselected package cmake-data.
(Reading database ... 157494 files and directories currently installed.)
Preparing to unpack .../cmake-data_3.5.1-1ubuntu2_all.deb ...
Unpacking cmake-data (3.5.1-1ubuntu2) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.2-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.5.1-1ubuntu2_amd64.deb ...
Unpacking cmake (3.5.1-1ubuntu2) ...
Selecting previously unselected package libstdc++-5-dev:amd64.
Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.2_amd64.deb ...
Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.2) ...
Selecting previously unselected package g++-5.
Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.2_amd64.deb ...
Unpacking g++-5 (5.4.0-6ubuntu1~16.04.2) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking g++ (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.1_all.deb ...
Unpacking libdpkg-perl (1.18.4ubuntu1.1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.1_all.deb ...
Unpacking dpkg-dev (1.18.4ubuntu1.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
Unpacking build-essential (12.1ubuntu2) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...
Unpacking liberror-perl (0.17-1.2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1_all.deb ...
Unpacking git-man (1:2.7.4-0ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.7.4-0ubuntu1_amd64.deb ...
Unpacking git (1:2.7.4-0ubuntu1) ...
Selecting previously unselected package git-core.
Preparing to unpack .../git-core_1%3a2.7.4-0ubuntu1_all.deb ...
Unpacking git-core (1:2.7.4-0ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up cmake-data (3.5.1-1ubuntu2) ...
Setting up libjsoncpp1:amd64 (1.7.2-1) ...
Setting up cmake (3.5.1-1ubuntu2) ...
Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.2) ...
Setting up g++-5 (5.4.0-6ubuntu1~16.04.2) ...
Setting up g++ (4:5.3.1-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up libdpkg-perl (1.18.4ubuntu1.1) ...
Setting up dpkg-dev (1.18.4ubuntu1.1) ...
Setting up build-essential (12.1ubuntu2) ...
Setting up liberror-perl (0.17-1.2) ...
Setting up git-man (1:2.7.4-0ubuntu1) ...
Setting up git (1:2.7.4-0ubuntu1) ...
Setting up git-core (1:2.7.4-0ubuntu1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libfile-fcntllock-perl (0.22-3) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
root@ronnie-DC8CU41:/home/ronnie# sudo apt-get install libboost1.55-all-dev libphysfs-dev libssl-dev liblua5.1-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
E: Unable to locate package libboost1.55-all-dev
E: Couldn't find any package by glob 'libboost1.55-all-dev'
E: Couldn't find any package by regex 'libboost1.55-all-dev'
root@ronnie-DC8CU41:/home/ronnie#
 
1 - dont use root to install things if you dont know how to use it.
2 - https://launchpad.net/ubuntu/trusty/+package/libboost1.55-all-dev

Ty to answer man!

Why number 1?
I made something worng? (2)


1 - dont use root to install things if you dont know how to use it.
2 - https://launchpad.net/ubuntu/trusty/+package/libboost1.55-all-dev

Ty to answer man!

Why number 1?
I made something worng? (2)
rbe6dCN.png

undefined.png

undefined.png
 
Why number 1?
mainly because root can break the system with a single line of command, and sudo doesnt switch to root user then you cannot break it accidentally, i personally already breaked tons of times the whole system logging in to root, and its a pain in ass fix without reinstalling.
I made something worng? (2)
nothing that youve made, probably cannonical removed boost 1.55 version from xenial ubuntu repository, to get 1.55 version you can use the ppa:boost-latest that has since 1.4 version.
https://launchpad.net/~boost-latest/+archive/ubuntu/ppa

sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo apt-get install libboost1.55-all-dev
 
mainly because root can break the system with a single line of command, and sudo doesnt switch to root user then you cannot break it accidentally, i personally already breaked tons of times the whole system logging in to root, and its a pain in ass fix without reinstalling.

nothing that youve made, probably cannonical removed boost 1.55 version from xenial ubuntu repository, to get 1.55 version you can use the ppa:boost-latest that has since 1.4 version.
https://launchpad.net/~boost-latest/+archive/ubuntu/ppa

sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
sudo apt-get install libboost1.55-all-dev

1- Ty man, it's good to know that

2- Not work bro

Code:
ronnie@ronnie-DC8CU41:~$ sudo su
[sudo] password for ronnie:
root@ronnie-DC8CU41:/home/ronnie# sudo add-apt-repository ppa:boost-latest/ppa
 Providing the most up-to-date version of the Boost C++ Libraries.
 More info: https://launchpad.net/~boost-latest/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpzivoigos/secring.gpg' created
gpg: keyring `/tmp/tmpzivoigos/pubring.gpg' created
gpg: requesting key 029DB5C7 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpzivoigos/trustdb.gpg: trustdb created
gpg: key 029DB5C7: public key "Launchpad boost-latest" imported
gpg: Total number processed: 1
gpg:  imported: 1  (RSA: 1)
OK
root@ronnie-DC8CU41:/home/ronnie# sudo apt-get update
Hit:1 http://br.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://br.archive.ubuntu.com/ubuntu xenial-updates InRelease [95,7 kB]   
Hit:3 http://br.archive.ubuntu.com/ubuntu xenial-backports InRelease   
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94,5 kB]   
Ign:5 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial InRelease   
Hit:6 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Get:7 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [364 kB]
Ign:8 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial Release   
Ign:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [129 kB]
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Ign:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
Get:15 http://br.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [359 kB]
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [125 kB]
Ign:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Get:17 http://br.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [137 kB]
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Ign:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Get:18 http://br.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [314 kB]
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Get:19 http://br.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [310 kB]
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Ign:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Get:20 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [38,6 kB]
Err:9 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main amd64 Packages
  404  Not Found
Ign:11 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main all Packages
Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [38,6 kB]
Ign:13 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en_US
Ign:14 http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial/main Translation-en
Fetched 2.004 kB in 16s (124 kB/s)   
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/boost-latest/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ronnie-DC8CU41:/home/ronnie# sudo apt-get install libboost1.55-all-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package libboost1.55-all-dev
E: Couldn't find any package by glob 'libboost1.55-all-dev'
E: Couldn't find any package by regex 'libboost1.55-all-dev'
root@ronnie-DC8CU41:/home/ronnie#
 
thats weird, im not used with ubuntu but it work for me in debian, try to run throught this package https://launchpad.net/~boost-latest...ost1.55-all-dev_1.55.0-1ppa1~saucy1_amd64.deb, its taken from link that i sent to you, if this doesnt work you can get 1.58 version and see if it compiles, i need to take some sleep right now, i take a look better on it tomorrow.

Ty to your attention bro, but the problem again
2-A
Status: Error: Dependency is not satisflabe libboost1.55-dev

2-B
1.58 problem too :(
Code:
ronnie@ronnie-DC8CU41:~$ apt-get install apt-get install libboost1.55-all-dev
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ronnie@ronnie-DC8CU41:~$ sudo su
[sudo] password for ronnie:
root@ronnie-DC8CU41:/home/ronnie# apt-get install libboost1.55-all-dev
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package libboost1.55-all-dev
E: Couldn't find any package by glob 'libboost1.55-all-dev'
E: Couldn't find any package by regex 'libboost1.55-all-dev'
root@ronnie-DC8CU41:/home/ronnie#
 
Back
Top