Changeset - aaf3ead9f21a
[Not reviewed]
0 1 0
vitalyster - 8 years ago 2017-04-18 08:12:33
vitalyster@gmail.com
Update from_source_code.textile
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
docs/guide/from_source_code.textile
Show inline comments
 
h2. 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.
 

	
 
h2. Install Swiften from git repository:
 

	
 
<pre>
 
git clone git://swift.im/swift
 
cd swift
 
git checkout swift-2.0beta1
 
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
 
</pre>
 

	
 
*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*:
 
<pre>
 
Checking for C++ header file boost/signals.hpp... no
 
....
 
Checking for C library idn... no
 
</pre>
 

	
 
The proper configure script output looks like this:
0 comments (0 inline, 0 general)