Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge apache
Date: Sun, 20 Jan 2008 08:15:54
Message-Id: 200801201009.32442.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Can't emerge apache by Mike Diehl
1 On Sunday 20 January 2008, Mike Diehl wrote:
2 > On Saturday 19 January 2008 03:12:23 am Roman Zilka wrote:
3 > > Hi Mike!
4 > >
5 > > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such
6 > > > file or directory
7 > > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file
8 > > > or directory
9 > >
10 > > i486 - this is kinda weird for a brand new box.
11 >
12 > Ya, very weird. Here is what I've got in /etc/make.conf:
13 > CHOST="i686-pc-linux-gnu"
14 > MAKEOPTS="-j2"
15
16 Did you install from a stage3? You probably have not rebuilt gcc then.
17
18 > USE="-acl -cups -dri -fortran -gpm -iconv -ipv6 -isdnlog -midi
19 > -mudflap -nls -openmp -pppd -reflection -session -tcpd
20 > -truetype-fonts -type1-fonts -unicode -xorg"
21 >
22 > Seems rational to me. The box is going to be a stripped-down server.
23 >
24 > > What's does your
25 > > 'emerge --info' look like?
26 > > Maybe you've got a wrong CHOST set up. What
27 > > does 'ls /usr/lib/gcc/*/*/crt*S.o' report (just to be sure)? Are
28 > > you able to emerge any other packages?
29 > >
30 > > -rz
31 >
32 > # gcc-config -l
33 > [1] i686-pc-linux-gnu-4.1.2 *
34 >
35 > # ls /usr/lib/gcc/*/*/crt*S.o
36 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o
37 > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o
38 >
39 > It almost seems like it might be easier to start over.... What do
40 > you think?
41
42 No, that will probably just land you up in exactly the same position.
43 This isn't Windows where reinstalls produce random different results
44 every time :-)
45
46 Somehow apr is confused about which version of gcc you have. Rebuild
47 your tool chain and try again.
48
49
50 --
51 Alan McKinnon
52 alan dot mckinnon at gmail dot com
53 --
54 gentoo-user@l.g.o mailing list