modperl-makerrpm_perl_script_to_package_modules_as_rpms

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: netmaster@digital-word.com
From: fliptop <fliptop@peacecomputers.com>
Subject: Re: [OT] Moving WYPUG
Date: Fri, 15 Feb 2002 07:44:01 -0500

Jonathan M. Hollin wrote:

> I now need to install some Perl modules (DBD-MySql, Image-Magick, etc).
> Under ActivePerl on WYPUG's current Win2K box, I would simply use the
> Perl Package Manager (PPM) to download and install these modules.  Is
> there an equivalent under Unix?  If not, what's the best way to install
> modules?  In short, what do I need to know?
> 
> A step-by-step guide would be great (I'm a 100% Unix newbie), but I
> would also be extremely grateful for pointers to the relevant docs,
> URI's, etc.


i'll toss in my $0.02 here - if you're running redhat, you can use 
makerpm.pl to generate rpm's from your cpan source code.  i use this all 
the time and have never had a problem.

http://www.perl.com/cs/user/query/q/6?id_topic=61

the version of makerpm.pl you find may not work with rpm version 4.0 or 
higher, this will fix that:

572c572
<           } elsif ($rpm_version =~ /rpm\s+version\s+3\.+/i) {
 ---
 >           } elsif ($rpm_version =~ /rpm\s+version\s+3|4\.+/i) {

===

To: fliptop@peacecomputers.com, netmaster@digital-word.com
From: Robert Landrum <rlandrum@capitoladvantage.com>
Subject: Re: [OT] Moving WYPUG
Date: Fri, 15 Feb 2002 11:17:48 -0500

At 7:44 AM -0500 2/15/02, fliptop wrote:
>
>the version of makerpm.pl you find may not work with rpm version 4.0 
>or higher, this will fix that:
>
>572c572
><           } elsif ($rpm_version =~ /rpm\s+version\s+3\.+/i) {
>---
> >           } elsif ($rpm_version =~ /rpm\s+version\s+3|4\.+/i) {

Actually I don't think that really "fixes" it...

That's going to search for

rpm\s+version\s+3

or

4\.+



You want

} elsif ($rpm_version =~ /rpm\s+version\s+(?:3|4)\.+/i) {


Rob

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu