Whitepaper - Ethereum Classic With Cover
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Ethereum</strong> <strong>Classic</strong> Documentation, Release 0.1<br />
These packages are not in the standard repos but can be found using the OpenSUSE build service package search<br />
and YaST 1-Click Install:<br />
• libargtable2-devel<br />
• libv8-3<br />
• v8-devel<br />
If you also have v8 from the chromium repo installed the devel package will default to the 4.x branch which will<br />
not work. Use YaST or zypper to downgrade this package to 3.x<br />
Installing dependencies for Arch Linux Compiling webthree-umbrella on Arch Linux requires dependencies<br />
from both the official repositories and the Arch User Repository (AUR). To install packages from the official<br />
repositories pacman is used. For installation of packages from the AUR, a number of AUR helpers is available.<br />
For this guide, yaourt AUR helper is used.<br />
Installing dependencies<br />
# from official repositories sudo pacman -Sy git base-devel cmake boost crypto++ leveldb llvm miniupnpc<br />
libcl opencl-headers libmicrohttpd qt5-base qt5-webengine<br />
# from AUR yaourt -Sy libjson-rpc-cpp<br />
Compiling the source code During this step, an installation folder for the <strong>Ethereum</strong> can be specified. Specification<br />
of the folder is optional though. If not given, the binary files will be located in the build folder. However,<br />
for this guide, it is assumed that the <strong>Ethereum</strong> files will be installed under /opt/eth. The reason for using /opt is<br />
that it makes much easier to delete the <strong>Ethereum</strong> files later on, as compared to having them installed under, e.g.,<br />
/usr. Also /opt is commonly used to install software that is not managed by packaging systems, such as manually<br />
compiled programs.<br />
# enter webthree-umbrella folder after cloning its github repository<br />
cd webthree-umbrella<br />
# make a build folder and enter into it<br />
mkdir -p build && cd build<br />
# create build files and specify <strong>Ethereum</strong> installation folder<br />
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/eth<br />
# compile the source code<br />
make<br />
# alternatively it is possible to specify number of compilation threads<br />
# for example to use 4 threads execute make as follows:<br />
# make -j 4<br />
# install the resulting binaries, shared libraries and header files into /opt<br />
sudo make install<br />
After successful compilation and installation, <strong>Ethereum</strong> binaries can be found in /opt/eth/bin, shared libraries in<br />
/opt/eth/lib, and header files in /opt/eth/include.<br />
Specifying <strong>Ethereum</strong> libraries path Since <strong>Ethereum</strong> was installed in /opt/eth, executing its binaries can result<br />
in linker error due to not being able to find the <strong>Ethereum</strong> shared libraries. To rectify this issue, it is needed to add<br />
the folder containing <strong>Ethereum</strong> shared libraries into LD_LIBRARY_PATH environmental variable:<br />
# update ~/.bashrc<br />
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/eth/lib" >> ~/.bashrc<br />
1.2. <strong>Ethereum</strong> Clients 31