====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
using:howto:compiling_twister_on_fedora_20 [2014/02/16 13:09] bartz_daniel |
using:howto:compiling_twister_on_fedora_20 [2014/03/25 11:46] (current) bartz_daniel |
||
---|---|---|---|
Line 13: | Line 13: | ||
One possibility is to recompile openssl with the missing algorithms. | One possibility is to recompile openssl with the missing algorithms. | ||
- | You may find the sources here for Fedora 20 here http://repo.cryptotools.virer.net/public/fedora/20/ | + | You may also find the sources for Fedora 20 here http://repo.cryptotools.virer.net/public/fedora/20/ |
- | They have been compiled based on the work on this work http://linux.ringingliberty.com/bitcoin/ and will install the modified version of openssl in a /opt directory to ensure that the original version of openssl is not modified. | + | They have been compiled based on this work http://linux.ringingliberty.com/bitcoin/ and will install a modified version of openssl (the one of Fedora with the missing algo) in the /opt directory to ensure that the original version of openssl is not touched. |
- | So you only have to activate this repo than install the required packages: | + | So you may activate that repo and then install the required packages: |
<code> | <code> | ||
Line 26: | Line 26: | ||
**Now get twister installed** | **Now get twister installed** | ||
- | For the core (here on x86_64, replace lib64 with lib on a i686) | + | For twister-core |
<code> | <code> | ||
+ | cd ~ | ||
+ | |||
git clone https://github.com/miguelfreitas/twister-core.git | git clone https://github.com/miguelfreitas/twister-core.git | ||
- | cd twister-core/libtorrent | + | cd twister-core |
./autotool.sh | ./autotool.sh | ||
- | ./configure --enable-logging --enable-debug --enable-dht --with-boost-system=boost_system \ | + | ./configure PKG_CONFIG_PATH=/opt/openssl-compat-bitcoin/lib/pkgconfig \ |
- | --with-boost-libdir=/usr/lib64/ --with-openssl=/opt/openssl-compat-bitcoin/ | + | LIBS=-Wl,-rpath,/opt/openssl-compat-bitcoin/lib |
make | make | ||
- | |||
- | cd ../src | ||
- | |||
- | make -f makefile.unix OPENSSL_LIB_PATH=/opt/openssl-compat-bitcoin/lib \ | ||
- | LDFLAGS=-Wl,-rpath,/opt/openssl-compat-bitcoin/lib | ||
</code> | </code> | ||
Line 55: | Line 52: | ||
chmod 600 ~/.twister/twister.conf | chmod 600 ~/.twister/twister.conf | ||
- | git clone https://github.com/miguelfreitas/twister-html.git | + | git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html |
</code> | </code> | ||
Line 61: | Line 58: | ||
<code> | <code> | ||
- | ~/twister-core/src/twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1 | + | ~/twister-core/twisterd -rpcallowip=127.0.0.1 -daemon |
</code> | </code> |