Source code can be download from:
https://www.monetdb.org/downloads/sources/Latest/
Install required packages:
brew install pkg-config pcre openssl libtool gettext libiconv autoconf automake libxml2
Export M4DIRS location folder to be able to find .m4 files (note that gettext version might change):
export M4DIRS="-I/usr/local/Cellar/gettext/0.20.1/share/aclocal/"
Export these to let the compiler find libxml2 files (these instructions are reported during the brew install libxml2
):
export LDFLAGS="-L/usr/local/opt/libxml2/lib"
export CPPFLAGS="-I/usr/local/opt/libxml2/include"
export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
in the source code folder run:
./bootstrap
It should run without errors.
Now run:
./configure
After that
make
Now install with:
make install