MindTheGap-ERC / CarboKitten.jl

Julia implementation of carbonate platform model
https://mindthegap-erc.github.io/CarboKitten.jl/
GNU General Public License v3.0
1 stars 0 forks source link

make figures gives gnuplot: command not found #30

Closed HannoSpreeuw closed 6 months ago

HannoSpreeuw commented 6 months ago

Following the README

make run-daemon gives

julia --project=. --startup-file=no -e 'using Revise; using DaemonMode; serve()' The prompt is not returned and that is the way it should be, I reckon.

From another shell one should execute make figures, but this gives

make -f .entangled/build/Makefile
make[1]: Entering directory '../../CarboKitten.jl'
gnuplot examples/burgess2013-fig2.gnuplot > docs/src/fig/b13-fig2.svg
/bin/sh: line 1: gnuplot: command not found
make[1]: *** [.entangled/build/Makefile:12: docs/src/fig/b13-fig2.svg] Error 127
make[1]: Leaving directory '../../CarboKitten.jl'
make: *** [Makefile:4: figures] Error 2

After killing and restarting the daemon and executing another make figures from a different shell, I get a different error message:

make -f .entangled/build/Makefile
make[1]: Entering directory '../../CarboKitten.jl'
julia --project=. --startup-file=no -e 'using DaemonMode; runargs()' src/BS92/fig8-sealevel.jl
ERROR: LoadError: ArgumentError: Package Images not found in current path.
Stacktrace:

make[1]: *** [.entangled/build/Makefile:15: data/bs92-sealevel-curve.csv] Error 1
make[1]: Leaving directory '../../CarboKitten.jl'
make: *** [Makefile:4: figures] Error 2
jhidding commented 6 months ago

The Gnuplot figures were replaced with Makie.jl based ones. So Gnuplot will no longer be needed.