Dale wrote:
Mike Kenny wrote:


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,


Well, I may have ran into this before.  Type in df and see if your disk
is full.  It is worth a try at least.

Dale
:-)

Thanks for the reply Dale. The output of df in my chroot environment is:

df: cannot read table of mounted filesystems: No such file or directory

I am not clear on what the cause of significance of this is. On the actual system (i.e. not in chroot) the output is:

Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 252M  5.2M  247M   3% /
/newroot/dev/cdroms/cdrom0
                       59M   59M     0 100% /mnt/cdrom
/dev/loop/0            52M   52M     0 100% /mnt/livecd
tmpfs                 252M  1.2M  251M   1% /lib/firmware
/dev/hda3             1.4G  596M  785M  44% /mnt/gentoo
/dev/hda1             130M   13K  123M   1% /mnt/gentoo/boot

I expect this would provide me with sufficient space?

I was incorrect in my previous email, executing g++ outside of the chroot results in:

sh: line 1: /usr/bin/gcc-config: No such file or directory
gcc-config error: Could not get compiler binary path: No such file or directory

But this may be a result of my attempt to emerge gcc 3.4.4?
--
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

Reply via email to