-
Move to the repository root
-
Fetch navio-core and swig submodules
git submodule update --init --remote --recursive
-
Build
src/libblsct.a
:./script/build-libblsct.sh
-
Install
PCRE2
andbison
On Ubuntu:
sudo apt install libpcre2-dev bison
On macOS:
Regarding bison, although Xcode includes bison, the version is 2.3 which does not work with swig. Newer version of bison needs to installed.
brew install pcre2 bison
and add bison to the path
export PATH="/opt/homebrew/opt/bison/bin:$PATH"
-
Build
swig
./script/build-swig.sh
-
Add locally built
swig
to the PATHsource ./script/activate-swig.sh