On Thu, 8 Jun 2006, Mark Cullen wrote: > walt wrote: > > Mark Cullen wrote: > > [...][ > > > > > The problem: the rc.d script doesn't seem to get installed. > > > > > > --- > > > =========================================================================== > > > =========================================================================== > > > The following files should be created for apcupsd-3.8.6nb5: > > > > > > /etc/rc.d/apcupsd (m=0755) > > > > > > Well, God knows I'm no expert, but I'm wondering if the script > > got installed in /usr/pkg/etc/rc.d/ instead? > > It wasn't in /usr/pkg/etc/rc.d/, but I assume you meant to say /etc/rc.d/ > there? :-) Well spotted, I never checked there for it! I'll have a look at > that one later.
The confusion seems to be built into the pkgsrc utilities, e.g., if you don't specify any directories when running bootstrap, it puts the mk.conf in /usr/pkg/etc. But, the pkg_chk utility will look at /etc/mk.conf by default unless to tell it to look in /usr/pkg/etc. Very confusing. Try running bootstrap --help to see what you can specify. Not that you would want to change the defaults, but I did because I was trying to juggle pkgsrc and ports for awhile and got pretty lost in the fog.
