Changeset - 928615e2babe
[Not reviewed]
0 1 0
vitalyster - 7 years ago 2018-04-27 15:48:57
vitalyster@gmail.com
Update from_source_code.md
1 file changed with 1 insertions and 1 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-3.0
 
	git checkout swift-4.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:
 

	
0 comments (0 inline, 0 general)