pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problem using a second pkgsrc unprivileged
Hi,
i am trying to have separate pkgsrc installations that don't interfere
with each other.
First i cleared my path of any reference to /usr/pkgsrc or /usr/pkg.
Then i have bootstrapped a new pkgsrc installation as unprivileged user:
./bootstrap --prefix /work/pkg --unprivileged
This went ok and gave me a bmake in:
/work/pkg/bin/bmake
As well i got the following mk.conf content:
.ifdef BSD_PKG_MK # begin pkgsrc settings
UNPRIVILEGED= yes
PKG_DBDIR= /work/pkg/pkgdb
LOCALBASE= /work/pkg
VARBASE= /work/pkg/var
PKG_TOOLS_BIN= /work/pkg/sbin
PKGINFODIR= info
PKGMANDIR= man
Now i wanted to install a previous built package with this new bmake
to the new folders:
connor@localhost:/work/pkgsrc/net/wget$ bmake bin-install
===> Binary install for wget-1.20.3nb3
=> Installing wget-1.20.3nb3 from
/work/pkgsrc/packages/All;http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc64/9.0/All;http://ftp6.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc64/9.0/All
pkg_add: Failed to write include/unicase.h for libunistring-0.9.10:
Could not unlink
pkg_add: Couldn't remove /usr/pkg/include/unicase.h
pkg_add: Couldn't remove /usr/pkg/include/uniconv.h
pkg_add: Couldn't remove /usr/pkg/include/unictype.h
The problem is that it tries to access /usr/pkg and not /work/pkg,
What have i done wrong? Is is because of the prebuilt package? Do i
have to build all new with the new bmake?
Regards,
Connor
Home |
Main Index |
Thread Index |
Old Index