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!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

====== Compiling twister on Fedora 20 ====== **First install the required dependencies:** <code> yum install automake autoconf libtool git libdb-cxx-devel gcc-c++ \ boost-devel libtorrent-devel miniupnpc-devel </code> **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: <code> 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 </code> **Now get twister installed** For the core (here on x86_64, replace lib64 with lib on i686) <code> git clone https://github.com/miguelfreitas/twister-core.git cd twister-core/libtorrent ./autotool.sh ./configure --enable-logging --enable-debug --enable-dht --with-boost-system=boost_system \ --with-boost-libdir=/usr/lib64/ --with-openssl=/opt/openssl-compat-bitcoin/ make cd ../src make -f makefile.unix OPENSSL_LIB_PATH=/opt/openssl-compat-bitcoin/lib \ LDFLAGS=-Wl,-rpath,/opt/openssl-compat-bitcoin/lib </code> For the web part <code> 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 </code> And finally start twister <code> ~/twister-core/src/twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1 </code>

using/howto/compiling_twister_on_fedora_20.1392586420.txt.gz · Last modified: 2014/02/16 22:33 by bartz_daniel