The problems when i install the miRDeep2
0
0
Entering edit mode
3.8 years ago
51203903042 ▴ 20

I am trying to install mirdeep2. I tested make_html.pl and error appeared as following:

Can't locate PDF/API2.pm in @inc (@inc contains: /home/students/anaconda3/lib/site_perl/5.26.2/PDF/API2.pm /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/students/anaconda3/bin/make_html.pl line 9.
BEGIN failed--compilation aborted at /home/students/anaconda3/bin/make_html.pl line 9.

when i locate the" PDF/API2", i find the error following:

/root/perl5/lib/perl5/PDF/API2
/root/perl5/lib/perl5/PDF/API2.pm.....

but when i use the "which PDF/API2",which shows"/usr/bin/which: no API2 in (./PDF)",i have install the /PDF/API2 , but i can't find the version of PDF/API2. Could anybody tell me what's wrong? And how to fix it? Really need your help.

Thanks you!

RNA-Seq • 1.0k views
ADD COMMENT
1
Entering edit mode

I would like to ask how to add the path to @INC, I didn't understand your example, so I don't know how to operate it. I tried to add the path of PDF/API2.pm to "~./bashrc", In bashrc, it looks like this: export PERL5LIB=/home/students/anaconda3/lib/site_perl/5.26.2/PDF/API2.pm; and source "~./ bashrc", but make_html.pl still has the same error, can you talk a little bit about how to add the path to it? It seems very difficult for me to know this kind of knowledge. I would like to trouble you. Thank you very much!

ADD REPLY
0
Entering edit mode

locate tells you that the path to API2.pm is /root/perl5/lib/perl5/PDF/API2.pm so the path you want to include is /root/perl5/lib/perl5

ADD REPLY
0
Entering edit mode

You are not going to see perl modules with which

You can probably resolve your problem by including the /root path in @INC, see e.g. here

ADD REPLY

Login before adding your answer.

Traffic: 2510 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6