Did the original install CGI work?
Are you using the same perl in the script as gets run when you run the
cpan command?Try re-running:
perl -MCPAN -eshell
(and at the prompt:)
install CGI
This is the same as running perl -MCPAN -e’install CGI’
Cut and paste the output into a message and send it to the list.
first dump of the installation of CGI (see the version number at the end)
- here goes ----------------------------------------------------------------
Files=6, Tests=165, 1 wallclock secs ( 1.01 cusr + 0.07 csys = 1.08 CPU)
/usr/bin/make test – OK
Running make install
Skipping /usr/lib/perl5/CGI/Util.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Carp.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Fast.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Push.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Pretty.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Cookie.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Apache.pm (unchanged)
Skipping /usr/lib/perl5/CGI/Switch.pm (unchanged)
Skipping /usr/lib/perl5/CGI.pm (unchanged)
Skipping /usr/local/man/man3/CGI::Fast.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Carp.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Util.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Pretty.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Push.3pm (unchanged)
Skipping /usr/local/man/man3/CGI.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Switch.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Apache.3pm (unchanged)
Skipping /usr/local/man/man3/CGI::Cookie.3pm (unchanged)
Writing /usr/lib/perl5/5.005/i386-linux/auto/CGI/.packlist
Differing version of ./CGI.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI.pm
Differing version of CGI/Apache.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI/Apache.pm
Differing version of CGI/Carp.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI/Carp.pm
Differing version of CGI/Cookie.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI/Cookie.pm
Differing version of CGI/Push.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI/Push.pm
Differing version of CGI/Switch.pm found. You might like to
rm /usr/lib/perl5/5.005/CGI/Switch.pm
Running ‘make install UNINST=1’ will unlink all those files for you.
Appending installation info to /usr/lib/perl5/5.005/i386-linux/perllocal.pod
/usr/bin/make install – OK
- end ----------------------------------------------------------------------
perl version:
perl -MCGI -e ‘print “$CGI::VERSION\n”;’
2.46
so I guess I have to update to a newer version. :o)
how do I do that.?