Thread: NetBSD/Amiga
View Single Post
Old 02 September 2012, 10:33   #32
strim
NetBSD developer
 
Join Date: May 2012
Location: Warsaw, Poland
Posts: 396
Quote:
Originally Posted by gibs View Post
I set the network config in dhcp, now it's working.
Therefore I don't know why it wasn't in manual...it was a routing issue.
It's documented in rc.conf man page. But it's true that it should be added to the NetBSD guide.

Quote:
Well now I can't add the repository

The documentation say:
export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD-<RELEASE-NUMBER>/<PORT>/All"
export PKG_PATH

But I get:
"export command not found"
The export command must exist since it's an internal bourne shell command, but as ahhyes suggested, you might have csh configured as your shell. You may want to change it to /bin/sh with chsh command if it's set to something else. Also, /bin/bash is not installed by default, but that's unrelated to this problem (just use /bin/sh ).

Proper way to use the export command is:
Code:
VARIABLE_NAME=value
export VARIABLE_NAME
(don't do export twice)

By the way, you must use full path in PKG_PATH, variables such as release number and port are to be filled by user in this example, like:
Code:
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amiga/5.1/All/
Notice that path has changed a bit since release of 5.1. This is explained in a README file that lies in an old directory structure . Documentation should probably be updated again...

Also, you'll notice that not so many packages are prebuilt for m68k. That's why it's good to install pkgsrc and build packages on your machine. I've explained this in some previous post .
strim is offline  
 
Page generated in 0.05167 seconds with 9 queries