pdf2swf 不是通过 Homebrew 安装的——但其余的 swftools 是
pdf2swf not installed through Homebrew – but the rest of swftools are
环境 OSX 10.9.5
我正在尝试安装 swftools so that I can use pdf2swf. I am installing through HomeBrew. I've seen various notes 关于 pdf2swf 如果之前没有安装其依赖项则安装失败的问题。所以在 link 处使用命令,我使用:
$ brew install freetype libjpeg giflib swftools
它完成时没有错误——除了 pdf2swf 没有安装。当我查看 usr/local/bin 时,我看到其他 swftools 已成功安装。
有人知道哪里出了问题吗?
更新: 为了完整起见,如果有人遇到这个问题并希望在 AIR 桌面应用程序中使用 pdf2swf:你不能。显然 pdf2swf 使用某些 "AllowDomain" 安全设置编译 swf,并且没有不这样做的选项。没有编辑源码,自己编译pdf2swf,好像是死路一条。
如果您查看 brew 公式:brew edit swftools
,PDF 支持来自 xpdf
,默认情况下不包含此功能,因为需要安装 XQuartz:
brew instal swftools --with-xpdf
swftools: XQuartz is required to install this formula.
You can install with Homebrew Cask:
brew install Caskroom/cask/xquartz
You can download from:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.
所以:
- 安装XQuartz
brew install swftools --with-xpdf
环境 OSX 10.9.5
我正在尝试安装 swftools so that I can use pdf2swf. I am installing through HomeBrew. I've seen various notes 关于 pdf2swf 如果之前没有安装其依赖项则安装失败的问题。所以在 link 处使用命令,我使用:
$ brew install freetype libjpeg giflib swftools
它完成时没有错误——除了 pdf2swf 没有安装。当我查看 usr/local/bin 时,我看到其他 swftools 已成功安装。
有人知道哪里出了问题吗?
更新: 为了完整起见,如果有人遇到这个问题并希望在 AIR 桌面应用程序中使用 pdf2swf:你不能。显然 pdf2swf 使用某些 "AllowDomain" 安全设置编译 swf,并且没有不这样做的选项。没有编辑源码,自己编译pdf2swf,好像是死路一条。
如果您查看 brew 公式:brew edit swftools
,PDF 支持来自 xpdf
,默认情况下不包含此功能,因为需要安装 XQuartz:
brew instal swftools --with-xpdf
swftools: XQuartz is required to install this formula.
You can install with Homebrew Cask:
brew install Caskroom/cask/xquartz
You can download from:
https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.
所以:
- 安装XQuartz
brew install swftools --with-xpdf