pkg_radd PKG_PATH

Saifi Khan saifi.khan at twincling.org
Wed May 20 15:27:43 PDT 2009


On Wed, 20 May 2009, Antonio Huete Jimenez wrote:

> Hi Saifi,
> It is pointing to 2.2.1 because you are using 2.2.1. You should use the
> packages compiled for the release you are using.
> 
> You might want to give it a try to pkgin. You can find some instructions for
> setting it up here:
> http://leaf.dragonflybsd.org/mailarchive/users/2009-05/msg00064.html
> 
> Regards,
> Antonio
> 

i could checkout the WIP (work in progress), but on attempting
to build the /usr/pkgsrc/pkgin i get the following error:

amd64# make
"Makefile", line 32: Could not find ../../mk/bsd.prefs.mk
"Makefile", line 36: Malformed conditional (${OPSYS} != "NetBSD"
||  (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-4].*)))
"Makefile", line 37: Could not find
. ./../net/libfetch/buildlink3.mk
"Makefile", line 38: if-less endif
"Makefile", line 40: Could not find
. ./../archivers/libarchive/buildlink3.mk
"Makefile", line 41: Could not find
. ./../databases/sqlite3/buildlink3.mk
"Makefile", line 42: Could not find ../../mk/bsd.pkg.mk
make: fatal errors encountered -- cannot continue
amd64# pwd
/usr/pkgsrc/wip/pkgin
amd64#

This clearly points to the missing .mk files and expeced to be
in '/usr/pkgsrc/mk' directory.

However, i noted that '/usr/share/mk' diretory has the required
. mk files.

My question is - what is the correct way to install the mk
scripts ? Can i just copy the mk/ directory to /usr/pkgsrc/
directory ?


thanks
Saifi.





More information about the Users mailing list