On Mon, Aug 21, 2017 at 05:36:04PM -0500, Bruce Dubbs wrote:
> [email protected] wrote:
> >
> > I'm attempting to build LFS 8.1 using a working LFS/BLFS 8.0
> > installation. I receive Error 2 when compiling binutils-pass1 and several
> > grep errors such as the following :
> >
> > checking for grep that handles long lines and -e... configure: error:
> > no acceptable grep could be found in /tools/bin:/bin:/usr/bin:/usr/xpg4/bin
> >
Note that /bin and /usr/bin ARE on the PATH, so even if the symlink
is broken, grep should still be found.
No idea what xpg4 is, nor why it created a directory below /usr, but
"your system, your rules".
Anyway, where IS grep ? If you have which installed,
$ which grep
or else (assuming you are using bash)
$ type -pa grep
> > /tools displays nothing with the ls command. It appears 'ln -sv
> > $LFS/tools /' isn't working although the link was created and $LFS/tools
> > exists.
> >
I usually use
# ls -l /
on the host system to see how the system looks, but I always make
the symlink to /mnt/lfs/tools.
If you think the symlink is the problem, something like
$ touch /tools/foo
$ ls -l /tools/foo /mnt/lfs/tools/fu $LFS/tools/fu
(as the lfs user)
> > It appears creating the link hasn't changed since 8.0 and I've not had
> > problems with the link to my memory. I'm just not seeing what I've done
> > wrong.
Indeed, it hasn't changed in ages. I don't recall seeing a problem
like this.
Hmm, you should have a config.log (or maybe more than one) from
binutils - search for that error message and see if the code
fragment above it gives a more-detailed error. I'm wondering if
grep has become damaged (e.g. linked to pcre, but then after an
update somehow broken).
>
> When you created 'ln -sv $LFS/tools /', you needed to be root. Was $LFS
> defined for the root user?
>
> ls -l /tools
>
> -- Bruce
>
And thanks for stepping up to test 8.1, I await your comments on
fontconfig etc when you get to BLFS with some trepidation ;)
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
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