Changeset - c28d4f703aa5
[Not reviewed]
0 1 0
vitalyster - 9 years ago 2016-06-02 22:32:04
vitalyster@gmail.com
Update from_source_code.md
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
documentation/installation/from_source_code.md
Show inline comments
 
@@ -2,25 +2,25 @@
 
layout: page
 
title: Spectrum 2
 
---
 

	
 
## Install Boost and libidn
 

	
 
You have to have boost-devel and libidn-devel installed before compiling Swiften, otherwise it will compile against bundled version of Boost and libidn and Spectrum compilation will fail.
 

	
 
## Install Swiften from git repository:
 

	
 
	git clone git://swift.im/swift
 
	cd swift
 
	git checkout swift-2.x
 
	git checkout swift-3.0
 
	./scons V=1 swiften_dll=1 Swiften SWIFTEN_INSTALLDIR=/usr/local force-configure=1
 
	sudo ./scons V=1 swiften_dll=1 Swiften SWIFTEN_INSTALLDIR=/usr/local /usr/local
 

	
 
*Note* - If the output of "./scons" command contains following during the configure stage, you don't have boost-devel or libidn-devel installed during the compilation and *Swiften won't work properly*:
 

	
 
	Checking for C++ header file boost/signals.hpp... no
 
	....
 
	Checking for C library idn... no
 

	
 

	
 
The proper configure script output looks like this:
 

	
 
@@ -75,20 +75,20 @@ In Fedora, you just have to install following packages:
 
	sudo yum install protobuf protobuf protobuf-devel
 

	
 
## Install Libpurple for libpurple backend
 

	
 
You should definitely have latest libpurple, so download Pidgin and compile it, because your distribution probably doesn't have the latest one.
 

	
 
## Install libCommuni for libCommuni IRC backend
 

	
 
The instructions are defined on [libCommuni wiki](https://github.com/communi/communi/wiki).
 

	
 
## Install Spectrum 2
 

	
 
	git clone git://github.com/hanzz/libtransport.git
 
	cd libtransport
 
	git clone git://github.com/hanzz/spectrum2.git
 
	cd spectrum2
 
	cmake . -DCMAKE_BUILD_TYPE=Debug
 
	make
 

	
 
Before running make, check cmake output if the supported features are OK for you. If not, install libraries needed by Spectrum to provide specific feature.
 

	
 
You can also install spectrum using `sudo make install`.
0 comments (0 inline, 0 general)