Opened 14 years ago

Closed 14 years ago

#2679 closed task (invalid)

PATH lameness in building LFS

Reported by: kurt klingbeil Owned by: lfs-book@…
Priority: normal Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

I was following the bouncing ball in building an LFS system from a LFS-CD host system. In binutils2.20 when I went to run configure as user lfs, It bailed with a message about C compiler can't create executable which was related to can't find 'ld'

There was no problem when running as root. from the shell I could type ld, and ld was found.

Problem turns out to be two-fold:

the PATH variable had in it /usr/gnu/bin,

which is a non-existent folder. While bash has no problem, gcc, and/or make seem to have a cow with that non-existent folder and use that as a lame excuse to bail with an error rather than continuing the search for ld through the path

Change History (4)

comment:1 by Julio Meca Hansen, 14 years ago

did you followed ALL the instructions in the book prior to the execution of the 'su - lfs' command? sounds like you have skipped something in the process.

comment:2 by Julio Meca Hansen, 14 years ago

sorry, not before but right after, I'd suggest you revise chapter 4.4 - Setting Up the Environment.

comment:3 by kurt klingbeil, 14 years ago

Doh! thanks for the heads up

I thought I was being careful, but you're right I missed the .bashrc stuff

comment:4 by bdubbs@…, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.