When building octave I get the following error:
error: print: no valid OpenGL offscreen context
terminate called after throwing an instance of 'octave::execution_exception'
fatal: caught signal Aborted -- stopping myself...
/bin/sh: line 1: 7419 Aborted (core dumped) /bin/sh run-octave --norc --silent --no-history --path /home/melrobin/octave/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpderiv1', 'png');"
Makefile:28154: recipe for target 'doc/interpreter/interpderiv1.png' failed
make[2]: *** [doc/interpreter/interpderiv1.png] Error 134
make[2]: Leaving directory '/home/melrobin/octave'
Makefile:26496: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/melrobin/octave'
Makefile:10190: recipe for target 'all' failed
make: *** [all] Error 2
Does anyone have any idea of what I have done wrong?