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