On 03/18/2018 12:51 PM, Ken Moffat wrote:
On Sun, Mar 18, 2018 at 02:21:50PM +0000, Hazel Russman wrote:
I've just found a third example on Linux Questions:
https://www.linuxquestions.org/questions/linux-from-scratch-13/linux-from-scratch-8-2-package-expect5-45-4-did-not-making-4175625806/
It seems to be a widespread problem so it's probably not due to carelessness. I
wonder if it's host-related. I notice that the first complainer was using Mint
(an Ubuntu derivative) and the second was using Ubuntu itself. I don't know
about the third one. But I seem to remember from some years back that Ubuntu
was not then considered a good build host for LFS.
Three in one day (or two, if Pierre is right), after nothing in the
past, is certainly odd.
What used to bite people on debian and its derivatives were /bin/sh
pointing to dash, and awk being (a very old version of) mawk.
The version-check.sh script should pick those problems up.
Later, some distro had incomplete installs of gmp, mpfr, mpc
We used to have a separate script to check that, library-check.sh
with a note that the files listed should either all be present or
all absent. But we dropped that before 8.1.
In the absence of responses from any of the people affected by this,
I tend to believe it was probably caused by a problem with the host
requirements. On this list I've seen people who posted the output,
and thought it was fine when there were several differences from
what the text said.
If the host requiremements are ok, perhaps retry, but:
1. tee the output from glibc (stdout AND stderr) to a log for each
of configure, make, make install.
2. run the steps in the Caution box (those should always be run).
3. check the symlinks for libutil and libpthread in /tools/lib.
Oh, and re your reply on linuxquestions, I will be very surprised
if any of the editors builds from slackware - my normal procedure is
to build from LFS. But any recent distribution using glibc (i.e.
not anything using musl) should be able to build LFS once it has
been adjusted to meet the host requirements.
I usually have my students build from Debian, but they sometimes use
other distros.
My experience is that this type of problem is a cascade from earlier
problems. Two major issues commonly occur. First, I would like to see
the output of the host system requirements script. A second common
error is not removing directories for gcc or binutils after the pass1
builds. A third possibiliy (less common) is to be building as some user
(e.g. root) other than user lfs in Chapter 5.
The solution for each problem is to (from the host) rm -rf
/mnt/lfs/tools/* and restart Chapter 5 after double checking the host
system requirements.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style