Perl Initialization – August 31, 2004

When I was installing RT (Request Tracker) I got an error, since I hadn't ever set up CPAN before. After searching for a bit, here is the solution. I figured I would post this here to help others in the future find it in google quicker.Error:
Number found where operator expected at /usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 485, near "<= 60 && -s _ > 0". (Missing operator before 0?)
Solution:
Run "perl -MCPAN -e shell" as root and answer the configuration questions. The defaults are probably mostly fine, although I made my CPAN directory in a system readable/writable place. I did have to change the permissions on the directory in order for it to work, since by default it made the CPAN directory writable only by root.

Comments (rss)