Subject: Problems installing from pkgsrc
To: None <netbsd-users@netbsd.org>
From: Vincent van Scherpenseel <mailinglists@vanscherpenseel.nl>
List: netbsd-users
Date: 02/11/2004 18:27:37
Hello list,

I posted the following problem to comp.unix.bsd.netbsd.misc on USENET 
(<c0dh78$2nf4$1@beast.euro.net>), but since that group is near dead, and I am 
really in need of an answer, I decided to post it to this mailinglist as 
well. I'm new to this mailinglist, so I also wanted to say hello: hi! :)

I just did a total fresh install of NetBSD 1.6.1 (i386) from scratch. No
problems with the install, so the first thing I decided to do after the
install was installing my favorite shell (bash). So, I downloaded
pkgsrc.tar.gz from ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/ and
after a little time unpacking I cd'ed into /usr/pkgsrc/shells/bash2 and
typed: 'make'. Here's the output I got back:

---
pkg_info: unknown option -- K
usage: pkg_info [-BbcDdFfIikLmnpqRrSsVvh] [-e package] [-l prefix]
                pkg-name [pkg-name ...]
       pkg_info -a [flags]
pkg_info: unknown option -- K
usage: pkg_info [-BbcDdFfIikLmnpqRrSsVvh] [-e package] [-l prefix]
                pkg-name [pkg-name ...]
       pkg_info -a [flags]
make: "/usr/pkgsrc/shells/bash2/../../mk/compiler/../../mk/compiler/gcc.mk"
line 311: Malformed conditional (!empty(_LANGUAGES.gcc))
make: "/usr/pkgsrc/shells/bash2/../../mk/compiler/../../mk/compiler/gcc.mk"
line 348: if-less endif
make: "/usr/pkgsrc/shells/bash2/../../mk/compiler/../../mk/compiler/gcc.mk"
line 348: Need an operator
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/shells/bash2
---

Does anyone know what's wrong? It seems to me that pkg_info is incompatible
with the current pkgsrc, or am I over-looking something else? Please help
me out here.

Thanks in advance, Vincent van Scherpenseel