mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
improvement of README file (patch by cave, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
63752af168
commit
9e57b9b525
62
README.txt
62
README.txt
@ -1,35 +1,32 @@
|
|||||||
To compile:
|
To compile:
|
||||||
|
|
||||||
- install the package dependencies. On ubuntu:
|
- install the package dependencies. On ubuntu:
|
||||||
# sudo apt-get install libglib2.0-dev libupnp-dev qt4-dev-tools libqt4-dev libssl-dev libxss-dev \
|
# sudo apt-get install libglib2.0-dev libupnp-dev qt4-dev-tools \
|
||||||
libgnome-keyring-dev libbz2-dev libqt4-opengl-dev libqtmultimediakit1 qtmobility-dev \
|
libqt4-dev libssl-dev libxss-dev libgnome-keyring-dev libbz2-dev \
|
||||||
libspeex-dev libspeexdsp-dev libxslt1-dev libprotobuf-dev protobuf-compiler cmake \
|
libqt4-opengl-dev libqtmultimediakit1 qtmobility-dev \
|
||||||
libcurl4-openssl-dev
|
libspeex-dev libspeexdsp-dev libxslt1-dev libprotobuf-dev \
|
||||||
|
protobuf-compiler cmake libcurl4-openssl-dev
|
||||||
|
|
||||||
- create project directory (e.g. ~/retroshare) and check out the source code
|
- create project directory (e.g. ~/retroshare) and check out the source code
|
||||||
# mkdir ~/retroshare
|
# mkdir ~/retroshare
|
||||||
# cd ~/retroshare && svn co svn://svn.code.sf.net/p/retroshare/code/trunk trunk
|
# cd ~/retroshare && svn co svn://svn.code.sf.net/p/retroshare/code/trunk trunk
|
||||||
|
|
||||||
- create a new directory named lib
|
- create a new directory named lib
|
||||||
# mkdir lib
|
# mkdir lib
|
||||||
|
|
||||||
- get source code for libssh-0.5.4, unzip it, and create build directory (if needed)
|
- get source code for libssh-0.5.4, unzip it, and create build directory (if needed)
|
||||||
|
|
||||||
# cd lib
|
# cd lib
|
||||||
# wget https://red.libssh.org/attachments/download/41/libssh-0.5.4.tar.gz
|
# wget http://git.libssh.org/projects/libssh.git/snapshot/libssh-libssh-0.6.4.zip
|
||||||
# tar zxvf libssh-0.5.4.tar.gz
|
# tar zxvf libssh-0.6.4.tar.gz
|
||||||
# cd libssh-0.5.4
|
# cd libssh-0.6.4
|
||||||
# mkdir build
|
# mkdir build
|
||||||
# cd build
|
# cd build
|
||||||
# cmake -DWITH_STATIC_LIB=ON ..
|
# cmake -DWITH_STATIC_LIB=ON -DWITH_GSSAPI=OFF ..
|
||||||
# make
|
# make
|
||||||
# cd ../../..
|
# cd ../../..
|
||||||
|
|
||||||
NB: There is a new libssh-0.6.0rc1 which fixes some bugs from v0.5.4,
|
- get source code for sqlcipher, and build it (only needed for GXS)
|
||||||
The procedure is the same as above, except for the following line.
|
|
||||||
# cmake -DWITH_STATIC_LIB=ON -DWITH_GSSAPI=OFF ..
|
|
||||||
|
|
||||||
- get source code for sqlcipher, and build it (only needed for GXS)
|
|
||||||
|
|
||||||
# cd lib
|
# cd lib
|
||||||
# git clone git://github.com/sqlcipher/sqlcipher.git
|
# git clone git://github.com/sqlcipher/sqlcipher.git
|
||||||
@ -39,37 +36,22 @@ To compile:
|
|||||||
# make
|
# make
|
||||||
# cd ..
|
# cd ..
|
||||||
|
|
||||||
- go to your svn base directory
|
- go to your svn base directory
|
||||||
# cd trunk
|
# cd trunk
|
||||||
|
# qmake CONFIG=release
|
||||||
|
# make -j 4
|
||||||
|
|
||||||
- go to libbitdht and compile it
|
=> the executable produced will be
|
||||||
# cd libbitdht/src && qmake && make clean && make -j 4
|
trunk/retroshare-gui/src/Retroshare
|
||||||
|
trunk/retroshare-nogui/src/retroshare-nogui
|
||||||
|
|
||||||
- go to openpgpsdk and compile it
|
- to use the SSH RS server (nogui):
|
||||||
# cd ../../openpgpsdk/src && qmake && make clean && make -j 4
|
|
||||||
|
|
||||||
- go to supportlibs and compile it
|
|
||||||
# cd ../../supportlibs/pegmarkdown && qmake && make clean && make -j 4
|
|
||||||
|
|
||||||
- go to libretroshare and compile it
|
|
||||||
# cd ../../libretroshare/src && qmake && make clean && make -j 4
|
|
||||||
|
|
||||||
- go to rsctrl and compile it
|
|
||||||
# cd ../../rsctrl/src && make &&
|
|
||||||
|
|
||||||
- go to retroshare-nogui, and compile it
|
|
||||||
# cd ../../retroshare-nogui/src && qmake && make clean && make -j 4
|
|
||||||
|
|
||||||
- go to retroshare gui and compile it
|
|
||||||
# cd ../../retroshare-gui/src && qmake && make clean && make -j 4
|
|
||||||
|
|
||||||
- to use the SSH RS server (nogui):
|
|
||||||
|
|
||||||
# ssh-keygen -t rsa -f rs_ssh_host_rsa_key # this makes a RSA
|
# ssh-keygen -t rsa -f rs_ssh_host_rsa_key # this makes a RSA
|
||||||
# ./retroshare-nogui -G # generates a login+passwd hash for the RSA key used.
|
# ./retroshare-nogui -G # generates a login+passwd hash for the RSA key used.
|
||||||
# ./retroshare-nogui -S 7022 -U[SSLid] -P [Passwd hash]
|
# ./retroshare-nogui -S 7022 -U[SSLid] -P [Passwd hash]
|
||||||
|
|
||||||
- to connect from a remote place to the server by SSH:
|
- to connect from a remote place to the server by SSH:
|
||||||
|
|
||||||
# ssh -T -p 7022 [user]@[host]
|
# ssh -T -p 7022 [user]@[host]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user