Subject: bootstrap.sh.
To: None <tech-pkg@netbsd.org>
From: Herb Peyerl <hpeyerl@beer.org>
List: tech-pkg
Date: 02/25/2004 06:45:26
So, I'm passing this along, not as criticism, but as feedback via a friend.

A friend of mine found his Solaris machine rootkitted, so while he was 
installing it, I pointed him at

http://www.netbsd.org/Documentation/pkgsrc/platforms.html

and said "go".

Basically, getting things going for him took about 4 seperate email
exchanges between he and I.  Things that were obvious to me but
non-obvious to him.

First, it was non-obvious to him that there was an ftp client 
provided by the bootstrap package, that he could use to do passive
ftp.  I call that "duh, look in the tar package and see what you
got."  but onwards.

Second, it didn't occur to him that he was supposed to use 'bmake'. The
docs say he needs a C compiler which he installed. It goes over that
part carefully, but never mentions 'bmake' for building packages. Again,
completely obvious to me, but not a non-netbsd experienced person.

Third, it didn't appear to say anywhere that the first thing he
needs to do was go into pkgsrc/pkgtools/pkg_install and build that.
He was having problems with not having a current libtool, and there
didn't seem to be one in the bootstrap package, and he seemed to
have trouble building it, so I got him to 'bmake' in pkg_install and
he seemed to be able to progress from there. 

Unfortunately, I wasn't typing or even present during any of this, just
the recipient of some questions that I thought he should have been
able to get the answers to from the docs.

Hope at least some of this helps.

---
Beheading servers since 1999 -- The PC Weasel! http://www.realweasel.com