Atc*_*old 4 compile homebrew autoconf info macos
我想安装pinfo
在我的 Mac 上用于阅读信息文件,而不是使用看起来很糟糕的哥哥info
。
pinfo
是不是还提供自制。也许很快,当我得到这个问题的答案时。(这里是 GitHub 上的相关问题。)
当我尝试编译它时,运行./autogen.sh
我收到以下错误消息:
atcold@AlfMAC ~/Work/Sandbox/pinfo-0.6.10 $ ./autogen.sh
Cleaning autotools files...
find: illegal option -- t
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
find: illegal option -- t
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
Running autoreconf...
Can't exec "autopoint": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
Something is bad with find's parameters (no big deal, I guess),
autopoint is missing, and brew doesn't know anything about it.
Run Code Online (Sandbox Code Playgroud)
autopoint
失踪了,brew
对此一无所知。我也知道,这是有可能得到pinfo
与MacPort,所以有一个地方,如果需要的地方取灵感,(不知道怎么去那里还)。
当我尝试查看 trac.macports.org 时,我得到了一个403 Forbidden
答案 :(
这里是几乎Macport包的链接pinfo
,但我不能再进一步了。
我正在 GitHub 上更新问题,请点击此处。稍后我也会更新这个问题。
我想人们可能知道,但pinfo
现在可以从brew
:
brew install pinfo
Run Code Online (Sandbox Code Playgroud)
如果您对autopoint
在 MacOS/X 上获取感到好奇- 它可以从gettext
brew 公式中获得 - 问题是它是桶专用的,这意味着默认情况下它不是符号链接到 /usr/local 因为它可能与 MacOS 的内部版本冲突,但是 MacOS 不提供,autopoint
因此可以按如下方式获取它 - 安装gettext
:
brew install gettext
Run Code Online (Sandbox Code Playgroud)
然后符号链接autopoint
到/usr/local/bin:
ln -s `brew ls gettext | grep bin/autopoint` /usr/local/bin
Run Code Online (Sandbox Code Playgroud)