[lfs-support] configure, make and make install as who
thegenrlftw at gmail.com
Wed Jan 18 01:55:25 PST 2012
hi sirs thank you for responding.
as a follow up, i have changed:
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.
On Tue, Jan 17, 2012 at 8:38 AM, Firerat <firer4t at googlemail.com> wrote:
> On Jan 17, 2012 1:30 PM, "Andrew Benton" <b3nton at gmail.com> wrote:
> > On Tue, 17 Jan 2012 03:42:35 -0500
> > Dave H <thegenrlftw at gmail.com> wrote:
> > > Hello I'm stuck at a point and I really don't know what's wrong. Here
> > > my situation.
> > >
> > > Gathered from the list of All Packages list page 3.2, it states
> > > (2.68) and M4 (1.4.16)
> > >
> > > So I downloaded, extracted, M4 (1.4.16) and did the following while in
> > > 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.
> 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
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support