Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

install on openbsd #465

Open
wants to merge 1 commit into
base: FAQ-changes
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

################################################################################
Building for OpenBSD
################################################################################

Note: Working on the latest OpenBSD (v6.4)

Install the cmake, boost and z3 manually
================================================================================

use OpenBSD's package installer to install cmake, boost and z3 that we need to compile::

pkg_add -iv cmake boost z3

Now we clone and compile: ::

git clone --recursive https://github.com/ethereum/solidity.git
cd solidity
mkdir build
cd build
cmake ..
make
make install

Lets Symlink it to be able to call it just by typing solc: ::

ln -s /<path>/solidity/build/solc/solc /usr/local/bin/solc
b