UnixCompile

From RetroShare Wiki

Jump to: navigation, search

This documents how to compile the latest sources from RetroShare subversion repository.


Contents

dependancies

Needed Packages for compiling Retroshare. This how to is made using ubuntu system for example.

g++ , make tools and Qt libs :

$ sudo apt-get install libqt4-dev g++

other libs :

$ sudo apt-get install libgpgme11-dev libgpg-error-dev libupnp-dev

Need subversion (or git) to retreive the source code ?

$ sudo apt-get install subversion

Build RetroShare

Obtain latest retroshare sources from SVN

Source release is quite old at the moment and it is a good idea to obtain sources from subversion:

$ svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare/trunk retroshare

This should create ~/retroshare/libretroshare, ~/retroshare/retroshare-gui etc.

Build

$ cd ~/retroshare/libretroshare/src
$ qmake
$ make
$ cd ~/retroshare/retroshare-gui/src
$ qmake
$ make

Run retroshare GUI

$ ~/retroshare/retroshare-gui/src/RetroShare

Hint : you have to use a gpg key, so don't forget to generate one using your favorite key manager (seahorse for ubuntu)

Personal tools
wiki