1 |
Can anyone help me? |
2 |
|
3 |
2012/6/8 赵佳晖 <jiahui.tar.gz@×××××.com> |
4 |
|
5 |
> Hi, everybody. I followed the doc<http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml> to |
6 |
> install the gentoo-prefix on my ubuntu 12.04 , But when i come to the setp : |
7 |
> emerge linker and compiler , and when i run the command : emerge |
8 |
> --oneshot --nodeps sys-devel/gcc-config . Then it comes error : |
9 |
> $ emerge --oneshot --nodeps sys-devel/gcc-config |
10 |
> |
11 |
> >>> Verifying ebuild manifests |
12 |
> |
13 |
> >>> Emerging (1 of 1) sys-devel/gcc-config-1.5-r2 |
14 |
> >>> Unpacking source... |
15 |
> * Adjusting to prefix /home/jiahui/Gentoo |
16 |
> * wrapper.c ... [ |
17 |
> ok ] |
18 |
> * gcc-config-1.5 ... [ |
19 |
> ok ] |
20 |
> >>> Source unpacked in |
21 |
> /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work |
22 |
> >>> Compiling source in |
23 |
> /home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work ... |
24 |
> make CC=gcc wrapper |
25 |
> gcc -O2 -march=i686 -pipe -m32 -Wl,-rpath=/home/jiahui/Gentoo/usr/lib |
26 |
> -Wl,-rpath=/home/jiahui/Gentoo/lib wrapper.c -o wrapper |
27 |
> /home/jiahui/Gentoo/usr/bin/ld: this linker was not configured to use |
28 |
> sysroots |
29 |
> collect2: ld returned 1 exit status |
30 |
> make: *** [wrapper] Error 1 |
31 |
> emake failed |
32 |
> * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): |
33 |
> * compile wrapper |
34 |
> * |
35 |
> * Call stack: |
36 |
> * ebuild.sh, line 85: Called src_compile |
37 |
> * environment, line 2230: Called die |
38 |
> * The specific snippet of code: |
39 |
> * emake CC="$(tc-getCC)" wrapper || die "compile wrapper" |
40 |
> * |
41 |
> * If you need support, post the output of 'emerge --info |
42 |
> =sys-devel/gcc-config-1.5-r2', |
43 |
> * the complete build log and the output of 'emerge -pqv |
44 |
> =sys-devel/gcc-config-1.5-r2'. |
45 |
> * The complete build log is located at |
46 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. |
47 |
> * The ebuild environment file is located at |
48 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. |
49 |
> * Working directory: |
50 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' |
51 |
> * S: |
52 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' |
53 |
> |
54 |
> >>> Failed to emerge sys-devel/gcc-config-1.5-r2, Log file: |
55 |
> |
56 |
> >>> |
57 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log' |
58 |
> |
59 |
> * Messages for package sys-devel/gcc-config-1.5-r2: |
60 |
> |
61 |
> * ERROR: sys-devel/gcc-config-1.5-r2 failed (compile phase): |
62 |
> * compile wrapper |
63 |
> * |
64 |
> * Call stack: |
65 |
> * ebuild.sh, line 85: Called src_compile |
66 |
> * environment, line 2230: Called die |
67 |
> * The specific snippet of code: |
68 |
> * emake CC="$(tc-getCC)" wrapper || die "compile wrapper" |
69 |
> * |
70 |
> * If you need support, post the output of 'emerge --info |
71 |
> =sys-devel/gcc-config-1.5-r2', |
72 |
> * the complete build log and the output of 'emerge -pqv |
73 |
> =sys-devel/gcc-config-1.5-r2'. |
74 |
> * The complete build log is located at |
75 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/build.log'. |
76 |
> * The ebuild environment file is located at |
77 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/temp/environment'. |
78 |
> * Working directory: |
79 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' |
80 |
> * S: |
81 |
> '/home/jiahui/Gentoo/var/tmp/portage/sys-devel/gcc-config-1.5-r2/work' |
82 |
> After that , i find i can emerge nothing (before emerge gcc-config, |
83 |
> everything seems good). Can anyone help me? |
84 |
> |
85 |
> My $PATH is : export |
86 |
> PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH" |
87 |
> -- |
88 |
> 好好学习,天天向上!!! |
89 |
> |
90 |
|
91 |
|
92 |
|
93 |
-- |
94 |
好好学习,天天向上!!! |