On Sat, 9 Oct 2010 15:05:59 -0400
Neal Murphy <neal.p.mur...@alum.wpi.edu> wrote:

> On Saturday 09 October 2010 13:54:28 Andrew Benton wrote:
> > On Sat, 9 Oct 2010 13:58:07 +0200
> >
> > Felice Murolo <linux...@fel.hopto.org> wrote:
> > > /bin/sh -> /bin/dash
> >
> > dash causes a variety of problems, there's a script in glibc that uses
> > bashisms, libtool uses bashisms. Avoid the problem:
> >
> > ln -sf bash /bin/sh
> 
> For this very reason (the visual similarity between 'b' and 'd' which is 
> easily missed), I still think the verify script should do more than print out 
> a jumble of data. See the attached script; it can give folks a clean, tidy 
> start to their project while helping to keep fenceposts out of their eyes.
> 
Why does it check for sudo? I never use it, and I don't see why it's
needed to compile LFS. There's a problem with your gcc check, I get:

FAIL: gcc v4.5.1 seems too old (<3.0.1)

A comment in your script says:
#(Versions greater than 4.4.3 are not recommended as they have not been tested) 

But the current stable LFS uses gcc-4.5.1...

Also, you may need to tweak your glibc check to work on systems that
don't have executable shared libraries. On my systems almost all shared
libraries (including /lib/libc.so.6) have premissions 644 so I get:

FAIL: glibc vhost_check.sh: line 333: /lib/libc.so.6: Permission denied
FAILED (2.2.5-2.11.2)

A comment in your script says:
#(Versions greater than 2.11.2 are not recommended as they have not been tested)

But the current stable LFS uses glibc-2.12.1

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to