我正在尝试在CentOS中使用Ghostscript。尝试发出以下Ghostscript命令ghostscript -sDEVICE=pcx256 -r150x150 -sOutputFile=OUTPUT_FILE INPUT_PDF
时,出现以下错误:
ESP Ghostscript 815.02(2006-04-19)
版权所有(C)2004 artofcode LLC,
加利福尼亚州贝尼西亚。版权所有。
该软件不提供任何担保:
有关详细信息,请参见文件PUBLIC。
处理第1页到第1页。第1页
错误:--get--操作数中未定义
堆栈:--dict:8/8(L)-
--dict:8/11(L)-CS0 --dict:10/10(ro)(G)-CS0执行堆栈:%interp_exit .runexec2
--nostringval-- --nostringval-- --nostringval-- 2%stopped_push --nostringval-- --nostringval-- --nostringval--假1%stopped_push 1 3%oparray_pop
1 3%oparray_pop 1 3
%oparray_pop --nostringval--
--nostringval-- 2 1 1 --nostringval--%for_pos_int_continue
--nostringval-- --nostringval-- --nostringval-- --nostringval--%array_continue --nostringval--
假1%stopped_push
--nostringval--%loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--字典堆栈:--dict:1121/1686(ro)(G)- --dict:0/20(G)---dict:107/200(L)---dict:107/200(L)---dict:104/127(ro)(G)- ---dict:241/347(ro)(G)---dict:20/24(L)---dict:4/6(L)---dict:21/32(L) ---dict:1/1(ro)(G)---dict:3/5(L)---dict:1/1(ro)(G)---dict:1 / 1(ro)(G)---dict:1/1(ro)(G)---dict:8/11(L)-当前分配模式为本地Last
操作系统错误:2 ESP Ghostscript 815.02:
不可恢复的错误,退出代码1
任何帮助都是晚饭的赞赏!我整个周末都在谷歌搜索一个答案。
最佳答案
解决了!我运行的是旧版本,我认为yum会自动获得最新的n great。删除了旧版本,通过从源代码构建和安装安装了最新版本。做完了
关于pdf - Ghostscript错误:--get--中未定义,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/1663014/