Subject: Re: "make package"
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: David Brownlee <abs@NetBSD.ORG>
List: current-users
Date: 01/14/1998 10:32:05
	It looks like your /usr/pkgsrc/lang/perl might be out of syn -
	those PLIST references are for perl5.00401 whereas the
	installation is for 5.00404.

	I've build the perl5 package on i386 and sparc without problem...

	You can try supping the latest pkgsrc distribution to see if that
	just fixes it, or check the md5 checksums on your files to see if
	any differ from what I have - save the list below as md5.check2
	then run:

	    cd /usr/pkgsrc/lang/perl
	    md5 Makefile patches/patch* pkg/{C,D,P}* > md5.check
	    diff md5.check*

------------8<--cut-here--8<-------------------
MD5 (Makefile) = 7bfda267362bdf16488e56160ccc6176
MD5 (patches/patch-aa) = 87521754e8b67e0d99776069daa3026c
MD5 (patches/patch-ab) = dbfeb6bc610e59e8e84bb7ebf1262fee
MD5 (patches/patch-ac) = def9e27451eabac6db564407046e63b9
MD5 (patches/patch-ad) = 5bf33bc4ac619dd6ef34b2956d8ca92b
MD5 (patches/patch-ae) = 54031a02f63f39267bc011ad8a1e9280
MD5 (pkg/COMMENT) = 91089097a16f96576e1aa04d561046cf
MD5 (pkg/CVS) = fdeddedc4f32b76e1a82718d3a1b6c3a
MD5 (pkg/DESCR) = 29ca49661fc69642232e0fe992c2bd6f
MD5 (pkg/PLIST-md.shared) = c29cfee6a277c5aa2a6f8a1f54e044e0
MD5 (pkg/PLIST-md.static) = 1f48ae5bad20955c2c5bd0bb78703334
MD5 (pkg/PLIST-mi) = 0d519490dfdb2e227b74d58c589f4d93
------------8<--cut-here--8<-------------------

		David/abs

		the brightness darkens in your eyes...

On Wed, 14 Jan 1998, Michael C. Richardson wrote:

> Date: Wed, 14 Jan 1998 12:27:43 -0500
> From: "Michael C. Richardson" <mcr@sandelman.ottawa.on.ca>
> To: current-users@NetBSD.ORG
> Subject: "make package"
> 
> 
>   I'm running 1.3, compiled from sources, and I seem to have a problem
> with the package system.
>   I want to make a package to install on another machine (specifically
> perl5). I have compiled, and installed it just fine on the first machine.
>   I then do "make package", and I get:
> 
> istari# make package
> >> Checksum OK for perl5.004_04.tar.gz.
> ===>  Building package for perl-5.00404
> Creating package /usr/pkgsrc/packages/All/perl-5.00404.tgz
> Registering depends:.
> Creating gzip'd tar ball in '/usr/pkgsrc/packages/All/perl-5.00404.tgz'
> tar: can't add file bin/perl5.00401 : No such file or directory
> tar: can't add file lib/perl5/i386-netbsd/5.00401/CORE/EXTERN.h : No such file 
> 
>   This looks like a case where a "cd /usr/pkg" has been omitted, and/or
> the /usr/pkg was supposed to be included in the .PLIST file.
> 
>   I have updated my /usr/sbin/pkg_install, and reinstalled that, "make clean"
> and "make; make reinstall; make package" again, and I get the same thing.
> 
>   What am I missing? 
> 
>    :!mcr!:            |  Sandelman Software Works Corporation, Ottawa, ON  
>    Michael Richardson |Network and security consulting and contract programming
>  Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
>  Corporate: sales@sandelman.ottawa.on.ca. 
> 
> 
>   
> 
> 
>