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

Dear Monks, I fetched and installed many modules comfortably using cpanm, now there are two modules: Tk and Finance::GeniusTrader that it can't fetch, what is the best thing to do? Can I download them manually and execute cpanm Tk, it already finds them and installs it? or is there a better thing? Thank you so much in advance.

MacBook-Pro-van-Robert-Weijerman:~ robertweijerman$ cpanm Finance::Gen +iusTrader ! Finding Finance::GeniusTrader on cpanmetadb failed. --> Working on Finance::GeniusTrader Fetching http://www.cpan.org/authors/id/E/EC/ECOCODE/Finance-GeniusTra +der-0.00_50.tar.gz ... FAIL ! Download http://www.cpan.org/authors/id/E/EC/ECOCODE/Finance-GeniusT +rader-0.00_50.tar.gz failed. Retrying ... ! Download http://www.cpan.org/authors/id/E/EC/ECOCODE/Finance-GeniusT +rader-0.00_50.tar.gz failed. Retrying ... ! Download http://www.cpan.org/authors/id/E/EC/ECOCODE/Finance-GeniusT +rader-0.00_50.tar.gz failed. Retrying ... ! Failed to download http://www.cpan.org/authors/id/E/EC/ECOCODE/Finan +ce-GeniusTrader-0.00_50.tar.gz ! Failed to fetch distribution Finance-GeniusTrader-0.00_50

Replies are listed 'Best First'.
Re: cpanm tk and Finance::GeniusTrader
by zentara (Cardinal) on Aug 09, 2012 at 17:51 UTC
    Hi, don't rely on a cpan module, learn to do it manually. For Tk just download Tk latest tarball .

    Then:
    tar -zxvf Tk-804.030.tar.gz
    perl Makefile.PL
    make
    make install ( do install as root )


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      In which directory do i need to put it? It is in downloads and I used the tar command but it can't find the script perl Makefile.Pl, Do I need to move the .tar.gz to the directory with the makefile.pl and then rerun the tar commmand and the rest? or do I need to change the directory to the script location and just continue with all the commands?

        Just did it sorry for the useless question, I make installed it and the perl -MTk -e 1 command does not give output, Are the dependencies installed too? Is this all I had to do:)?

        # perl Makefile.PL # make # make test
Re: cpanm tk and Finance::GeniusTrader
by Khen1950fx (Canon) on Aug 09, 2012 at 17:51 UTC
    As a trader, I sort of kind of want to hurl when I see names with 'Genius' in them. Buyer beware-:). For this, you'll need to use a full metal jacket:
    cpan> install ECOCODE/Finance-GeniusTrader-0.00_50.tar.gz