Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 16119

Summary: Install DOC unclear about source /etc/profile & gcc not found for users with no linux experience
Product: [OLD] Docs-user Reporter: Vince Verleye <zu>
Component: Gentoo Linux x86 Installation GuideAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?t=36849
Whiteboard:
Package list:
Runtime testing required: ---

Description Vince Verleye 2003-02-20 22:21:08 UTC
The Install doc has a piece of code that looks like this:

--------8<---------
# cd /usr/src/linux
# source /etc/profile
Again, this updates your paths. If you get an error saying gcc is not found,
this is what you may have to do.
# make menuconfig
# make dep && make clean bzImage modules modules_install
# mv /boot/bzImage /boot/bzImage.orig
[if bzImage already exists]
# cp /usr/src/linux/arch/i386/boot/bzImage /boot 
------8<-------------

As seen in http://forums.gentoo.org/viewtopic.php?t=36849 the warning about gcc
not found might be confusing to users with no linux experience.

I suggest modifying the warning, for example, like this:

-----8<-------------
# source /etc/profile
Again, sourcing this file updates your paths. If you get an error in the next
line saying gcc is not found, this is what you may have to do since it will set
the correct path to gcc.
----8<-------------

Thanks.

Reproducible: Sometimes
Steps to Reproduce:
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2003-02-26 13:25:17 UTC
test
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2003-03-24 00:39:07 UTC
This should have been done when entering the chroot environment:

 Code listing 8.3: Prepping and entering the chroot environment

# mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
(The above points your shell to the new paths and updated binaries.)