I didn't see an OpenBSD section for this forum so I hope it's ok to post here.
I am trying to get FAH working on latest OpenBSD - 4.6.
I was trying to follow this, as it relates to this most recent release of the OS:
http://linuxminded.nl/?target=writings. ... penbsd-4.6
I get to this command:
# bsd-get update
ftp -o /root/.bsd-get.index ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.6 ... /index.txt
and I only get this back on my console output:
ksh: bsd-get: not found
Here is what I get for the output starting from the first commands required:
# /usr/sbin/pkg_add -r ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.6 ... 1.11.4.tgz
# wget http://linuxminded.nl/software/bsd-get/bsd-get -O /usr/local/sbin/bsd-get
--2009-11-01 23:44:14-- http://linuxminded.nl/software/bsd-get/bsd-get
Resolving linuxminded.nl... 83.163.41.188
Connecting to linuxminded.nl|83.163.41.188|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2278 (2.2K) [text/plain]
Saving to: `/usr/local/sbin/bsd-get'
100%[===================================================================================>] 2,278 --.-K/s in 0.01s
2009-11-01 23:44:16 (232 KB/s) - `/usr/local/sbin/bsd-get' saved [2278/2278]
# chmod u+x /usr/local/sbin/bsd-get
# bsd-get update
ksh: bsd-get: not found
# bsd-get update ftp -o /root/.bsd-get.index ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.6 ... /index.txt
ksh: bsd-get: not found
#
OK you see how I was unsure of the line with bsd-get so I tried it with just the bsd-get update and also the fuller line.
Here is what I get also by looking at the bsd-get dir:
# ls -al /usr/local/sbin/bsd-get
-rwxr-xr-x 1 root wheel 2278 Oct 23 14:49 /usr/local/sbin/bsd-get
Can someone tell me why I am getting the "not found" message? THANKS!
David
Please help: FAH on OpenBSD
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 471
- Joined: Mon Dec 03, 2007 6:20 am
- Location: Amsterdam
- Contact:
Re: Please help: FAH on OpenBSD
bsd-get is a small apt-get like wrapper for pkg_add that I wrote (I've written a similar tool for Slackware), you can also just export PKG_PATH and use pkg_add manually to install the packages. The latter is the OpenBSD way to install packages, the former is what I like to use.
Follow the links on the page to the OpenBSD documenation, especially the OpenBSD packages link which directs you to the OpenBSD ports and packages documentation.
The reason why bsd-get is not working properly I'm not sure, your perl may be broken or ksh does not have /usr/local/sbin in your PATH.
Follow the links on the page to the OpenBSD documenation, especially the OpenBSD packages link which directs you to the OpenBSD ports and packages documentation.
The reason why bsd-get is not working properly I'm not sure, your perl may be broken or ksh does not have /usr/local/sbin in your PATH.