Subject: Re: Can't install any package
To: D. Gassen <gadi0013@fh-karlsruhe.de>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 05/25/1999 19:17:45
Well, I'm stumped.  I just did a `make install' for okg_install on my
Mac, and it worked just fine.

Make sure that you're root when you do this, and if necessary, remove
the /usr/pkgsrc/pkgtools/pkg_install/work directory manually.  Also,
the first thing it should do is tell you "Checksum OK for..."

One thing I did notice:  you're running under bash.  Well, you might 
try starting from a different shell.  It _shouldn't_ make any
difference, but "you never know".

Good luck!
On Wed, 26 May 1999, D. Gassen wrote:

> Thanks for your suggestions.
> 
> Paul Goyette wrote:
> > 
> > The command
> > 
> >         find . -name "*install*"
> > 
> > will not find files that start with `.'  Names that start with `.' are
> > "hidden" and don't show up unless you explicity look for them.  If you
> > use the command
> 
> Is this for sure? If I do
> 		find . -name "*default*"
> in my home directory I get the following:
> | [dirk@koala dirk]$ find . -name "*default*"
> | ./.Xdefaults
> | ./.Xdefaults.orig
> That's why I tried to search for files which contain "install" ("*install*").
> 
> > To install the pkgtools package, you should cd to the top directory of
> > the package:
> > 
> >         cd /usr/pkgsrc/pkgtools
> > 
> > and then
> > 
> >         make clean && make install
> > 
> > If that doesn't work, send us _everything_ that shows up on your
> > terminal window.  EVERYTHING!
> 
> I'm sorry, it didn't work. Here is my session:
> | [dirk@koala dirk]$ su
> | Password:
> | bash# cd /usr/pkgsrc/pkgtools
> | bash# ls -a
> | .            CVS          README.html  nohup.out    pkg         
> pkglibtool   url2pkg
> | ..           Makefile     ftp          pax          pkg_install 
> pkglint      xpkgwedge
> | bash# make clean && make install
> | ===> package pkglibtool
> | ===>  Cleaning for pkglibtool-1.2p1
> | ===> package pkglint
> | ===>  Cleaning for pkglint-1.70
> | ===> package url2pkg
> | ===>  Cleaning for url2pkg-1.3
> | bash# cd /usr/pkgsrc/pkgtools/pkg_install/
> | bash# ls -a
> | .        ..       CVS      Makefile files    pkg      work
> | bash# make clean && make install
> | ===>  Cleaning for pkg_install-19990412
> | bash# cd ../../editors/xemacs20/      
> | bash# make 
> | >> Checksum OK for xemacs-20.4.tar.gz.
> | >> Checksum OK for xemacs-20.4-info.tar.gz.
> | ===>  Extracting for xemacs-20.4
> | Your package tools need to be updated to 1999/04/12 versions.
> | The installed package tools were last updated on 1999/01/19.
> | Please make and install the pkgsrc/pkgtools/pkg_install package.
> | *** Error code 1
> | 
> | Stop.
> | *** Error code 1
> | 
> | Stop.
> | *** Error code 1
> | 
> | Stop.
> | bash# 
> "make clean" and "make" do work as I expect but "make install" doesn't
> give any output. If I remember there should be output that indicates
> what is installed and where.
> 
> I did use the package system successfully before I tried "sup" to update
> the package tree. I used the following commands:
> | bash# sup -v sup_pkgsrc 
> The file "sup_pkgsrc" contains:
> | current release=pkgsrc host=sup.de.netbsd.org hostbase=/ftp/pub/NetBSD \
> | base=/usr prefix=/usr backup use-rel-suffix compress
> 
> 
> Thanks for any hints,
> D. Gassen
> 

--------------------------------------------------------------------------
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------