在Mountian Lion上以Gentoo前缀安装zsh失败
这是我第一次在Mac OS上使用gentoo前缀 gentoo prefix的安装花了一段时间,但一切进展顺利。我使用此脚本在Mac上安装gentoo prefix: 然而,当我试图安装zsh时,zsh的编译一直失败 我使用的命令只是“emerge zsh”,但每次我都会收到以下错误消息:在Mountian Lion上以Gentoo前缀安装zsh失败,zsh,gentoo,Zsh,Gentoo,这是我第一次在Mac OS上使用gentoo前缀 gentoo prefix的安装花了一段时间,但一切进展顺利。我使用此脚本在Mac上安装gentoo prefix: 然而,当我试图安装zsh时,zsh的编译一直失败 我使用的命令只是“emerge zsh”,但每次我都会收到以下错误消息: >>> Source configured. >>> Compiling source in ~/Gentoo/var/tmp/portage/app-shells/zsh
>>> Source configured.
>>> Compiling source in ~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0 ...
make
make[1]: Entering directory `~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0/Src'
cd .. && ~/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod
creating Src/Makemod.in
~/Gentoo/bin/bash: line 8: 42534 Illegal instruction: 4 ~/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod
make[1]: *** [Makemod] Error 132
make[1]: Leaving directory `~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0/Src'
make: *** [all] Error 1
* ERROR: app-shells/zsh-5.0.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-shells/zsh-5.0.0'`,
* the complete build log and the output of `emerge -pqv '=app-shells/zsh-5.0.0'`.
* The complete build log is located at '~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/temp/build.log'.
* The ebuild environment file is located at '~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/temp/environment'.
* Working directory: '~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0'
* S: '~/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0'
任何人都知道这可能的原因,我应该如何使它工作
感谢您抽出时间看来这是bash造成的 在.profile或.bashrc中添加以下内容:
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
我希望一切顺利。在我看来似乎是错的。你用的是什么?粘贴到构建日志中,然后出现信息——否则就不会发生。