Question: Mirdeep2 Installation (Error In Make_Html.Pl)
0
gravatar for liran0921
5.8 years ago by
liran0921100
liran0921100 wrote:

Hi,

I am trying to install mirdeep2. At the last step, I tested make_html.pl and error appeared as following:

[liran@ip14-mp2 tools]$ make_html.pl Can't locate PDF/API2.pm in @INC (@INC contains: /home/liran/tools/mirdeep2/lib64/perl5 /home/liran/tools/ViennaRNA-2.1.2/install_dir/lib64/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/liran/tools/mirdeep2/make_html.pl line 9. BEGIN failed--compilation aborted at /home/liran/tools/mirdeep2/make_html.pl line 9.

Could anybody tell me what's wrong? And how to fix it?

Really need your help.

Thanks you!

• 3.4k views
ADD COMMENTlink modified 3.9 years ago by Biostar ♦♦ 20 • written 5.8 years ago by liran0921100

it's probably quite likely the PDF::API2 module isn't installed on your system, cpan install PDF::API2 is probably the best/quickest way of fixing that. This module is listed in the README as a dependency.

ADD REPLYlink written 5.8 years ago by Simon Cockell7.3k

Thank you, Simon. I have installed the module. But I din't set the path correctly. Now it works.

ADD REPLYlink written 5.8 years ago by liran0921100
2
gravatar for cts
5.8 years ago by
cts1.6k
Pasadena
cts1.6k wrote:

It is trying to find a particular file "PDF/API2.pm" however it can't. Perl looks for .pm files in folders listed in the variable @INC. You can modify @INC in a number of ways. What you could do is find out where your file is located and add the folder to the PERL5LIB environmental variable in bash, that was it will always show up.

ADD COMMENTlink written 5.8 years ago by cts1.6k

Thanks. You are right. I have specified the path and it works now.

ADD REPLYlink written 5.8 years ago by liran0921100
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 717 users visited in the last hour