SVN-20080403 : 5.6.1. Installation of Glibc failure
Joe
dev at freedomcircle.net
Fri Apr 4 20:59:42 MDT 2008
Bruce Dubbs wrote:
> This comes up occasionally because users do not read section iv.
>
> "Your host system should have the following software with the minimum
> versions indicated."
>
> and
>
> "To see whether your host system has all the appropriate versions, run
> the following:"
>
> Reread
> http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html
>
> and let us know any host neutral changes you might recommend.
>
Well, according to this
(https://launchpad.net/ubuntu/+spec/dash-as-bin-sh), /bin/sh in Ubuntu
edgy is symlinked to dash instead of bash, so even though
|bash --version | head -n1 | cut -d" " -f2-4
|
|may indicate that a user has bash newer than 2.05a, any build shell
scripts that start with #!/bin/sh may or may not behave as expected (I
have no practical experience with dash but I read that it has caused
problems in places). If this is indeed a potential problem, perhaps the
second sentence could be rephrased along these lines:|
|||
| This should not be an issue for most modern Linux distributions, but
be aware that some commonly used programs, such as /bin/sh, may be
symlinked to a different program.
The only such programs that come to mind are sh, make and awk (cc could
also be a problem but very unlikely under Linux).
The alternative, which I think is a cleaner bootstrapping procedure, is
to change the order so that bash gets built first and symlinked the way
we want it and GNU make second (which is the way DIY does it). The
downside is that it does require second passes during Chapter 5.
Joe
||
More information about the lfs-dev
mailing list