[Bug 880] Environment does not get cleared before chapter 5 starts

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Fri Jul 23 07:03:08 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=880





------- Additional Comments From rodolfo at rodsoft.org  2004-07-23 08:03 -------
As you might have already looked up, gcc adds the CPATH path list to its header
path list. So, it's as important as CFLAGS, CXXFLAGS, etc. I don't remember if
nALFS also clears LIBRARY_PATH, another variable similar to CPATH, but dealing
with libraries search path. Their problem is that they're not very common. I
have those set here because I wanted to add ~/include and ~/lib into the search
list. And unfortunately (misconfiguration) I had /usr/include also in CPATH.

The best solution (I think) would be clearing up the environment at start. Could
this be made when nALFS switch to the user lfs with the action 'user'? That's
where the problem begins, because the book says to do a 'su - lfs' which clears
up the environment, but nALFS doesn't.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the alfs-log mailing list