Compile on Alpine 3.12 fails - Includes proposed fix
Closed this issue · 1 comments
jTd7bPLFb commented
This issue tracker is only for technical issues related to PIVX Core.
General PIVX questions and/or support requests and are best directed to the PIVX Discord.
Compiling on Alpine linux fails
Can you reliably reproduce the issue? YES
If so, please list the steps to reproduce below:
- install alpine 3.12, install needed apk packages
"apk add build-base gcc abuild binutils autoconf automake libtool pkgconf python3 py3-virtualenv db-c++ db-dev gmp gmp-dev libevent libevent-dev git cmake boost-dev openssl openssl-dev boost boost-dev" - clone SAPP git repo
cd SAPP
- ./autogen.sh
- ./configure --with-incompatible-bdb --disable-tests --disable-bench --disable-asm
- cd src
- make -j2 sapd
- make -j2 sap-cli
Expected behavior
sapd and sap-cli should compile
Actual behavior
Error due to src/httpserver.cpp
Proposed FIX:
add
#include
to src/httpserver.cpp