1 |
Hi All- |
2 |
|
3 |
I'm trying to do a stage 1 installation on a Dell PowerEdge 1600SC with |
4 |
1 Xeon 2.4 GHz processor and I'm not sure how to treat the Xeon |
5 |
processor. I've read that the Xeon is an improved version of the |
6 |
pentium4, so I've modified my /etc/make.conf accordingly. Should I use |
7 |
CHOST=i686-pc-linux-gnu as the Handbook seems to indicate? Any other |
8 |
flags to set for /etc/make.conf or other config files? |
9 |
|
10 |
If there's nothing else, can someone help me figure out why I can't get |
11 |
findutils to build? Here's my output from emerge: |
12 |
|
13 |
=============================================== |
14 |
cdimage portage # emerge findutils |
15 |
Calculating dependencies ...done! |
16 |
>>> emerge (1 of 1) sys-apps/findutils-4.1.20-r1 to / |
17 |
>>> md5 src_uri ;-) findutils-4.1.20.tar.gz |
18 |
>>> Unpacking source... |
19 |
>>> Unpacking findutils-4.1.20.tar.gz |
20 |
to /var/tmp/portage/findutils-4.1.20-r1/work |
21 |
* Applying findutils-env-size.patch... |
22 |
[ ok ] |
23 |
>>> Source unpacked. |
24 |
afs |
25 |
configure: WARNING: If you wanted to set the --build type, don't use |
26 |
--host. |
27 |
If a cross compiler is detected then cross compile mode will be |
28 |
used. |
29 |
checking build system type... i686-pc-linux-gnu |
30 |
checking host system type... i686-pc-linux-gnu |
31 |
checking for a BSD-compatible install... /bin/install -c |
32 |
checking whether build environment is sane... yes |
33 |
checking for gawk... gawk |
34 |
checking whether make sets $(MAKE)... yes |
35 |
checking for i686-pc-linux-gnu-strip... no |
36 |
checking for strip... strip |
37 |
checking for i686-pc-linux-gnu-gcc... gcc |
38 |
checking for C compiler default output... configure: error: C compiler |
39 |
cannot create executables |
40 |
See `config.log' for more details. |
41 |
|
42 |
!!! ERROR: sys-apps/findutils-4.1.20-r1 failed. |
43 |
!!! Function econf, Line 365, Exitcode 77 |
44 |
!!! econf failed |
45 |
|
46 |
|
47 |
================================================== |
48 |
|
49 |
The reason I'm trying to emerge findutils at this point is that emerge |
50 |
system failed when it got to this step, so I thought I'd try it |
51 |
manually. The output looks pretty much the same when I emerge system. |
52 |
|
53 |
My /etc/make.conf file is as follows: |
54 |
|
55 |
=================================================== |
56 |
# These settings were set by the catalyst build script that |
57 |
automatically built this stage |
58 |
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4" |
59 |
CHOST="i686-pc-linux-gnu" |
60 |
USE="sse krb4 kerberos samba ldap sasl doc apache2 afs acpi apm berkdb |
61 |
crypt cups emacs emacs-w3 encode ethereal evo firebird flac foomaticdb |
62 |
gpm gstreamer guile hardened imap innodb jabber jack java jikes libwww |
63 |
mad mcal mysql ncurses odbc oggvorbis pam pda ppds pdflib perl |
64 |
plotutils png prelude python readline ruby slp spell ssl svga tcltk |
65 |
tetex tiff truetype unicode usb vhosts X kde qt gnome gtk gtk2 |
66 |
quicktime jpeg gif xinerama X Xaw3d xml xml2 xmms xv zeo alsa avi |
67 |
bonobo acl caps imagemagick icq ipv6" |
68 |
CXXFLAGS="${CFLAGS}" |
69 |
MAKEOPTS="-j2" |
70 |
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/" |
71 |
=================================================== |
72 |
|
73 |
(I really do plan on making use of all those USE variables) |
74 |
|
75 |
Before emerging system, I followed a recommendation from the Handbook to |
76 |
export USE="-java" to speed up compile time. That's the only locally |
77 |
defined environment variable I've set. |
78 |
|
79 |
I tried manually configuring the findutils tarball with: |
80 |
./configure --prefix=/usr --with-afs --host=i686-pc-linux-gnu |
81 |
--build=i686-pc-linux-gnu |
82 |
|
83 |
I also tried it without the --build option, and before that, without |
84 |
either the --build or the --host option in an attempt to determine if |
85 |
the warning I get from emerge findutils about not using --host was |
86 |
related to my problem, but all three of these manual attempts at |
87 |
configuring a findutils package unpacked from a copy of the portage |
88 |
tarball succeeded without the failure listed above (configure: error: C |
89 |
compiler cannot create executables). |
90 |
|
91 |
Any thoughts? It looks to me like the build process is trying to do a |
92 |
cross-compiled executable and I don't want that. Is that what's going |
93 |
on? |
94 |
|
95 |
Thanks in advance. |
96 |
|
97 |
-Kevin |
98 |
|
99 |
PS. For what it's worth: |
100 |
cdimage portage # emerge -pv system |
101 |
|
102 |
These are the packages that I would merge, in order: |
103 |
|
104 |
Calculating system dependencies ...done! |
105 |
[ebuild N ] sys-apps/findutils-4.1.20-r1 +afs -build +nls |
106 |
-(selinux) 0 kB |
107 |
[ebuild N ] sys-apps/slocate-2.7-r5 0 kB |
108 |
[ebuild N ] sys-apps/grep-2.5.1-r1 -build +nls 0 kB |
109 |
[ebuild N ] app-arch/gzip-1.3.3-r2 -build +nls -static 0 kB |
110 |
[ebuild N ] sys-apps/hdparm-5.4 0 kB |
111 |
[ebuild N ] sys-apps/less-381 0 kB |
112 |
[ebuild N ] sys-apps/man-pages-1.66 0 kB |
113 |
[ebuild N ] sys-apps/net-tools-1.60-r8 -build +nls -static 0 kB |
114 |
[ebuild N ] sys-apps/procps-3.1.15 0 kB |
115 |
[ebuild N ] sys-apps/psmisc-21.2-r4 +nls -(selinux) 0 kB |
116 |
[ebuild N ] sys-apps/setserial-2.17-r2 0 kB |
117 |
[ebuild N ] sys-libs/pwdb-0.62 -(selinux) 0 kB |
118 |
[ebuild N ] app-arch/sharutils-4.2.1-r8 +nls 0 kB |
119 |
[ebuild N ] app-arch/ncompress-4.2.4 0 kB |
120 |
[ebuild N ] app-arch/tar-1.13.25-r3 -build +nls -static 0 kB |
121 |
[ebuild N ] sys-apps/which-2.16 0 kB |
122 |
[ebuild N ] sys-devel/bin86-0.16.0 0 kB |
123 |
[ebuild N ] sys-apps/tcp-wrappers-7.6-r8 +ipv6 -static 0 kB |
124 |
[ebuild N ] app-crypt/heimdal-0.6.1 +berkdb +ipv6 +ldap +ssl 0 kB |
125 |
[ebuild N ] net-misc/openssh-3.7.1_p2-r2 -X509 -chroot +ipv6 |
126 |
+kerberos +pam -(selinux) -skey -static +tcpd 122 kB |
127 |
[ebuild N ] sys-fs/devfsd-1.3.25-r6 0 kB |
128 |
|
129 |
Total size of downloads: 122 kB |
130 |
|
131 |
PPS. I started out with stage1-pentium4-pie-ssp-2004.0.tar.bz2 |