1 |
On Sep 5, 2012, at 11:24 AM, Konstantin Tokarev <annulen@××××××.ru> wrote: |
2 |
|
3 |
> |
4 |
> 05.09.2012, 11:30, "Ke Wu" <ke.wu@×××××.me>: |
5 |
>> Hi everyone, This is my first time to use gentoo prefix on Mac OS. My friend has been recommending it to me for a long time. |
6 |
>> 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 |
7 |
>> However, when I was trying to install zsh, the compile of zsh kept failing. |
8 |
>> The command I used is simply "emerge zsh", but I got the following error msg over and over: |
9 |
>>>>> Source configured. |
10 |
>>>>> Compiling source in /Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0 ... |
11 |
>> make |
12 |
>> make[1]: Entering directory `/Users/kewu/Gentoo/var/tmp/portage/app-shells/zsh-5.0.0/work/zsh-5.0.0/Src' |
13 |
>> cd .. && /Users/kewu/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod |
14 |
>> creating Src/Makemod.in |
15 |
>> /Users/kewu/Gentoo/bin/bash: line 8: 42534 Illegal instruction: 4 /Users/kewu/Gentoo/bin/bash $top_srcdir/Src/mkmakemod.sh Src Makemod |
16 |
> |
17 |
> Which CFLAGS are you using? Looks like miscomputation. |
18 |
|
19 |
My make.conf file looks like this: |
20 |
|
21 |
USE="unicode nls" |
22 |
CFLAGS="${CFLAGS} -O2 -pipe" |
23 |
CXXFLAGS="${CFLAGS}" |
24 |
|
25 |
In the log the it shows following configuration: |
26 |
|
27 |
These are the packages that would be merged, in order: |
28 |
|
29 |
Calculating dependencies... done! |
30 |
[ebuild N ] app-shells/zsh-5.0.0::gentoo USE="unicode (-caps) -debug -doc -examples -gdbm -maildir -pcre -static" 0 kB |
31 |
|
32 |
Total: 1 package (1 new), Size of downloads: 0 kB |
33 |
|
34 |
> |
35 |
|
36 |
> -- |
37 |
> Regards, |
38 |
> Konstantin |
39 |
> |