Scripting some LFS steps?

Justin Yaple yaplej at
Mon Apr 13 19:02:03 PDT 2009

I appologize if this should have been in lfs-support.  I thought here might
be more appropriate as its about automating LFS.  I can manually run the
commands fine its just when I execute them from a sh script the process
fails with "Out of memory:".

I have 1GB memory + 1GB swap space, and again manually running the command
works fine.

On Mon, Apr 13, 2009 at 6:24 PM, Bruce Dubbs <bruce.dubbs at> wrote:

>  Justin Yaple wrote:
> > I am working my way through the LFS book, and tried to make some simple
> > scripts because I plan to test this on multiple systems.  On the 2nd pass
> of
> > GCC when I run "make -k check" from a sh script it stops with "Out of
> > memory".  I have tried google, but nothing much has been a help.
>  Manually
> > running the command run to completion, and if I exclude the "make -k
> check"
> > from my script the whole script will complete without any problems.
> This probably should be on LFS-support.
> The obvious question is how much memory do you have and how much swap do
> you have?
>   -- Bruce
> --
> FAQ:
> Unsubscribe: See the above information page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the alfs-discuss mailing list