Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 14:38:22 -0500
From:      Sean O'Neill <sean@seanoneill.info>
To:        freebsd-questions@FreeBSD.org
Subject:   Freebsd p5* Modules and deinstalling them
Message-ID:  <5.1.0.14.0.20020726142839.00ac9d58@postoffice.swbell.net>

next in thread | raw e-mail | index | archive | help
Just found something odd ... starting COMPLETELY over with Perl.

- Installed 5.8.0
- Changed my CPAN Config.pm file to always install Perl modules into 
/usr/local/perl-modules
- When installing p5* modules, I set the env variable 
PREFIX=/usr/local/perl-modules prior to doing a make install

I just installed p5-Cflow port - as a test I didn't set the PREFIX 
variable.  It installed fine.

Installing /usr/local/lib/perl5/site_perl/5.8.0/mach/auto/Cflow/Cflow.so
Installing /usr/local/lib/perl5/site_perl/5.8.0/mach/auto/Cflow/Cflow.bs
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.8.0/mach/Cflow.pm
Installing /usr/local/lib/perl5/site_perl/5.8.0/mach/auto/Cflow/autosplit.ix
Installing /usr/local/man/man1/flowdumper.1
Installing /usr/local/lib/perl5/5.8.0/man/man3/Cflow.3
Installing /usr/local/scripts/flowdumper

Then I tried to deinstall it using pkg_delete. This tried to remove 
everything from the wrong directories.  What's up with this?  Perl 5.6.1 is 
gone from my system.  I deleted the package and anything I could find in 
/usr/local Perl related.  What's really odd is the flowdumper 
above.  Notice is installed into /usr/local/scripts.  But the pkg info says 
it was installed in /usr/local/bin which obviously failed to delete 
it.  Someone clear me up please.

pkg_delete: file `/usr/local/lib/perl5/5.6.1/man/man3/Cflow.3.gz' doesn't 
really exist
pkg_delete: file `/usr/local/bin/flowdumper' doesn't really exist
pkg_delete: file 
`/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow/Cflow.so' doesn't 
really exist
pkg_delete: file 
`/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow/Cflow.bs' doesn't 
really exist
pkg_delete: file 
`/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow/autosplit.ix' doesn't 
really exist
pkg_delete: file `/usr/local/lib/perl5/site_perl/5.6.1/mach/Cflow.pm' 
doesn't really exist
pkg_delete: file 
`/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow/.packlist' doesn't 
really exist
pkg_delete: file `/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow' 
doesn't really exist
pkg_delete: unable to completely remove directory 
'/usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Cflow'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)


--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...

Sean O'Neill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020726142839.00ac9d58>