Re: CPAN install module problem

2009-03-02 Thread Rob Dixon
howa wrote: > > Why sometimes I can use a command to install Perl module, e.g. > > perl -MCPAN -e "install Digest::MD5" > > But sometimes can't? > > e.g. > > perl -MCPAN -e "install Archive::Zip" >>> Can't locate object method "install" via package "Archive::Zip" at -e line >>> 1. > > > Are

Re: CPAN install module problem

2009-03-02 Thread howa
On Mar 2, 1:10 am, r...@i.frys.com (Ron Bergin) wrote: > Since you're using double quotes, I assume that you're on Windows.  I > suspect it has something to do with the way cmd is parsing the command > before passing it to perl. no matter I use single or double quote (on Linux), both does not work

Re: CPAN install module problem

2009-03-02 Thread Ron Bergin
On Feb 27, 9:03 pm, howac...@gmail.com (Howa) wrote: > Hi, > > Why sometimes I can use a command to install Perl module, e.g. > > perl -MCPAN -e "install Digest::MD5" > > But sometimes can't? > > e.g. > > perl -MCPAN -e "install Archive::Zip" > > >> Can't locate object method "install" via package

Re: CPAN install module problem

2009-03-01 Thread Chas. Owens
On Sat, Feb 28, 2009 at 00:03, howa wrote: snip > perl -MCPAN -e "install Archive::Zip" >>> Can't locate object method "install" via package "Archive::Zip" at -e line >>> 1. snip Hmm, it looks like it is trying to use an indirect object method call (that is it is trying to do this Archive::Zip->

CPAN install module problem

2009-03-01 Thread howa
Hi, Why sometimes I can use a command to install Perl module, e.g. perl -MCPAN -e "install Digest::MD5" But sometimes can't? e.g. perl -MCPAN -e "install Archive::Zip" >> Can't locate object method "install" via package "Archive::Zip" at -e line 1. Are there any reason? Thanks -- To uns

install module problem

2008-05-07 Thread John Wilson
Hi, I'm trying to install a perl module (Net::SSLeay) on a Sun unix box running Solaris 9. In doing the make, I get a message from the shell in the output: "sh: gcc: cannot execute". To me this sounds like it's saying it doesn't know what/where gcc is. My gcc is in /usr/local/bin, but /us