[kw-pm] how do i install perl-CGI?

Robert P. J. Day rpjday at mindspring.com
Sun Oct 10 09:08:55 CDT 2004


   (no, the question is not as simple as it sounds.)

   i want to install the latest "stable" beta of the twiki program on 
my FC2 system, so i started off at twiki.org and eventually located 
some fairly recent RPM files at:

   http://twiki.org/cgi-bin/view/Codev/TWikiRPMs

down at the bottom.

   i grabbed the 20040901 noarch rpm, and did a dry-run install, just 
to see what would happen.

   # rpm -ivh --test twiki-20040901-2.noarch.rpm
   error: Failed dependencies:
          perl-CGI is needed by twiki-20040901-2

   hmmm ... i recall, once upon a time, using CPAN to install the basic 
CGI module on my system, but obviously, that doesn't help since the 
twiki RPM explicitly wants an *rpm* file with that name.

   hunt around, locate one at

http://www.megaloman.com/~hany/RPM/doors4.0/perl-CGI-2.81-88.3.1.i386.html

although it certainly seems that this would be a sub-rpm of the 
standard perl package, doesn't it?  there is no "perl-CGI" rpm package 
currently installed on my system, so i try to install one and i'm not 
surprised to get:

# rpm -ivh --test perl-CGI-2.81-88.3.1.i386.rpm
warning: perl-CGI-2.81-88.3.1.i386.rpm: V3 DSA signature: NOKEY, key 
ID ac64a5d1Preparing... 
########################################### [100%]
         file /usr/share/man/man3/CGI.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Apache.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Carp.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Cookie.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Fast.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Pretty.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Push.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Switch.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18
         file /usr/share/man/man3/CGI::Util.3pm.gz from install of 
perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18

   so ... what's the recipe here?  from what i can read (and i might be 
totally off-base), i seem to already have perl-CGI functionality as 
part of the base perl package, but the twiki rpm has been created 
(erroneously?) to look specifically for a perl-CGI rpm which most 
likely won't exist.

   thoughts?

rday



More information about the kw-pm mailing list