Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: difficulty using CPAN.pm

by davorg (Chancellor)
on Jul 25, 2000 at 12:39 UTC ( [id://24258] : note . print w/replies, xml ) Need Help??


in reply to difficulty using CPAN.pm

I'd advise making sure that you can build and install modules manually before using CPAN.pm. Try going thru the following steps:

  • Download the gzip file for a module that you want from CPAN. Initially go for a pure-Perl module like the latest version of CGI.pm.
  • Unzip and untar the file.
  • Run thru the standard installation steps investigating any errors that you see:
    • perl Makefile.PL
    • make
    • make test
    • make install
  • Having successfully installed a pure Perl module, try it again with a XS-based module like HTML::Parser.
  • Once you've successfully built both types of module, try them again using CPAN.pm.
--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000, ICA, London
<http://www.yapc.org/Europe/>