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

Thank you so much! But now I am getting this issue Installation of Perl module Getopt::Long::Subcommand failed. Please install manually How can do it manually?

Replies are listed 'Best First'.
Re^3: Problems with cpanm
by marto (Cardinal) on Mar 15, 2019 at 14:40 UTC

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

      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

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

      How can do it manually?