Gentoo Archives: gentoo-user

From: Mike Kenny <mikekenny@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] C++ missing
Date: Sun, 04 Dec 2005 11:42:55
Message-Id: 4392D44F.2070009@telkomsa.net
In Reply to: Re: [gentoo-user] C++ missing by Dale
1 Dale wrote:
2 > Mike Kenny wrote:
3 >
4 >
5 >>I am trying to install gentoo from the web by following the steps in
6 >>the Gentoo Linux x86 Handbook for a stage 1 install. This works well
7 >>up to a point.
8 >>
9 >>When I execute
10 >># emerge --emptytree system
11 >>after some time the process terminates with a message similar to
12 >>
13 >>cd ../obj_s; -I../c++ -I../include
14 >>-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
15 >>-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
16 >>-I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686
17 >>-fomit-frame-pointer -fPIC -c
18 >>/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
19 >>/bin/sh: line 1: -I../c++: No such file or directory
20 >>make: *** [../obj_s/cursesf.o] Error 127
21 >>
22 >>(I say similar because the output above is from executing make within
23 >>the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++)
24 >>
25 >>Inspecting the Makefile shows that there is no value defind for CXX.
26 >>As g++ does not appear to exist within my chrooted environment I did
27 >>attempt to set this to gcc, but this failed with a notice the c++ was
28 >>not installed.
29 >>
30 >>I believe I must have messed up something in creating my chroot
31 >>environment as g++ exists elsewhere. But I can't figure what that
32 >>might have been.
33 >>
34 >>I have also tried executing the instructions for installing gcc 3.4 in
35 >>the hope that this would give me a c++ compiler, but this failed with
36 >>the same error as above.
37 >>
38 >>Any ideas on how I should proceed? I am loathe to restart as a) I
39 >>don't yet see what I can do differently and b) I have a 2GB cap on my
40 >>bandwidth for December and have already used over 25% of this.
41 >>
42 >>Thanks,
43 >>
44 >
45 > Well, I may have ran into this before. Type in df and see if your disk
46 > is full. It is worth a try at least.
47 >
48 > Dale
49 > :-)
50 >
51 Thanks for the reply Dale. The output of df in my chroot environment is:
52
53 df: cannot read table of mounted filesystems: No such file or directory
54
55 I am not clear on what the cause of significance of this is. On the
56 actual system (i.e. not in chroot) the output is:
57
58 Filesystem Size Used Avail Use% Mounted on
59 tmpfs 252M 5.2M 247M 3% /
60 /newroot/dev/cdroms/cdrom0
61 59M 59M 0 100% /mnt/cdrom
62 /dev/loop/0 52M 52M 0 100% /mnt/livecd
63 tmpfs 252M 1.2M 251M 1% /lib/firmware
64 /dev/hda3 1.4G 596M 785M 44% /mnt/gentoo
65 /dev/hda1 130M 13K 123M 1% /mnt/gentoo/boot
66
67 I expect this would provide me with sufficient space?
68
69 I was incorrect in my previous email, executing g++ outside of the
70 chroot results in:
71
72 sh: line 1: /usr/bin/gcc-config: No such file or directory
73 gcc-config error: Could not get compiler binary path: No such file or
74 directory
75
76 But this may be a result of my attempt to emerge gcc 3.4.4?
77 --
78 mike kenny
79 Linux Registered User #381724
80 LPI ID# 80080
81
82 "Hell, there are no rules here, we're just trying to accomplish something"
83 Thomas Edison
84 --
85 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] C++ missing Dale <dalek@××××××××××.net>