在 OS X 上编译 pinfo

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)
  1. find 的参数有问题(我猜没什么大不了的),
  2. autopoint失踪了,brew对此一无所知。

我也知道,这是有可能得到pinfoMacPort,所以有一个地方,如果需要的地方取灵感,(不知道怎么去那里还)。
当我尝试查看 trac.macports.org 时,我得到了一个403 Forbidden答案 :(
这里是几乎Macport包的链接pinfo,但我不能再进一步了。

还在编辑!

我正在 GitHub 上更新问题,请点击此处。稍后我也会更新这个问题。

Pie*_*erz 8

我想人们可能知道,但pinfo现在可以从brew

brew install pinfo
Run Code Online (Sandbox Code Playgroud)

如果您对autopoint在 MacOS/X 上获取感到好奇- 它可以从gettextbrew 公式中获得 - 问题是它是桶专用的,这意味着默认情况下它不是符号链接到 /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)