Subject: Packages Problem
To: None <port-mac68k@netbsd.org>
From: Eric Damien Berna <eric@thiel.com>
List: port-mac68k
Date: 04/07/1999 09:04:51
I just acquired a Quadra 800 specifically for use as a NetBSD machine (I
traded a Q950 for it).  I installed version 1.3.3, the latest formal
distribution.  Then, to install some of the packages, so that I can get the
computer to act as an Internet server (e-mail, HTTP, FTP), I downloaded the
current pkgsrc.tar.gz file from ftp.netbsd.org.  Once the files were fully
extracted I tried to install Lynx for Web browsing.  It stopped with an
error message saying that I had to install the current version of
pkg_install, so I tried.

Here's where the real problem happened.  Executing just a "make" works
fine, but during "make install" it errors out with a "Syntax error: end of
file unexpected (expecting "fi")" message.  My guess is that a file is
truncated, but which one and how do I get the complete file?

Here is the complete terminal output from running "make install" in the
pkg_install directory:

moe: {11} make install
===>  Installing for pkg_install-19990119
install ===> lib
install ===> add
install -c -s -o bin -g bin  -m 555 pkg_add /usr/sbin/pkg_add
install -c -o bin -g bin -m 444 pkg_add.1 /usr/share/man/man1/pkg_add.1
install -c -o bin -g bin -m 444 pkg_add.cat1 /usr/share/man/cat1/pkg_add.0
install ===> admin
install -c -s -o bin -g bin  -m 555 pkg_admin /usr/sbin/pkg_admin
install -c -o bin -g bin -m 444 pkg_admin.1 /usr/share/man/man1/pkg_admin.1
install -c -o bin -g bin -m 444 pkg_admin.cat1 /usr/share/man/cat1/pkg_admin.0
install ===> create
install -c -s -o bin -g bin  -m 555 pkg_create /usr/sbin/pkg_create
install -c -o bin -g bin -m 444 pkg_create.1 /usr/share/man/man1/pkg_create.1
install -c -o bin -g bin -m 444 pkg_create.cat1
/usr/share/man/cat1/pkg_create.0
install ===> delete
install -c -s -o bin -g bin  -m 555 pkg_delete /usr/sbin/pkg_delete
install -c -o bin -g bin -m 444 pkg_delete.1 /usr/share/man/man1/pkg_delete.1
install -c -o bin -g bin -m 444 pkg_delete.cat1
/usr/share/man/cat1/pkg_delete.0
install ===> info
install -c -s -o bin -g bin  -m 555 pkg_info /usr/sbin/pkg_info
install -c -o bin -g bin -m 444 pkg_info.1 /usr/share/man/man1/pkg_info.1
install -c -o bin -g bin -m 444 pkg_info.cat1 /usr/share/man/cat1/pkg_info.0
if [ ! -f ${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then
Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Eric Damien Berna
eric@thiel.com

NetBSD 1.3.1 on a Mac IIcx
NetBSD 1.3.3 on a Mac Quadra 800
NetBSD-current on a Mac Quadra 950
     (Buried on my personal Web site <http://www.bernafamily.com>
      are instructions on how to get this Mac working.)