At 01:12 PM 10/20/2003 -0700, LoneWolf wrote:
root>perl -MCPAN -e shell when it comes up to the shell put this in: o conf prerequisites_policy follow
At 01:45 PM 10/20/2003 -0600, Wiggins d Anconia wrote:
Are you getting an error from CPAN??
Eventually, yes but I guess the error messages did not matter.
For one, I was looking for a command-line tool not a separate shell environment. So, I did not even think to use the CPAN shell.
Second, I did not make the connection that "o conf prerequisites_policy follow" follows dependencies and installs them.
Third, when I did use the CPAN shell, I did get a bunch of error messages, but apparently everything installed fine.
Here's what I did as root on a test machine (Red Hat 9, perl 5.8): # perl -MCPAN -e shell cpan> o conf prerequisites_policy follow cpan> install XML::Simple cpan> install XML::SAX
The install of XML::Simple gave a warning that XML::SAX was not installed. So, I installed XML::SAX (so much for following dependencies). At the end of the XML::SAX install, perl complained that it could not locate XML/SAX.pm. However, when I exited the CPAN shell, these two tests worked just fine:
# perl -MXML::Simple -e ';'
# perl -MXML::SAX -e ';'
I guess it worked afterall. Now on to testing real code.
Thanks for the help.
Regards, - Robert
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]