in reply to Re^2: Problems with cpanm
in thread Problems with cpanm

No problem, let me know if you have any other problems with this.

Replies are listed 'Best First'.
Re^4: Problems with cpanm
by Siberian_monk29 (Novice) on Mar 15, 2019 at 15:01 UTC
    tried to install the module  cpan[1]> Getopt::Long

    and I am getting this:

    Catching error: "Can't locate object method \"Long\" via package \"Ge +topt\" at /usr/share/perl/5.22/CPAN.pm line 375, <FIN> line 1.\cJ" at + /usr/share/perl/5.22/CPAN.pm line 391, <FIN> line 1. CPAN::shell() called at /usr/share/perl/5.22/App/Cpan.pm line 395 App::Cpan::_process_options("App::Cpan") called at /usr/share/perl +/5.22/App/Cpan.pm line 492 App::Cpan::run("App::Cpan") called at /usr/bin/cpan line 12

      The command from within the cpan tool is:

      install Getopt::Long

      ... but Getopt::Long should come distributed with your Perl anyway. If your vendor did not distribute this module with Perl, they likely offer a separate package which brings in everything that makes the Perl distribution complete and compliant with the license.

      Give me a moment, I'm just setting up the non perl dependencies for this tool, I can see some further issues. I'll reply again shortly.

      Update: in the short term, just:

      cd ext_tools ./cpanm Getopt::Long::Subcommand ./cpanm Bio::DB::HTS::Tabix ./cpanm Bio::SeqIO

        Thank you

        The first and the third command gave me the following:

        Getopt::Long::Subcommand is up to date. (0.103) Bio::SeqIO is up to date. (1.7.5)

        And the second comand went through a installation procedure.

Re^4: Problems with cpanm
by Siberian_monk29 (Novice) on Mar 15, 2019 at 14:48 UTC

    But now I am getting this issue Installation  Perl module Getopt::Long::Subcommand failed.  Please install manually

    How can do it manually?