Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - setting up pkgsrc with 6.4.1: (2 Items)
   
setting up pkgsrc with 6.4.1  
Ok I have hit a snag while trying to use the 6.4.1 version of pkgsrc.
I have downloaded the HEAD_641 tree, and ran bootstrap
I have also added /usr/pkg/bin and /usr/pkg/sbin to PATH
and /usr/pkg/lib to CS_LIBPATH

I did all this following the 6.4.0 instructions as I couldn't find anything for 6.4.1 everything went as expected so far
 as I can tell, but I cannot just use bmake nor pkg_add to add a pkg. I can go locally to the place where they were 
installed, but I want my shell to recognize the command.

What else do I have to do in order to use pkgsrc as advertised including the commands installed in the shell path?
Re: setting up pkgsrc with 6.4.1  
On Tue, Jul 21, 2009 at 04:34:14PM -0400, John Lawniczak wrote:
> Ok I have hit a snag while trying to use the 6.4.1 version of pkgsrc.
> I have downloaded the HEAD_641 tree, and ran bootstrap
> I have also added /usr/pkg/bin and /usr/pkg/sbin to PATH
> and /usr/pkg/lib to CS_LIBPATH
> 
> I did all this following the 6.4.0 instructions as I couldn't find anything for 6.4.1 everything went as expected so 
far as I can tell, but I cannot just use bmake nor pkg_add to add a pkg. I can go locally to the place where they were 
installed, but I want my shell to recognize the command.
> 
> What else do I have to do in order to use pkgsrc as advertised including the commands installed in the shell path?
> 

So you can

$ /usr/pkg/bin/bmake

But not

$ bmake


If so it's a PATH issue.  Make sure you export it:

$ export PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin

Put the above in you ~/.profile

-seanb