Hi David,
On 29/11/2011 10:13, David Scott Williams wrote:
> I feel silly replying to myself again -- but...after re-running the
> check, and it coming up OK... I went ahead and went to install this
> glibc... the tail end of the error message (I assume this is relating to
> a manual//info?) is as follows. Not sure if this is OK/normal/whatever.
>
> make[2]: Entering directory `/sources/glibc-2.14.1/manual'
> pwd=`pwd`; \
> no libm-err-tab.pl $pwd/..> libm-err-tmp
> /bin/sh: line 1: no: command not found
> make[2]: *** [stamp-libm-err] Error 127
> make[2]: Leaving directory `/sources/glibc-2.14.1/manual'
> make[1]: *** [manual/subdir_install] Error 2
> make[1]: Leaving directory `/sources/glibc-2.14.1'
> make: *** [install] Error 2
> I have no name!:/sources/glibc-build#
I just checked through the section of Glibc source code and I believe
glibc-2.14.1/manual/Makefile line 110 is where it goes wrong for you.
The line in question contains: $(PERL) $< $$pwd/.. > libm-err-tmp
The $(PERL) variable seems to have expanded into "no" which likely will
be traced back during an error encountered during the "configure" script
where it tried to detect perl and failed.
There is a second issue: notice the last line in your output:
I have no name!:/sources/glibc-build#
"I have no name!" is significant here. This is caused by the system not
knowing "who" you are - usually because of a missing /etc/passwd file.
This step is handled in Section 6.6 of the book "Creating Essential
Files and Symlinks".
If this step was missed, perhaps you missed a couple of other steps in
the same beginnings of Chapter 6 that led to Glibc's failure. Some of
those core system files will definitely trip up a configure script. The
files are simply assumed to always exist without exception and error
checking for their absence often doesn't exist or is poorly done.
If in doubt, perhaps start Chapter 6 from the beginning again assuming
Chapter 5 was done correctly.
Gerard
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page