pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38654 (nagios dosen't run from out of the box)
The following reply was made to PR pkg/38654; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38654 (nagios dosen't run from out of the box)
Date: Sat, 30 Apr 2011 10:26:33 +0200
On Sat, Apr 30, 2011 at 05:35:02AM +0000, David Holland wrote:
> The following reply was made to PR pkg/38654; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/38654 (nagios dosen't run from out of the box)
> Date: Sat, 30 Apr 2011 05:18:59 +0000
>
> On Thu, Apr 28, 2011 at 09:40:03AM +0000, Takahiro Kambe wrote:
> > nagios-base-3.1.2nb4: copying
> /usr/pkg/share/examples/nagios/objects/commands.cfg-sample to
> /usr/pkg/etc/nagios/objects/commands.cfg
> > cp: /usr/pkg/etc/nagios/objects/commands.cfg: No such file or directory
> > chmod: /usr/pkg/etc/nagios/objects/commands.cfg: No such file or
> directory
> > [...]
> > In summary, pkg/38654 is solved on pkgsrc current but nagios-base on
> > pkgsrc-2011Q1 has another problem. (pkg/38654 was on May 2008 and it
> > was the problem on pkgsrc-2008Q1 or pkgsrc-2008Q2.)
>
> Looking at the diff between pkgsrc-2011Q1 and HEAD in nagios-base I
> don't understand this behavior.
>
> INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/objects
>
> is present in both versions...
That only creates the directory under $DESTDIR, not in $PREFIX at
installation time. This would also have been an issue when using binary
packages. MAKE_DIRS or REQD_DIRS or so is needed here.
Joerg
Home |
Main Index |
Thread Index |
Old Index