SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.1k stars 129 forks source link

Ubuntu Compile Errors #50

Closed gaga9999 closed 2 years ago

gaga9999 commented 3 years ago

Please help ! `CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: UV_LIBRARY linked by target "p2pool" in directory /home/f/a/monero/p2pool UV_LIBRARY_DEBUG linked by target "p2pool" in directory /home/f/a/monero/p2pool ZMQ_LIBRARY linked by target "p2pool" in directory /home/f/a/monero/p2pool ZMQ_LIBRARY_DEBUG linked by target "p2pool" in directory /home/f/a/monero/p2pool

-- Configuring incomplete, errors occurred! `

SChernykh commented 3 years ago

Did you run

sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev

before compiling?

gaga9999 commented 3 years ago

yes. when i run the precompiled version i get: P2Pool monerod RPC v3.5 is incompatible, update to RPC >= v3.8 although i use monero 17.2.3.

gaga9999 commented 3 years ago

when compiling monerod i get Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem thread date_time chrono regex serialization program_options locale) (Required is at least version "1.58")

SChernykh commented 3 years ago

You need to install all dependencies and follow other instructions to compile Monero: https://github.com/monero-project/monero/#compiling-monero-from-source Or you could just use precompiled binaries from https://github.com/SChernykh/p2pool/releases/latest

gaga9999 commented 3 years ago

ok,thanks, could be added to the instructions on this site that for compilining monerod also https://github.com/monero-project/monero/#compiling-monero-from-source is required.

SChernykh commented 3 years ago

The same package install commands are already here: https://github.com/SChernykh/p2pool#ubuntu-2004

gaga9999 commented 3 years ago

so what are you saying, those commands are what i did https://github.com/SChernykh/p2pool#ubuntu-2004 i said that in my post above, then you say i need to also do https://github.com/monero-project/monero/#compiling-monero-from-source then i say i t wouuld be nice to state that at https://github.com/SChernykh/p2pool#ubuntu-2004 then you say all you need is https://github.com/SChernykh/p2pool#ubuntu-2004 ? btw how do you handle a separate monerod daemon without loading the blockchain again, as it wont take an already synced .bitmonero directory? thanks

SChernykh commented 3 years ago

Did you copy-paste each line or just typed the commands? The first line in https://github.com/SChernykh/p2pool#ubuntu-2004 is much longer than you see on screen and it has Boost packages in the list. Separate monerod binary can work with synced blockchain, just don't run two monerod instances on the same machine at the same time.

gaga9999 commented 3 years ago

yes sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev

SChernykh commented 3 years ago

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

gaga9999 commented 3 years ago

but thats for the monero compile, i have a problem with the p2pool compile. so is the dependencies the other way round?

btw solved the binariy problem, its a special monerod version needed (is described)

SChernykh commented 3 years ago

when compiling monerod i get

So I posted what you need for Monero compile. For p2pool, you just need sudo apt update && sudo apt install git build-essential cmake libuv1-dev libzmq3-dev libsodium-dev libpgm-dev libnorm-dev libgss-dev

gaga9999 commented 3 years ago

yeah and thats not working either, see your second post. i got it running using the precompiled binaries now.

bladedoyle commented 2 years ago

I believe this issue can be closed.