diff --git a/readme.md b/readme.md index 193741daa..421b7996b 100644 --- a/readme.md +++ b/readme.md @@ -42,13 +42,17 @@ You can install these using: If you are not on a platform supported by the debian packages or if you want to build a dev build, this is the most "portable" way to do it: - $ sudo apt install build-essential cmake git libcap-dev pkg-config automake libtool + $ sudo apt install build-essential cmake git libcap-dev pkg-config automake libtool libuv1-dev libsodium-dev libzmq3-dev libcurl4-openssl-dev libevent-dev nettle-dev libunbound-dev libsqlite3-dev $ git clone --recursive https://github.com/oxen-io/lokinet $ cd lokinet $ mkdir build $ cd build - $ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON + $ cmake .. -DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON -DCMAKE_BUILD_TYPE=Release $ make -j$(nproc) + +If you dont want to do a static build install the dependancies and run: + + $ cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF install: @@ -56,13 +60,7 @@ install: ### macOS -You can get the latest stable macos relase from https://lokinet.org/ or check the releases page on github. - -alternatively you can build from source, make sure you have cmake, libuv and xcode command line tools installed: - - $ git clone --recursive https://github.com/oxen-io/lokinet - $ cd lokinet - $ ./contrib/mac.sh -DCODESIGN_KEY='insert your key identity here' -DCODESIGN_TEAM_ID='team id here' +Lokinet ~~is~~ will be available on the Apple App store. ### Windows @@ -77,7 +75,7 @@ additional build requirements: setup: - $ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis ninja-build + $ sudo apt install build-essential cmake git pkg-config mingw-w64 nsis cpack building: @@ -85,30 +83,6 @@ building: $ cd lokinet $ ./contrib/windows.sh -### Solaris 2.10+ - -NOTE: Oracle Solaris users need to download/compile the TAP driver from http://www.whiteboard.ne.jp/~admin2/tuntap/ - -The generated binaries _may_ work on Solaris 2.10 or earlier, you're on your own. (Recommended: `-static-libstdc++ -static-libgcc`, and the TAP driver if not already installed on the target system.) - -Building on a v2.10 or earlier system is unsupported, and may not even work; recent GCC releases have progressively dropped support for older system releases. - -build: - - $ sudo pkg install build-essential gcc8 wget tuntap cmake (optional: ninja ccache - from omnios extra) (OmniOS CE) - $ sudo pkg install base-developer-utilities developer-gnu developer-studio-utilities gcc-7 wget cmake (Oracle Solaris, see note) - $ sudo pkg install build-essential wget gcc-8 documentation/tuntap header-tun tun (optional: ninja ccache) (all other SunOS) - $ git clone --recursive https://github.com/oxen-io/lokinet - $ cd lokinet - $ mkdir build - $ cd build - $ cmake .. - $ make -j$(nproc) - -install: - - $ sudo make install - ### FreeBSD build: