lporter200 has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am really new to Perl and am having some trouble setting up my mac to install modules. I want to install the Net::Telnet::Cisco module through cpan, but keep getting the following error:

cpan> install Net::Telnet::Cisco Running install for module Net::Telnet::Cisco The module Net::Telnet::Cisco isn't available on CPAN. Either the module has not yet been uploaded to CPAN, or it is temporary unavailable. Please contact the author to find out more about the status. Try 'i Net::Telnet::Cisco'. cpan>

I have also tried to use the Makefile.pl, which runs ok, but when i try to follow it up with "make" as suggested in the readme, i get:

lee] : make <p>-bash: make: command not found

Please could someone offer me some advice on installing the module and the use of the "make".

Many thanks

Lee

Edited by planetscape - added code tags and rudimentary formatting

( keep:3 edit:26 reap:0 )

Replies are listed 'Best First'.
Re: Installing Net::Telnet::Cisco Module with CPAN
by marto (Cardinal) on Jul 27, 2006 at 08:32 UTC
    Hi lporter200,

    Please read the PerlMonks FAQ and How do I post a question effectively? if you have not done so already. I am assuming you have Mac OSX since you have not told us. Have you installed the Mac OSX SDK from the CD Rom? A couple of links to look at are Installing Perl 5.8 on Jaguar which states in its 'Preperation' section:

    'You need to have Apple’s Development Tools installed. To learn more about these and how to download the latest set for free, visit the Development Tools page on ADC.'

    I understand that you are trying to install a module rather than Perl itself, however I am pretty sure you will still need the Mac OSX development tools installed to provide compilers etc.

    Hope this helps.

    Martin