Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16119 - Install DOC unclear about source /etc/profile & gcc not found for users with no linux experience
Summary: Install DOC unclear about source /etc/profile & gcc not found for users with ...
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Docs Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 22:21 UTC by Vince Verleye
Modified: 2003-03-24 00:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)