------------------------------------------------ On Tue, 10 Dec 2002 06:51:27 -0800 (PST), Admin-Stress <[EMAIL PROTECTED]> wrote:
> I dont know why, in my OTHER RedHat 8.0 installation, I cant find CGI.pm. I did >install perl5.8.0. > I believe in RH8.0 the CGI module is in a separate RPM. Check your dist, you might try a find with "*cgi*" or the like. > Anyone know how to install it? I looked in cpan, it seems it's default perl module. >And I cant > find any installer for it. In 5.8.0 it is a default module, but you should be able to issue a perl -MCPAN -e 'install CGI'; or invoke CPAN in a shell: perl -MCPAN -e shell and then issue install CGI > > Is it OK if I just copy CGI.pm from cpan? into > > /usr/lib/perl5/5.8.0/CGI.pm Don't think so as CGI may/probably relies on other modules. You will want to make sure they are installed as well which CPAN will help you with. > > but, what is /usr/lib/perl5/5.8.0/CGI ? Because I saw in my other redhat 8.0 box >there are two > files : > > find / -name "CGI*" > /usr/lib/perl5/5.8.0/CGI > /usr/lib/perl5/5.8.0/CGI.pm > CGI should be a directory which has other modules related to CGI stuff which may or may not be used by the main CGI module. My first approach would be to go through the RPM database of your install looking for perl and cgi related items, and then check the list of RPMs for the distro. If you can install from RPM on a RH box you will be better off in the long run. http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]