Subject: Newbie pkgsrc PATH Related Question
To: None <port-sparc@NetBSD.org>
From: Gary Parker <G.J.Parker@lboro.ac.uk>
List: port-sparc
Date: 07/29/2004 14:58:44
Hi all, I've only been using NetBSD for a few days (recently defected from
Debian Linux) so I'm on something of a learning curve here.

I'm running 1.6.2 on an SS20 with 2xRoss HyperSPARC 150s and 320MB RAM.

I've successfully set up CVS on the machine and compiled and installed some
bits and bobs like bash and screen but I decided I need to do openssl and
openssh as well so they'd be optimized for the V8 hardware in my machine.

'make' and 'make install' both went fine for both packages, however the
binaries seem to have been installed in /usr/pkg/bin, /usr/pkg/lib and
/usr/pkg/sbin.

I can obviously add these folders to my PATH, but the original binaries that
were put on during the initial installation are still present in /lib,
/sbin, /usr etc.

What is the recommended method for overiding these with my newly compiled
binaries? Should I just delete the old binaries and copy over the new ones?
Will this break CVS in any way? Do I need to tell init to load
/usr/pkg/sbin/sshd instead of the old version?

Before anyone says that 1.6.2 is waaaay out of date I'm just getting my head
around this before trying to track current and (hopefully) get myself a 2.0
kernel running both CPUs.

Any help would be greatly appreciated...

--
/-Gary Parker-----------------------f-Loughborough University-\
n IT Bandwidth Management Specialist - http://www.bmas.ja.net |
| Computing Services      - http://www.lboro.ac.uk/computing/ o
\r----------------------------------------------------------d-/