In this video Philipp explains step by step how to compile and RNode from source.
Overview of the video contents:
Preparations
** sudo apt-get update
** sudo apt-get upgrade -y
Get the source code
** git clone https://github.com/rchain/rchain.git
Install dependencies
** Java development kit (JDK)
*** sudo apt-get install openjdk-8-jdk openjdk-8-demo openjdk-8-doc openjdk-8-jre-headless openjdk-8-source
** sbt
*** echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
*** sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
** sudo apt-get update
** sudo apt-get install sbt jflex haskell-platform
** curl -sSL https://get.haskellstack.org/ | sh
** For Rholang
*** [jflex](http://jflex.de/)
*** Build [BNFC](http://bnfc.digitalgrammars.com/)
**** git clone https://github.com/BNFC/bnfc
**** cd bnfc
**** git checkout ce7fe1fd08d9d808c14ff626c321218c5b73e38b
**** stack init
**** stack setup
**** stack install
**** export PATH="$HOME/.local/bin:$HOME"
Compiling
** Compiling subprojects
*** sbt subprojectName/compile
*** Rholang
**** sbt rholang/bnfc:generate
**** sbt rholang/compile
**** sbt rholangCLI/assembly
*** Rosette
**** sudo apt-get install g++ g++-multilib make cmake clang libgflags2v5
**** compiling c++ google protobufs
***** git clone https://github.com/protocolbuffers/pr...
***** cd protobuf
***** git submodule update --init --recursive
***** sudo apt-get install autoconf automake libtool curl make g++ unzip
***** ./autogen.sh
***** ./configure --build=i686-pc-linux-gnu CFLAGS="-m32 -DNDEBUG" CXXFLAGS="-m32 -DNDEBUG" LDFLAGS=-m32
***** make
***** make check
***** sudo make install
***** sudo ldconfig
**** cd ../rchain/rosette/
**** ./build.sh
**** sudo apt install ./build.out/rosette-0.1.1-Linux.deb
** sbt compile
Assemble / create executable
** sbt node/universal:stage
* java -cp coop.rchain.rnode-0.6.4.jar:./ coop.rchain.node.Main run -s
On this page of the site you can watch the video online How to compile RNode from source with a duration of hours minute second in good quality, which was uploaded by the user inblock.io 18 October 2018, share the link with friends and acquaintances, this video has already been watched 115 times on youtube and it was liked by 1 viewers. Enjoy your viewing!