pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/ dir not being created



On Thu, Mar 02, 2017 at 05:39:41PM -0400, Alberto Mijares wrote:
> pkg_create: can't stat
> `/root/pkgsrc/net/nagios-plugins/work/.destdir/usr/pkg/lib/charset.alias'

This file should not be in the PLIST, it's automatically created.

> As you can see,
> /root/pkgsrc/net/nagios-plugins/work/.destdir/usr/pkg/lib is not being
> created.

The easiest way is to write
INSTALLATION_DIRS= lib
into the Makefile.


> I've read the documentation but I'm still not very clear on how
> to play with INSTALL_LIB* vars. I'm not even sure if this file is
> actually considered a library. After that, I need to be sure that the
> file is copied into the mentioned directory.

INSTALL_LIB is for installing a library, the directory has to exist for that.

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index