Translations of this page?:

twister

Peer-to-peer microblogging

User Tools

Site Tools


using:howto:compiling_twister_on_fedora_20

This is an old revision of the document!


Compiling twister on Fedora 20

First install the required dependencies:

yum install automake autoconf libtool git libdb-cxx-devel gcc-c++ \
            boost-devel libtorrent-devel miniupnpc-devel

Missing crypto

Parts of eliptic crypto have been removed by RedHat for legal uncertainty so it is not part of Fedora/RHEL. We have to add them. One possibility is to recompile openssl with the missing algorithms.

You may also find the sources for Fedora 20 here http://repo.cryptotools.virer.net/public/fedora/20/

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 may activate that repo and then install the required packages:

yum install http://repo.cryptotools.virer.net/public/fedora/20/x86_64/cryptotools-release-20-1.fc20.noarch.rpm
yum install openssl-compat-bitcoin-devel openssl-compat-bitcoin-libs

Now get twister installed

For twister-core

cd ~

git clone https://github.com/miguelfreitas/twister-core.git

cd twister-core

./autotool.sh

./configure PKG_CONFIG_PATH=/opt/openssl-compat-bitcoin/lib/pkgconfig \
            LIBS=-Wl,-rpath,/opt/openssl-compat-bitcoin/lib

make

For the web part

mkdir ~/.twister

echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf

chmod 600 ~/.twister/twister.conf

git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html

And finally start twister

~/twister-core/src/twisterd -rpcallowip=127.0.0.1 -daemon
using/howto/compiling_twister_on_fedora_20.1395744331.txt.gz · Last modified: 2014/03/25 11:45 by bartz_daniel