Gentoo Archives: gentoo-user

From: Mike Kenny <mikekenny@××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] C++ missing
Date: Sun, 04 Dec 2005 11:15:33
Message-Id: 4392CD94.6070304@telkomsa.net
1 I am trying to install gentoo from the web by following the steps in the
2 Gentoo Linux x86 Handbook for a stage 1 install. This works well up to
3 a point.
4
5 When I execute
6 # emerge --emptytree system
7 after some time the process terminates with a message similar to
8
9 cd ../obj_s; -I../c++ -I../include
10 -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
11 -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
12 -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
13 -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
14 /bin/sh: line 1: -I../c++: No such file or directory
15 make: *** [../obj_s/cursesf.o] Error 127
16
17 (I say similar because the output above is from executing make within
18 the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++)
19
20 Inspecting the Makefile shows that there is no value defind for CXX. As
21 g++ does not appear to exist within my chrooted environment I did
22 attempt to set this to gcc, but this failed with a notice the c++ was
23 not installed.
24
25 I believe I must have messed up something in creating my chroot
26 environment as g++ exists elsewhere. But I can't figure what that might
27 have been.
28
29 I have also tried executing the instructions for installing gcc 3.4 in
30 the hope that this would give me a c++ compiler, but this failed with
31 the same error as above.
32
33 Any ideas on how I should proceed? I am loathe to restart as a) I don't
34 yet see what I can do differently and b) I have a 2GB cap on my
35 bandwidth for December and have already used over 25% of this.
36
37 Thanks,
38
39 --
40 mike kenny
41 Linux Registered User #381724
42 LPI ID# 80080
43
44 "Hell, there are no rules here, we're just trying to accomplish something"
45 Thomas Edison
46 --
47 gentoo-user@g.o mailing list

Replies

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