Chapter 6.9 - Glibc Make Install Errors
tijnema at gmail.com
Fri Jun 8 14:29:30 PDT 2007
On 6/8/07, Jonathan Haws <Jonathan.Haws at sdl.usu.edu> wrote:
> When trying to install the Glibc headers in LFS there are numerous issues. First, make -k check produces quite a few errors (I will post them all once I run the test again). Most are nptl, which from what I have read are nothing to worry about. I am using the LiveCD as the host. Now down to the real problem:
> I decided to continue when I read about not worrying about nptl, so the next step is to run:
> make install
> When this is run, it fails at the end with these messages:
> make: Entering directory '/build/gclibc-2.3.6/manual'
> pwd='pwd'; \
> no libm-err-tab.pl $pwd/.. > lib-err-tmp
> /bin/sh: no: command not found <<-----------------I believe the problem is here!
> make: *** [stamp-libm-err] Error 127
> make: Leaving directory '/build/glibc-2.3.6/manual'
> make: *** [manual/subdir_install] Error 2
> make: Leaving directory '/build/glibc-2.3.6'
> make: *** [install] Error 2
> I have searched and cannot find a resolution. I can't continue, obviously without working headers, so I could use some expert help. Thanks in advance!
> Jonathan R. Haws
> Jonathan.Haws at sdl.usu.edu
Seems like the symlink to bash is missing, try this:
ln -s bash /bin/sh
That would create the required symlink, and your install command
should run fine.
More information about the lfs-support