I also encounter this problem before, I think the cause is on my build machine, /bin/sh is pointing to dash, not bash. please check this Pre Requirement.
"/bin/sh should be a symbolic or hard link to bash" 2011/12/4 Tom Blamer <[email protected]> > I've been following the LFS 7.0 stable book exactly, as far as I know, but > I've hit a brick wall with building Bash in chapter 5. > > For example, I see lots of messages like this in the output of "make > tests": > > < ./glob.tests: command substitution: line 188: syntax error near > unexpected token `)' > < ./glob.tests: command substitution: line 188: `echo */man*/bash.*)' > < ./glob.tests: command substitution: line 190: syntax error near > unexpected token `)' > < ./glob.tests: command substitution: line 190: `echo */man*/bash.*)"' > > My host system is Fedora 16, x86_64. > > There are at least four threads where other people had this problem or > something similar, and no one ever reported what the issue was. What's the > deal? > > http://www.linuxfromscratch.org/pipermail/lfs-support/2009-September/036410.html > > http://www.linuxfromscratch.org/pipermail/lfs-support/2010-January/037338.html > http://linuxfromscratch.org/pipermail/lfs-support/2011-November/041616.html > > http://www.linuxfromscratch.org/pipermail/lfs-support/2010-February/037873.html > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > > -- Best Regards Bicen Zhu
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
