View Single Post
  #6   (View Single Post)  
Old 11th January 2017
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default

Oh, sorry, sometimes the addresses in config files are without the ending "/", sometimes with. I got confused. I'll change the pkgsrc tree later, as I doubt I'll find an absent build with the few packages I'll need. So, why do
Code:
root# echo $PKG_PATH
http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All/
root# pkg_add pkgin
pkg_add: no pkg found for 'pkgin', sorry.
pkg_add: 1 package addition failed
So there must be something else than $PKG_PATH ? Otherwise, I can still go in the package directory, then run 'bmake install clean clean-depends'. But still no pkg_add anything. I built pkglint, but pkgin gave that:
Code:
===> Building for pkgin-0.9.4nb4
cc -L/home/pc2/pkgsrc/pkgtools/pkgin/work/libnbcompat -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/home/pc2/pkgsrc/pkgtools/pkgin/work/libnbcompat -L/usr/pkg/lib -Wl,-R/usr/pkg/lib    -o pkgin main.o summary.o tools.o pkgindb.o depends.o actions.o pkglist.o download.o order.o impact.o autoremove.o fsops.o pkgindb_queries.o pkg_str.o sqlite_callbacks.o selection.o pkg_check.o pkg_infos.o preferred.o automatic.o dewey.o fexec.o global.o opattern.o pkgdb.o var.o progressmeter.o humanize_number.o  -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib	 -lbz2 -lz -larchive -lfetch -lpthread -lnbcompat -lcrypto -lssl -lnbcompat -lsqlite3
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
*** Error code 1
Is it because my tree version is too recent ? I do have the library libbzip2.

Last edited by spermwhale_warrior; 11th January 2017 at 11:34 PM.
Reply With Quote