Subject: Re: pkgsrc problem -- can't cd
To: NetBSD-Mac68K List <port-mac68k@netbsd.org>
From: Daniel Parks <danielp@reed.edu>
List: port-mac68k
Date: 11/04/2000 23:51:10
At 10:01 AM -0800 10/30/2000, Bill Studenmund wrote:
>  >     root /usr/pkgsrc$ make readme
>>      cd: can't cd to archivers
>>      *** Error code 2
>>
>>      Stop.
>>      *** Error code 1
>>
>>      Stop.
>>
>>  I get a similar error when I try to run make in the directory of a
>>  package I want to install and some of the dependencies are missing.
>>
>>  Any ideas?
>
>None other than try a few ls -l's to see if something's wrong.

Nothing seems to be wrong. sup -s works fine... I configured it 
following the instructions on the NetBSD packages web page.

root /usr/pkgsrc$ ls -l /usr/pkgsrc
total 160
-rw-r--r--    1 root  wheel   3704 Sep  7 04:34 Makefile
-rw-r--r--    1 root  wheel  90270 Nov  2 04:29 Packages.txt
-rw-r--r--    1 root  wheel   3973 Jul 24 04:11 README
-rw-r--r--    1 root  wheel   4291 Oct 29 22:09 README.html
drwxrwxr-x   35 root  wheel   1024 Nov  4 08:01 archivers
drwxrwxr-x   96 root  wheel   2048 Nov  4 08:04 audio
- - - <snip> - - -
drwxrwxr-x  100 root  wheel   2048 Nov  4 04:17 www
drwxrwxr-x  174 root  wheel   3584 Nov  4 04:17 x11
root /usr/pkgsrc$ ls -l /usr/pkgsrc/archivers
total 39
-rw-r--r--  1 root  wheel   810 Jul 21 04:06 Makefile
-rw-r--r--  1 root  wheel  4099 Oct 29 22:45 README.html
drwxrwxr-x  5 root  wheel   512 Nov  4 08:01 arc
drwxrwxr-x  5 root  wheel   512 Nov  4 08:01 bunzip
- - - <snip> - - -
drwxrwxr-x  5 root  wheel   512 Nov  4 08:03 zip1
drwxrwxr-x  5 root  wheel   512 Nov  4 08:03 zoo

However, there is no /usr/pkgsrc/audio/README.html
At one point I cd'd to archivers, and typed make readme. I think this 
is what created the archivers/README.html although as I remember the 
make failed because it couldn't cd.

Any more ideas? I think this is going to be one of those things where 
I'm doing something really stupid... ;-)

Thanks,
Daniel