Subject: Re: Updating perl package to 5.00502
To: Martin J. Laubach <mjl@emsi.priv.at>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 03/13/1999 17:10:11
Here's what I've found useful:

%  touch /tmp/before
%  make install
%  make deinstall
%  find / -newer /tmp/before -print

Basically this will tell you what didn't get deinstalled.  Then you can
add that stuff to pkg/PLIST and repeat the above test until 

1) 'make deinstall' works with no complaints

and 

2) the 'find...' doesn't show left over files.

I don't know anything about perl, but for smaller packages which only
install a few items,

%  touch /tmp/before
%  make install
%  find / -newer /tmp/before -print

can give a nice list of everything which needs to go into PLIST.  of
course if the list is very large, you may have a bit of cleaning to do
although something like

find / -newer /tmp/before -exec rm {} \;

will remove these.   (Please, please make sure I told you the right thing
with this last find so you don't go rm'ing lots of stuff you didn't mean
to).


On Sat, 13 Mar 1999, Martin J. Laubach wrote:

>   I started on updating our perl package to perl 5.00502, and
> sorted all patching and installing problems out, but now I am
> stuck with some minor PLIST issues -- it installs fine, but
> doesn't cleanly deinstall.
> 
>   Perhaps someone with more insight on PLIST workings wants to
> take over? It's good enough for my personal use, so I won't
> probably invest much more time -- and it would be a shame if
> the effort was wasted...
> 
> 	mjl
>