xiaoli-dong / metaerg

42 stars 18 forks source link

Cannot install SWISS::Entry; and SWISS::KW; perl modules #6

Open slambrechts opened 4 years ago

slambrechts commented 4 years ago

Hello,

When I try to install the required SWISS::Entry; and SWISS::KW; perl modules using cpan, I get:

(base) slambrecht@WE11sv03:~/.local/share/.cpan/build/local-lib-2.000024-oG3DdT$ cpan SWISS::KW;

Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Storable loaded ok (v2.53_01)
Reading '/home/slambrecht/.local/share/.cpan/Metadata'
  Database was generated on Fri, 29 Nov 2019 14:58:47 GMT
Warning: Cannot install SWISS::KW, don't know what it is.
Try the command

    i /SWISS::KW/

to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9726)

Any idea what is going on and how to fix this?

Finesim97 commented 4 years ago

Yeah, SWISS Knife isn't in CPAN. You can download it here https://sourceforge.net/projects/swissknife/files/swissknife/ and follow the installation instructions. If you have cpanminus installed, you can just:

cpanm https://sourceforge.net/projects/swissknife/files/swissknife/1.78/swissknife_1.78.tar.gz/download -n

The tests fail on all my systems, but this doesn't interfere with MetaErg execution.