From 0c5045169347c2832f750f3dc1eb71ebe298916b Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 22 Aug 2021 19:22:40 +0200 Subject: [PATCH] Ubuntu 20.04 build instructions --- CMakeLists.txt | 2 +- README.md | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 13c1b4c..b865457 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ include_directories(external/src/randomx/src) if (WIN32) set(LIBS ${LIBS} ws2_32 iphlpapi userenv psapi) else() - set(LIBS ${LIBS} pthread) + set(LIBS ${LIBS} pthread gss dl) endif() if (CMAKE_CXX_COMPILER_ID MATCHES MSVC) diff --git a/README.md b/README.md index b32c0d4..2e5f791 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,29 @@ First you need to find a pool share. This share will stay in PPLNS window for 21 ## Build instructions -SOON +### Ubuntu 20.04 + +p2pool binary: +``` +sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev +git clone https://github.com/SChernykh/p2pool +cd p2pool +mkdir build && cd build +cmake .. +make -j$(nproc) +``` + +monerod binary compatible with p2pool: +``` +sudo apt update && sudo apt install git build-essential cmake pkg-config libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libpgm-dev qttools5-dev-tools libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler libudev-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-locale-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev ccache doxygen graphviz +git clone https://github.com/SChernykh/monero +cd monero +git checkout zmq-changes +git submodule init && git submodule update +make -j$(nproc) +``` -## Usage +## How to test SOON