Subject: Re: pkg_install refuses to compile
To: Cannella, Michael \(ISS Southfield\) <>
From: Alistair Crooks <>
List: tech-pkg
Date: 04/16/2001 19:29:38
On Mon, Apr 16, 2001 at 01:22:01PM -0400, Cannella, Michael (ISS Southfield) wrote:
> I read over the archives for the pkg_install problems in early March, which
> is when this problem began; at that time, I sup'ed and the symptoms were
> similar to those described in those posts. Now, however:
>  - The system hasn't been in use since then
>  - I did a 'sup' this morning.
>  - Attempting to make anything but pkg_install gives me the "...your package
> tools need to be updated to 2001/03/06 versions...type 'make install' in the
> .../pkg_install directory"
>  - Attempting to make pkg_install results in:
> Extracting for digest-20010320
> Patching for digest-20010320
> Configuring for digest-20010320
> Building for digest-20010320
> <-----some compile commands-------->
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings
> -Wswitch -Wshadow -Werror -I/usr/pkgsrc/pkgtools/digest/work
> -DVERSION="20010320" -DHAVE_S
> :make: don't know how to make /usr/share/tmac/tmac.andoc. Stop
> Nothing on the list seems to mention this problem; can anyone give me some
> guidance?
> Note: As a security guy, I've run NetBSD as a firewall for a few years, but
> never ran apps or services. So, I'm not very familiar with the package
> system, which is now appearing as complex and arcane as I imagined; please
> use simple instructions and short words to tell me just how ignorant I am
> ;^/
> mike
> -----michael cannella
> -----Secure U: The Power To Educate
> -----Internet Security Systems

I'm sorry that you find the packages system arcane and complex - we
strive to make it the exact opposite, but we've obviously come a bit
short in your case. And you're obviously not ignorant if you've been
using NetBSD for years.

The long and the short of it, as John Darrow has stated, is that the
build framework that is the packages collection is trying to format
the manual pages for the digest package for you. This is so that you
can see what the related commands in the package can do. And you are
unfortunately missing the correct utilities on your system that would
format said manual pages.

The simplest step would be to install nroff, since you'll need it at a
later stage to build manual pages for other packages.  We don't really
target pkgsrc at people without nroff, since then the inventory files
which come with packages would be a real pain to maintain.

Hope this helps,