mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
Added/corrected OpenBSD build instructions.
This commit is contained in:
parent
28f95eb001
commit
c965bf4a7c
2 changed files with 11 additions and 2 deletions
|
@ -139,8 +139,7 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "DragonFly.*|FreeBSD")
|
||||||
set(FREEBSD TRUE)
|
set(FREEBSD TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check if we're on OpenBSD. Compile with gcc 4.9 from packages.
|
# Check if we're on OpenBSD. See the README.md for build instructions.
|
||||||
# Use "env CC=egcc CXX=eg++ CPP=ecpp make release-static-64" or similar.
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*")
|
if(CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*")
|
||||||
set(OPENBSD TRUE)
|
set(OPENBSD TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
10
README.md
10
README.md
|
@ -162,6 +162,16 @@ The project can be built from scratch by following instructions for Unix and Lin
|
||||||
|
|
||||||
We expect to add Monero into the ports tree in the near future, which will aid in managing installations using ports or packages.
|
We expect to add Monero into the ports tree in the near future, which will aid in managing installations using ports or packages.
|
||||||
|
|
||||||
|
### On OpenBSD:
|
||||||
|
|
||||||
|
This has been tested on OpenBSD 5.8.
|
||||||
|
|
||||||
|
You will need to add a few packages to your system. "pkg_add db cmake gcc gcc-libs miniupnpc gtest doxygen graphviz".
|
||||||
|
|
||||||
|
The Boost package has a bug that will prevent librpc.a from building correctly. In order to fix this, you will have to Build boost yourself from scratch. Follow the directions here (under "Building Boost"): https://github.com/bitcoin/bitcoin/blob/master/doc/build-openbsd.md You will have to add the serialize, datetime, and regex modules when building as they are needed by Monero.
|
||||||
|
|
||||||
|
To build: "env CC=egcc CXX=eg++ CPP=ecpp DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/path/to/the/boost/you/built make" (You may optionally build it statically by using the correct target.)
|
||||||
|
|
||||||
## Building Documentation
|
## Building Documentation
|
||||||
|
|
||||||
Monero developer documentation uses Doxygen, and is currently a work-in-progress.
|
Monero developer documentation uses Doxygen, and is currently a work-in-progress.
|
||||||
|
|
Loading…
Reference in a new issue