I am trying to install gentoo from the web by following the steps in the
Gentoo Linux x86 Handbook for a stage 1 install. This works well up to
a point.
When I execute
# emerge --emptytree system
after some time the process terminates with a message similar to
cd ../obj_s; -I../c++ -I../include
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
-I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer
-fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
/bin/sh: line 1: -I../c++: No such file or directory
make: *** [../obj_s/cursesf.o] Error 127
(I say similar because the output above is from executing make within
the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++)
Inspecting the Makefile shows that there is no value defind for CXX. As
g++ does not appear to exist within my chrooted environment I did
attempt to set this to gcc, but this failed with a notice the c++ was
not installed.
I believe I must have messed up something in creating my chroot
environment as g++ exists elsewhere. But I can't figure what that might
have been.
I have also tried executing the instructions for installing gcc 3.4 in
the hope that this would give me a c++ compiler, but this failed with
the same error as above.
Any ideas on how I should proceed? I am loathe to restart as a) I don't
yet see what I can do differently and b) I have a 2GB cap on my
bandwidth for December and have already used over 25% of this.
Thanks,
--
mike kenny
Linux Registered User #381724
LPI ID# 80080
"Hell, there are no rules here, we're just trying to accomplish something"
Thomas Edison
--
gentoo-user@gentoo.org mailing list