gpt4 book ai didi

macos - 将 GhostScript 9.02 升级到 9.05

转载 作者:行者123 更新时间:2023-12-04 18:48:37 24 4
gpt4 key购买 nike

实际上,我想将我现有的 Ghostscript 从 9.02 版更新到 9.05 最新版本。当我在 9.05 包中运行 make 时,出现以下错误:

if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \     XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \     FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \  DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \     DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \    DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \   DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \   DEVICE_DEVS_EXTRA= \    /bin/sh <./obj/ldt.tr Undefined symbols for architecture x86_64:   "_iconv_open", referenced from:
_opvp_to_utf8 in gdevopvp.o "_iconv", referenced from:
_opvp_to_utf8 in gdevopvp.o "_iconv_close", referenced from:
_opvp_to_utf8 in gdevopvp.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make: *** [bin/gs] Error 1

我使用 Mac OS Lion X 作为我的开发机器。

我可以知道我如何克服这个吗?非常感谢您的帮助。谢谢..

最佳答案

我认为您有两种可能的解决方案。首先,查看此链接中的“注意:”部分:
http://www.ghostscript.com/doc/current/Make.htm#MacOSX

其次,尝试做:

./configure --with-libiconv=no

这将禁用 OpenPrinting Vector (opvp) 设备,但由于长期不推荐使用,我怀疑您是否需要使用它。

关于macos - 将 GhostScript 9.02 升级到 9.05,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9782774/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com