pkgsrc-Users archive

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

Resources for getting started.



I'm starting to use pkgsrc on a Linux system for the first time, and I've run into a couple of issues.

I used to be an avid FreeBSD sysadmin, so I was very comfortable and happy with its ports system. Since being fairly inundated with Linux systems for the last decade or so, I've really missed the benefits of such a system, and so when I stumbled upon pkgsrc, I can't tell you how eager I was to get back to that world a bit.

However, one of the issues I have with it is that there's no concise list of the various targets you can use on every port. The blank (normal build) target, 'install' and 'clean', of course, and got 'print-summary-data' shortly after that, but today I stumbled upon 'fetch-list' (which will come in very handy for me), and I'm wondering whether there's a list somewhere, because I can't seem to find it in the pkgsrc documentation (https://www.netbsd.org/docs/pkgsrc/).

The other problem I've run into is that databases/db4 won't install. It's required by Python and Postfix, and seems to build fine, but upon 'bmake install', things go well very briefly, and then I get this:

libtool: install: /bin/install -c -o root -g root -m 755 .libs/libdb4_cxx-4.8.so /var/src/pkgsrc/databases/db4/work/.destdir/opt/pkg/lib/libdb4_cxx-4.8.so /bin/install: cannot stat '.libs/libdb4_cxx-4.8.so': No such file or directory

As far as I can tell, 'libdb4_css-4.8.so' is never built; trying to do so directly (using 'ar' to extract the '.o' files and then 'gcc' to create the shared object) doesn't work, either. But I need to find a viable workaround very soon. Any advice?

—Ken




Home | Main Index | Thread Index | Old Index