1 |
Hi, |
2 |
|
3 |
I am trying to install Gentoo Prefix on a Centos 5.5 system. I was following the instructions word-for-word here: |
4 |
|
5 |
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml |
6 |
|
7 |
But ran into trouble at |
8 |
|
9 |
$ % emerge --oneshot --nodeps binutils |
10 |
|
11 |
Details and `emerge --info` are below. It looks like it's due to a missing file called '/config.sub', but I'm not sure the best way to resolve this. |
12 |
|
13 |
As an aside, these instructions are for Solaris but recommended for non-gentoo Linux users. Maybe I could go ahead without building binutils (among other things) and use them from the base OS? |
14 |
|
15 |
Thanks, |
16 |
Ricky |
17 |
|
18 |
===== |
19 |
|
20 |
make[4]: *** [arm.o] Error 1 |
21 |
make[4]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold' |
22 |
make[3]: *** [all-recursive] Error 1 |
23 |
make[3]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold' |
24 |
make[2]: *** [all] Error 2 |
25 |
make[2]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build/gold' |
26 |
make[1]: *** [all-gold] Error 2 |
27 |
make[1]: Leaving directory `/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/build' |
28 |
make: *** [all] Error 2 |
29 |
emake failed |
30 |
* ERROR: sys-devel/binutils-2.21.51.0.6 failed (compile phase): |
31 |
* emake failed |
32 |
* |
33 |
* Call stack: |
34 |
* ebuild.sh, line 62: Called src_compile |
35 |
* environment, line 3247: Called toolchain-binutils_src_compile |
36 |
* environment, line 4009: Called die |
37 |
* The specific snippet of code: |
38 |
* emake all || die "emake failed"; |
39 |
* |
40 |
* If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.51.0.6', |
41 |
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.51.0.6'. |
42 |
* The complete build log is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log'. |
43 |
* The ebuild environment file is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/environment'. |
44 |
* S: '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6' |
45 |
|
46 |
>>> Failed to emerge sys-devel/binutils-2.21.51.0.6, Log file: |
47 |
|
48 |
>>> '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log' |
49 |
|
50 |
* Messages for package sys-devel/binutils-2.21.51.0.6: |
51 |
|
52 |
* Can't read /config.sub, skipping.. |
53 |
* Can't read /config.guess, skipping.. |
54 |
* ERROR: sys-devel/binutils-2.21.51.0.6 failed (compile phase): |
55 |
* emake failed |
56 |
* |
57 |
* Call stack: |
58 |
* ebuild.sh, line 62: Called src_compile |
59 |
* environment, line 3247: Called toolchain-binutils_src_compile |
60 |
* environment, line 4009: Called die |
61 |
* The specific snippet of code: |
62 |
* emake all || die "emake failed"; |
63 |
* |
64 |
* If you need support, post the output of 'emerge --info =sys-devel/binutils-2.21.51.0.6', |
65 |
* the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.21.51.0.6'. |
66 |
* The complete build log is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/build.log'. |
67 |
* The ebuild environment file is located at '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/temp/environment'. |
68 |
* S: '/home/egeland/gentoo-prefix/var/tmp/portage/sys-devel/binutils-2.21.51.0.6/work/binutils-2.21.51.0.6' |
69 |
[egeland@squark]~/gentoo-prefix% emerge --info =sys-devel/binutils-2.21.51.0.6 |
70 |
zsh: sys-devel/binutils-2.21.51.0.6 not found |
71 |
[egeland@squark]~/gentoo-prefix% emerge --info=sys-devel/binutils-2.21.51.0.6 |
72 |
Usage: emerge [options] |
73 |
|
74 |
emerge: error: --info option does not take a value |
75 |
|
76 |
$ emerge --info =sys-devel/binutils-2.21.51.0.6 |
77 |
zsh: sys-devel/binutils-2.21.51.0.6 not found |
78 |
[egeland@squark]~/gentoo-prefix% emerge --info \=sys-devel/binutils-2.21.51.0.6 |
79 |
Portage 2.2.01.18213-prefix (prefix/linux/amd64, gcc-4.1.2, unavailable, 2.6.18-194.32.1.el5 x86_64) |
80 |
================================================================= |
81 |
System Settings |
82 |
================================================================= |
83 |
System uname: Linux-2.6.18-194.32.1.el5-x86_64-with-redhat-5.5-Final |
84 |
Timestamp of tree: Tue, 05 Apr 2011 21:39:05 +0000 |
85 |
app-shells/bash: 4.1_p7 |
86 |
Repositories: gentoo_prefix |
87 |
Installed sets: |
88 |
ACCEPT_KEYWORDS="~amd64-linux" |
89 |
ACCEPT_LICENSE="* -@EULA" |
90 |
CBUILD="x86_64-pc-linux-gnu" |
91 |
CFLAGS="-O2 -pipe" |
92 |
CHOST="x86_64-pc-linux-gnu" |
93 |
CONFIG_PROTECT="/etc" |
94 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" |
95 |
CPPFLAGS="-I/home/egeland/gentoo-prefix/usr/include" |
96 |
CXXFLAGS="-O2 -pipe" |
97 |
DISTDIR="/home/egeland/gentoo-prefix/usr/portage/distfiles" |
98 |
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" |
99 |
FFLAGS="" |
100 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
101 |
LANG="en_US.UTF-8" |
102 |
LDFLAGS="-L/home/egeland/gentoo-prefix/usr/lib -Wl,-rpath=/home/egeland/gentoo-prefix/usr/lib -L/home/egeland/gentoo-prefix/lib -Wl,-rpath=/home/egeland/gentoo-prefix/lib" |
103 |
PKGDIR="/home/egeland/gentoo-prefix/usr/portage/packages" |
104 |
PORTAGE_CONFIGROOT="/home/egeland/gentoo-prefix/" |
105 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" |
106 |
PORTAGE_TMPDIR="/home/egeland/gentoo-prefix/var/tmp" |
107 |
PORTDIR="/home/egeland/gentoo-prefix/usr/portage" |
108 |
PORTDIR_OVERLAY="" |
109 |
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" |
110 |
USE="amd64 bootstrap bzip2 cli cracklib crypt cxx dri iconv ipv6 mmx modules mudflap ncurses nptl nptlonly openmp perl pppd prefix readline session sse sse2 sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
111 |
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |