FS#72110 - [asymptote] can't create pdf without ghostscript

Attached to Project: Arch Linux
Opened by Julian Weigt (julianuu) - Sunday, 12 September 2021, 07:48 GMT
Last edited by Antonio Rojas (arojas) - Friday, 14 July 2023, 06:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When running asy -tex pdflatex to create a pdf without ghostscript installed I get the following error


Cannot execute gs
Please put in a file config.asy:

import settings;
gs="LOCATION";

where LOCATION specifies the location of Ghostscript.

Alternatively, set the environment variable ASYMPTOTE_GS
or use the command line option -gs="LOCATION". For further details, see
https://asymptote.sourceforge.io/doc/Configuring.html
https://asymptote.sourceforge.io/doc/Search-paths.html
_shipout(prefix,f,currentpatterns,format,wait,view,t);
^
/usr/share/asymptote/plain_shipout.asy: 104.11: runtime: shipout failed


Should ghostscript maybe be added as an optional dependency?
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 14 July 2023, 06:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  asymptote 2.86-2

Loading...