Changeset - 63f438eba15b
[Not reviewed]
0 1 0
vitalyster - 7 years ago 2018-09-17 11:42:53
vitalyster@gmail.com
Update packages_debian_ubuntu.md
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
documentation/installation/packages_debian_ubuntu.md
Show inline comments
 
@@ -27,13 +27,13 @@ You need to rebuild source libcommuni and spectrum packages from our source pack
 
        $ echo "deb-src http://packages.spectrum.im/spectrum2/ stretch main" | sudo tee /etc/apt/sources.list.d/spectrum.list
 
        $ echo "deb http://swift.im/packages/debian/sid beta main" | sudo tee -a /etc/apt/sources.list.d/spectrum.list
 
        $ apt-get update
 
        # apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmariadbclient-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
 
        $ apt-get source communi spectrum2
 
        $ cd communi_3.5.0-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc  && cd ..
 
        $ cd spectrum2_2.0.7-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc  && cd ..
 
        $ cd spectrum2_2.0.8-1 && DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -us -uc  && cd ..
 

	
 
When the compilation process has ended the .deb packages for libcommuni and spectrum will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.
 

	
 
### Troubleshooting
 
1. If you got gpg verification error, then `dscverify` can not find appropriate keystore, see http://askubuntu.com/a/215008 for fix. This shouldn't happened if you are install keys and build packages from the same account (Note, building doesn't require root)
 
2. There is an unresolved issue with [MySQL private headers](https://github.com/SpectrumIM/spectrum2/issues/150) - please switch to MariaDB or follow [instructions](https://github.com/SpectrumIM/spectrum2/issues/150#issuecomment-273991724) to patch libpurple
0 comments (0 inline, 0 general)