Glibc build failure with /bin/sh -> /bin/dash

Matthew Burgess matthew at linuxfromscratch.org
Wed Feb 14 15:27:50 PST 2007


On Wednesday 14 February 2007 23:19, Dan Nicholson wrote:
> On 2/14/07, Matthew Burgess <matthew at linuxfromscratch.org> wrote:
>
> > 2) Remove setting "SHELL=/bin/bash" on the `make' lines so that when the
> > shell scripts are invoked they are done so with the same environment as
> > if the build was being done by hand following the LFS book.
>
> This is a problem. I think we should take another crack at trying to
> make the Makefiles portable enough for any POSIX shell. Install dash
> and call `make SHELL=/bin/dash'. See what breaks. I'd be happy to help
> here (especially since I was the one that originally insisted on
> setting SHELL=bash in the Makefile).

Well, I can test it out easily enough here too as I've got a dash afflicted 
Ubuntu host :-)  I'll set my working copy of the book up to do 'make 
SHELL=/bin/bash' in chapter05/glibc.xml and leave everything else alone and 
see what breaks.

Matt.



More information about the alfs-discuss mailing list