From a8787bbca1ea0d70999f5b759a33ea791549b267 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Tue, 29 Dec 2015 12:47:17 +0100 Subject: [PATCH] Fix #83 - Document a way how to compile Spectrum 2 on Debian/Ubuntu --- documentation/admin.md | 1 + .../from_source_code_debian_ubuntu.md | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 documentation/installation/from_source_code_debian_ubuntu.md diff --git a/documentation/admin.md b/documentation/admin.md index 10f0a593..3c056439 100644 --- a/documentation/admin.md +++ b/documentation/admin.md @@ -13,6 +13,7 @@ This is Admin documentation for Spectrum 2 transport. If you are user trying to * [Installing using Docker](installation/docker.html) * [Installing from source code](installation/from_source_code.html) +* [Installing from source code on Debian/Ubuntu](installation/from_source_code_debian_ubuntu.md) #### Frontends diff --git a/documentation/installation/from_source_code_debian_ubuntu.md b/documentation/installation/from_source_code_debian_ubuntu.md new file mode 100644 index 00000000..365865c1 --- /dev/null +++ b/documentation/installation/from_source_code_debian_ubuntu.md @@ -0,0 +1,25 @@ +--- +layout: page +title: Spectrum 2 +--- + +## Installing from source-code on Debian/Ubuntu + +If you need IRC support, build and install Communi, a required dependency of Spectrum 2: + + # apt-get install git-buildpackage libssl-dev libqt4-dev + $ git clone git://github.com/vitalyster/libcommuni-gbp.git /tmp/libcommuni-gbp + $ cd /tmp/libcommuni-gbp + $ gbp buildpackage -b -uc -us + $ cd /tmp + +When the compilation process has ended the .deb packages for libcommuni and libcommuni-dev will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`. + +Next, build and install Spectrum 2: + + # apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmysqlclient-dev liblog4cxx10-dev protobuf-compiler libpopt-dev libdbus-glib-1-dev libpqxx3-dev cmake libevent-dev libboost-all-dev libidn11-dev libxml2-dev libavahi-client-dev libavahi-common-dev libcurl4-openssl-dev libsqlite3-dev + $ git clone git://github.com/hanzz/spectrum2.git /tmp/spectrum2 + $ cd /tmp/spectrum2/packaging/debian + $ sh build_spectrum2.sh + +When the compilation process has ended the .deb packages will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.