Gentoo Archives: gentoo-alt

From: "Gibson
To: "<gentoo-alt@l.g.o>" <gentoo-alt@l.g.o>
Subject: Re: [gentoo-alt] Emerge Zsh on Mac OS X Mountain Lion
Date: Wed, 05 Sep 2012 18:15:55
Message-Id: EBD1FAC66498EE4DBE636A4BAFC9D7A80BF56CC6@IMCMBX02.MITRE.ORG
In Reply to: [gentoo-alt] Emerge Zsh on Mac OS X Mountain Lion by Ke Wu
1 Ke,
2
3 I ran into that error when I tried to bootstrap on a Snow Leopard install a year ago or so. In the end I gave up and went back to using an older prefix build that I made while using either Leopard or Tiger (I can't remember which). This was using a 17" MacBook Pro with the all silver keyboard and XCode 3-something.
4
5 I recently bootstrapped again on a MacBook Pro with the removable battery and the black keyboard and either XCode 4.4.0 or 4.4.1, I can't remember which. This was a couple of weeks before Fabian overhauled the bootstrapping script. There were a couple of hangups, but I ended up with a working bash and zsh. The versions that I have are: bash-4.2_p10 and zsh-5.0.0. Note that bash-4.2_p29 failed to emerge during the bootstrap and so I masked it. I'd try emerging a different version of bash and then retrying the zsh emerge.
6
7 John
8
9 On Sep 5, 2012, at 12:30 AM, Ke Wu wrote:
10
11 Hi everyone,
12
13 This is my first time to use gentoo prefix on Mac OS. My friend has been recommending it to me for a long time.
14
15 The installation took a while but all went well. I used this script to install gentoo prefix on Mac: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt
16
17 However, when I was trying to install zsh, the compile of zsh kept failing.
18
19 The command I used is simply "emerge zsh", but I got the following error msg over and over:
20
21 >>> Source configured.
22 >>> Compiling source in /Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0 ...
23 make
24 make[1]: Entering directory `/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0/Src'
25 cd .. && /Users/kewu/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod
26 creating Src/Makemod.in
27 /Users/kewu/Gentoo/bin/bash: line 8: 42534 Illegal instruction: 4 /Users/kewu/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod
28 make[1]: *** [Makemod] Error 132
29 make[1]: Leaving directory `/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0/Src'
30 make: *** [all] Error 1
31 * ERROR: app-shells/zsh-5.0.0 failed (compile phase):
32 * emake failed
33 *
34 * If you need support, post the output of `emerge --info '=app-shells/zsh-5.0.0'`,
35 * the complete build log and the output of `emerge -pqv '=app-shells/zsh-5.0.0'`.
36 * The complete build log is located at '/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/temp/build.log'.
37 * The ebuild environment file is located at '/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/temp/environment'.
38 * Working directory: '/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0'
39 * S: '/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0'
40
41 Anyone knows the possible reason for this and how should I make it work?
42
43 Thank you for your time
44
45 -Ke