Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2005 15:27:40 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        peter.lidell@post.dk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Perl modules
Message-ID:  <20050202142740.GA61338@ei.bzerk.org>
In-Reply-To: <E6CDEF4DFA31524D83641C6B9550AF7707B10D64@exmbxa501.postdk.net>
References:  <E6CDEF4DFA31524D83641C6B9550AF7707B10D64@exmbxa501.postdk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 01, 2005 at 11:06:57AM +0100, peter.lidell@post.dk typed:
> Hello,
> 
> I have to do thise things:
> 
> A) if Perl is installed from pkg_add and not the ports, uninstall it.
> pkg_delete -f perl5.8
> B) add ENABLE_SUIDPERL=true to /etc/make.conf
> C) cd to /usr/ports/lang/perl5.8
> D) make -DENABLE_SUIDPERL"TRUE" install clean
> E) re-install all the perl modules from the ports.
> F) Follow the QMR manual to the T!!!
> 
> The "Re-install of the perl modules from ports" part.... How do I do that? How do I id all my perl modules and is there a way to re-install them all together?

To check which modules are installed (packages/ports and CPAN) I use
the following script:

#!/usr/bin/perl
# list installed modules
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
       print "$module -- $version\n";
}

I know of no way to automatically reinstall them though...

Ruben



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