Skip to content

Installation hints for Mac OS

mzechmeister edited this page Mar 22, 2023 · 1 revision

gnuplot install

On macs, gnuplot relies on an app called Xcode. You can install Xcode from the App Store. Xcode is only supported for Mac systems that are ‘big sur’ or higher.

You can then install gnuplot via:

brew install gnuplot

brew should also be up-to-date. brew is only supported for ‘big sur’ or higher.

After gnuplot is installed, you can run the install instructions from the readme.

gnuplot died

Running the command $SERVAL/src/serval.py —help may give this error:

Command ‘[‘gnuplot’,’-V’]’ died with <Signals.SIGABRT: 6>.

with this top line:

dyld[88692]: Library not loaded: @rpath.libtif.5.dylib

In conda environment can be fixed with:

conda install -c anaconda libtiff=4.4.0

It might be done with pip, too.

spl_int.f

An error might occur with this command:

python -m numpy.f2py -c -m spl_int spl_int.f

when it looks in the wrong place for spl_int.f.

It can be fixed with:

export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
export LIBRARY_PATH="$LIBRARY_PATH:$SDKROOT/usr/lib"
Clone this wiki locally