I'm running ubuntu 20.04.6 LTS x64 and built asymptote from source. make install installs the executable correctly and it runs, but it fails in the doc directory.
Thanks John. I was a little concerned about breaking something else if I install a version of ghostscript well in advance of my distribution version. But went with 9.56.1 and "make install" works as does everything else I've checked.
Very happy, many thanks.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running ubuntu 20.04.6 LTS x64 and built asymptote from source. make install installs the executable correctly and it runs, but it fails in the doc directory.
cd doc && make man
make[1]: Entering directory '/home/geoff/Downloads/asymptote-2.91/doc'
../asy -dir ../base -config "" -render=0 -h 2>&1 | grep -iv Asymptote > options
../asy -dir ../base -config "" -render=0 -f pdf -noprc join3.asy
Error: /undefined in .setfillconstantalpha
Operand stack:
1
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1988 1 3 %oparray_pop --nostringval-- 1977 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:740/1123(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)--
Current allocation mode is local
Current file position is 910
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
_shipout(prefix,f,currentpatterns,format,wait,view,t);
^
../base/plain_shipout.asy: 116.11: runtime: shipout failed
make[1]: *** [Makefile:42: join3.pdf] Error 1
make[1]: Leaving directory '/home/geoff/Downloads/asymptote-2.91/doc'
make: *** [Makefile:207: man] Error 2
P.S. asy fails to generate pdfs, with the same runtime error.
You need to upgrade ghostscript to the latest version (currently 10.03.1), see for example https://github.com/vectorgraphics/asymptote/issues/264
Thanks John. I was a little concerned about breaking something else if I install a version of ghostscript well in advance of my distribution version. But went with 9.56.1 and "make install" works as does everything else I've checked.
Very happy, many thanks.