hi sirs thank you for responding. as a follow up, i have changed:
PATH=/tools/bin:/bin:/usr/bin to PATH=/tools/bin:/usr/local/bin:/bin:/usr/bin and now user lfs and run m4, among the rest of the stuff. 2. "you might find it easier to using the package manager..." That never crossed my mind for some reason. im still trying to put things together here. when actually sucessfully build my system, i might go back and create a custom tasksel for the all of the programs i needed to make it easier for other peoplee in the future. again thank you for your replies. sincerely, Dave On Tue, Jan 17, 2012 at 8:38 AM, Firerat <[email protected]> wrote: > > On Jan 17, 2012 1:30 PM, "Andrew Benton" <[email protected]> wrote: > > > > On Tue, 17 Jan 2012 03:42:35 -0500 > > Dave H <[email protected]> wrote: > > > > > Hello I'm stuck at a point and I really don't know what's wrong. Here > is > > > my situation. > > > > > > Gathered from the list of All Packages list page 3.2, it states > Autoconf > > > (2.68) and M4 (1.4.16) > > > > > > So I downloaded, extracted, M4 (1.4.16) and did the following while in > the > > > directory "$LFS/sources/m4-1.4.16": > > > > > > ./configure (as user lfs) > > > make (as user lfs) > > > sudo make install (as root) > > > > This is very wrong. In chapter 5 run make install as user lfs. If you > > do it as root you run the risk of destroying your host system. Also, > > root does not have the same environment variables set as the user lfs > > so the commands will not be executed in the same way if they are run by > > root. > > > Wrong! > They were installing the required version of M4 to the host > > > > question: should /usr/local/bin be in my path variable for user lfs? > > > > No > > > Wrong, if the build requires things installed in /usr/local then it needs > to be in the path > > > > currently $PATH=/tools/bin:/bin:/usr/bin. > > > question: should i be ./configure,make,make install all as root? > > > > No. Do all of chapter 5 as the user lfs. > > > That is correct > > well apart from changing ownership which must be done as root > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
