-
Move to the repository root directory
-
Create a symbolic link to
navio-core
ln -s path/to/navio-core
-
Initialize and update
swig
submodule:git submodule update --init --remote --recursive
-
Build
src/libblsct.a
:./script/build-libblsct.sh
-
Initialize and update
swig
submodule:cd ffi git submodule update --init --recursive
-
Install
PCRE2
andbison
On Ubuntu:
sudo apt install libpcre2-dev bison
On macOS:
brew install pcre2
and add bison to the path
export PATH="/opt/homebrew/opt/bison/bin:$PATH"
-
Build
swig
and install it underswig
directoy./script/build-swig.sh
-
Add locally built
Swig
to thePATH
source ./script/activate-swig.sh