From owner-freebsd-questions Fri Jul 26 12:38:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C805C37B400 for ; Fri, 26 Jul 2002 12:38:29 -0700 (PDT) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2489E43E67 for ; Fri, 26 Jul 2002 12:38:29 -0700 (PDT) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 71D6E763C for ; Fri, 26 Jul 2002 14:38:24 -0500 (CDT) Message-Id: <5.1.0.14.0.20020726142839.00ac9d58@postoffice.swbell.net> X-Sender: swoneill@postoffice.swbell.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 26 Jul 2002 14:38:22 -0500 To: freebsd-questions@FreeBSD.org From: Sean O'Neill Subject: Freebsd p5* Modules and deinstalling them Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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