fix Linux build dependencies

master
Jethro Grassie 5 years ago
parent 55da98cee9
commit 9bd6606ae7
No known key found for this signature in database
GPG Key ID: DE8ED755616565BB

@ -17,7 +17,6 @@ MONERO_LIBS = \
${MONERO_BUILD_ROOT}/src/ringct/libringct_basic.a \ ${MONERO_BUILD_ROOT}/src/ringct/libringct_basic.a \
${MONERO_BUILD_ROOT}/src/device/libdevice.a \ ${MONERO_BUILD_ROOT}/src/device/libdevice.a \
${MONERO_BUILD_ROOT}/src/blockchain_db/libblockchain_db.a \ ${MONERO_BUILD_ROOT}/src/blockchain_db/libblockchain_db.a \
${MONERO_BUILD_ROOT}/external/unbound/libunbound.a \
${MONERO_BUILD_ROOT}/contrib/epee/src/libepee.a \ ${MONERO_BUILD_ROOT}/contrib/epee/src/libepee.a \
${MONERO_BUILD_ROOT}/external/easylogging++/libeasylogging.a ${MONERO_BUILD_ROOT}/external/easylogging++/libeasylogging.a
@ -59,7 +58,7 @@ LIBS := lmdb pthread microhttpd
ifeq ($(OS), Darwin) ifeq ($(OS), Darwin)
LIBS += c++ boost_system-mt boost_date_time-mt boost_chrono-mt boost_filesystem-mt boost_thread-mt LIBS += c++ boost_system-mt boost_date_time-mt boost_chrono-mt boost_filesystem-mt boost_thread-mt
else else
LIBS += boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid LIBS += dl boost_system boost_date_time boost_chrono boost_filesystem boost_thread uuid
endif endif
PKG_LIBS := $(shell pkg-config \ PKG_LIBS := $(shell pkg-config \
@ -67,6 +66,7 @@ PKG_LIBS := $(shell pkg-config \
json-c \ json-c \
openssl \ openssl \
libsodium \ libsodium \
libunbound \
--libs) --libs)
STATIC_LIBS = STATIC_LIBS =
@ -79,6 +79,7 @@ PKG_INC := $(shell pkg-config \
json-c \ json-c \
openssl \ openssl \
libsodium \ libsodium \
libunbound \
--cflags) --cflags)
LIBPATH := /opt/local/lib/ /usr/local/lib LIBPATH := /opt/local/lib/ /usr/local/lib

@ -43,13 +43,12 @@ export MONERO_BUILD_ROOT=$MONERO_ROOT/build/<system>/<branch>/<release|debug>
Replacing the values appropriately. Replacing the values appropriately.
Beyond the Monero dependencies, the following libraries are also required to Beyond the Monero dependencies, the following extra libraries are also required
build the pool: to build the pool:
- liblmdb - liblmdb
- libevent - libevent
- json-c - json-c
- openssl
- libmicrohttpd - libmicrohttpd
- uuid - uuid
@ -57,8 +56,7 @@ As an example, on Ubuntu, these dependencies can be installed with the following
command: command:
``` ```
sudo apt-get install libjson-c-dev uuid-dev libevent-dev libmicrohttpd-dev \ sudo apt-get install liblmdb-dev libevent-dev libjson-c-dev libmicrohttpd-dev uuid-dev
liblmdb-dev openssl
``` ```
### Compile ### Compile

Loading…
Cancel
Save