aboutsummaryrefslogtreecommitdiff
path: root/doc/build-openbsd.md
diff options
context:
space:
mode:
authorTomo Ueda <[email protected]>2021-09-02 12:54:43 -0700
committerTomo Ueda <[email protected]>2021-09-02 12:54:43 -0700
commitf5c716526aaafb318a98e974c8b2fbe02870646b (patch)
treee14145656fcff86ec2c7a1ecf4ad28e0b40f36aa /doc/build-openbsd.md
parents/DOGE/DIS/g (diff)
downloaddiscoin-f5c716526aaafb318a98e974c8b2fbe02870646b.tar.xz
discoin-f5c716526aaafb318a98e974c8b2fbe02870646b.zip
really s/doge/dis/g this time
Diffstat (limited to 'doc/build-openbsd.md')
-rw-r--r--doc/build-openbsd.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/build-openbsd.md b/doc/build-openbsd.md
index 64f1e01bf..6a3b48ba1 100644
--- a/doc/build-openbsd.md
+++ b/doc/build-openbsd.md
@@ -5,7 +5,7 @@ OpenBSD build guide
(updated for OpenBSD 6.0)
-This guide describes how to build dogecoind and command-line utilities on OpenBSD.
+This guide describes how to build discoind and command-line utilities on OpenBSD.
As OpenBSD is most common as a server OS, we will not bother with the GUI.
@@ -38,14 +38,14 @@ This compiler will not overwrite the system compiler, it will be installed as `e
Do not use `pkg_add boost`! The boost version installed thus is compiled using the `g++` compiler not `eg++`, which will result in a conflict between `/usr/local/lib/libestdc++.so.XX.0` and `/usr/lib/libstdc++.so.XX.0`, resulting in a test crash:
- test_dogecoin:/usr/lib/libstdc++.so.57.0: /usr/local/lib/libestdc++.so.17.0 : WARNING: symbol(_ZN11__gnu_debug17_S_debug_me ssagesE) size mismatch, relink your program
+ test_discoin:/usr/lib/libstdc++.so.57.0: /usr/local/lib/libestdc++.so.17.0 : WARNING: symbol(_ZN11__gnu_debug17_S_debug_me ssagesE) size mismatch, relink your program
...
Segmentation fault (core dumped)
This makes it necessary to build boost, or at least the parts used by Dogecoin Core, manually:
```
-# Pick some path to install boost to, here we create a directory within the dogecoin directory
+# Pick some path to install boost to, here we create a directory within the discoin directory
BITCOIN_ROOT=$(pwd)
BOOST_PREFIX="${BITCOIN_ROOT}/boost"
mkdir -p $BOOST_PREFIX
@@ -61,7 +61,7 @@ cd boost_1_61_0
# Also here: https://gist.githubusercontent.com/laanwj/bf359281dc319b8ff2e1/raw/92250de8404b97bb99d72ab898f4a8cb35ae1ea3/patch-boost_test_impl_execution_monitor_ipp.patch
patch -p0 < /usr/ports/devel/boost/patches/patch-boost_test_impl_execution_monitor_ipp
-# Build w/ minimum configuration necessary for dogecoin
+# Build w/ minimum configuration necessary for discoin
echo 'using gcc : : eg++ : <cxxflags>"-fvisibility=hidden -fPIC" <linkflags>"" <archiver>"ar" <striper>"strip" <ranlib>"ranlib" <rc>"" : ;' > user-config.jam
config_opts="runtime-link=shared threadapi=pthread threading=multi link=static variant=release --layout=tagged --build-type=complete --user-config=user-config.jam -sNO_BZIP2=1"
./bootstrap.sh --without-icu --with-libraries=chrono,filesystem,program_options,system,thread,test
@@ -77,7 +77,7 @@ See "Berkeley DB" in [build_unix.md](build_unix.md) for instructions on how to b
You cannot use the BerkeleyDB library from ports, for the same reason as boost above (g++/libstd++ incompatibility).
```bash
-# Pick some path to install BDB to, here we create a directory within the dogecoin directory
+# Pick some path to install BDB to, here we create a directory within the discoin directory
BITCOIN_ROOT=$(pwd)
BDB_PREFIX="${BITCOIN_ROOT}/db4"
mkdir -p $BDB_PREFIX