最近在安裝程式時,遇到了 autoconf-2.62.texi 的問題. os版本: 5.4-RELEASE
最後顯示如下.
makeinfo: Removing output file `autoconf-2.62.info' due to errors; use --force to preserve.
部份訊息:
autoconf-2.62.texi:18624: Unknown command `'.
autoconf-2.62.texi:19143: Unknown command `'.
autoconf-2.62.texi:19185: Unknown command `'.
autoconf-2.62.texi:19219: Unknown command `'.
autoconf-2.62.texi:19231: Unknown command `'.
autoconf-2.62.texi:19305: Unknown command `'.
autoconf-2.62.texi:20258: Unknown command `'.
makeinfo: Removing output file `autoconf-2.62.info' due to errors; use --force to preserve.
gmake[2]: *** [autoconf-2.62.info] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/autoconf262/work/autoconf-2.62'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/devel/autoconf262.
解決方式(暫時性):
將 /usr/bin/makeinfo 更名, 將較新版本的makeinfo複製到有狀況的機器.
網路上查詢結果: 版本小於 5.5R 都會有此狀況 ?
似乎是因為5.X的ports 已經end 了
我前幾個月裝時就有發生這問題
我的解法是
把ports update到
RELEASE_5_EOL
裝那邊最後的版本...
Orz
作者 johnpupu — 24 三月 2009, 08:51
唉..該升級的還是要升級...
经过查找,是因为5.4自带的makeinfo比较旧,所以需要新的makeinfo。
更新ports tree,主要是更新print/texinfo,然后重新make install clean,这次生成的makeinfo在user/local/bin下面,所以要把原来的/user/bin/makeinfo 改名mv掉。(这里一定要注意,是texinfo,不是textinfo,网上好多issue都写成了textinfo。老外也不能幸免啊~
作者 刘翼 — 09 十月 2009, 01:24