On Wed, Aug 23, 2017 at 04:58:19PM -0500, [email protected] wrote:
> On 08/22/2017 07:14 PM, Ken Moffat wrote:
> > Grep is in /sbin.
> > Really ? It should be in /bin. That in itself is enough for it to
> > not be found - it's a user tool, for general use when searching
> > files and running scripts.
> >
>
> Copying grep to /bin fixed the problem.
>
> After initially finding grep (as per your suggestion) in /sbin I copied it
> to /bin Tuesday, logged in as lfs and checked /lfs/tools, only to again find
> it empty. So, while having grep in /sbin also seemed problematic to me, I
> assumed there were additional problems resulting in an empty /lfs/tools. I
> then successfully built 8.1 using an ISO distribution and my scripts. Hmm
> ...
>
> So today I retried compiling 8.1 with my 8.0 distribution and binutils-pass1
> compiled successfully. I noticed ls shows nothing in /lfs/tools until
> binutils-pass1 has been compiled. Is that right?
Yes, I think this might be one of those situations where you have to
step back before the situation will become clear. Binutils pass 1
is the first package, and it only installs things when you get to
'make install', so until then /tools should be empty (unless you
deliberately create files for testing, e.g. with 'touch').
>
> I now seem to be compiling packages successfully using my 8.0 build. I've
> no idea how grep got in /sbin but I'll certainly check its location after
> finishing 8.1. And I also have no idea about xpg4. That may have been
> something I did after building BLFS. I've done nothing with Solaris. I'll
> check for xpg4 after compiling BLFS 8.1.
I don't quite understand how xpg4 could get into the PATH, even if
you did install something there. I thought we specified PATH for
the lfs user somewhere in the early part of the book, but for your
new system it will (hopefully) not exist.
ĸ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