Question: (Closed) how to perl module install
0
gravatar for vigneshnivas09
2.4 years ago by
India
vigneshnivas0910 wrote:

how to install the string:: approx ?

cpan String::Approx module
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.18.2 /storage/mayank/perlinstallation/lib/perl5/5.18.2/x86_64-linux /storage/mayank/perlinstallation/lib/perl5/5.18.2 .) at /usr/local/bin/cpan line 6.
BEGIN failed--compilation aborted at /usr/local/bin/cpan line 6.
rna-seq • 2.9k views
ADD COMMENTlink modified 2.3 years ago by krushnach80500 • written 2.4 years ago by vigneshnivas0910
1

This is a problem with your perl installation or your cpan configuration. Most solutions consist of just re-installing Perl. See http://www.perlmonks.org/?node_id=1080639 If the problem is only with cpan, but not with e.g.: perl -Mstrict -e'1;' it should be sufficient to re-configure cpan, start cpan then o conf init. Most likely, your perl include path contains an inaccessible directory, you can reproduce the behavior the follwing way:

mkdir -p /tmp/dontyou
chmod 000 /tmp/dontyou/
ls /tmp/dontyou
ls: dontyou: Permission denied
perl -I '/tmp/dontyou/' -Mstrict -e'1'
Can't locate strict.pm:   /tmp/dontyou/strict.pm: Permission denied.
BEGIN failed--compilation aborted.
ADD REPLYlink modified 2.4 years ago • written 2.4 years ago by Michael Dondrup46k

strong textsame problem .pls help as

Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.18.2 /storage/mayank/perlinstallation/lib/perl5/5.18.2/x86_64-linux /storage/mayank/perlinstallation/lib/perl5/5.18.2 .) at /usr/local/bin/cpan line 6. BEGIN failed--compilation aborted at /usr/local/bin/cpan line 6.

ADD REPLYlink written 2.4 years ago by vigneshnivas0910

What did you do ? Did you check permissions on the directories as suggested ?

As another thing to look at, the presence of /usr/local/lib/perl5/site_perl/5.18.2/x86_64-linux and /storage/mayank/perlinstallation/lib/perl5/5.18.2/x86_64-linux in @INC makes me think that you may have two conflicting installations of perl. In this case, just use the system one (in /usr/local) and you should be OK (i.e. remove the perl installation in /storage).

ADD REPLYlink written 2.4 years ago by Jean-Karim Heriche18k

This is a problem with your perl installation, not related to the module you're trying to install. strict.pm is part of perl. If perl can't find it, it suggests your installation is somehow broken. Without more information, it's impossible to give you more help. What system are you using ? How was perl installed ?

ADD REPLYlink written 2.4 years ago by Jean-Karim Heriche18k

linux system -sever centos

per-wget http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/perl-5.25.0.tar.gz

tar xvzf perl-5.25.0.tar.gz

ADD REPLYlink written 2.4 years ago by vigneshnivas0910

What does that mean? Don't start overcomplicating things, by adding another perl version, a development version!, you are running 5.18.2 that should be fine!

ADD REPLYlink modified 2.4 years ago • written 2.4 years ago by Michael Dondrup46k

Hello vigneshnivas09!

We believe that this post does not fit the main topic of this site.

Not a bioinformatics question.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

ADD REPLYlink written 2.3 years ago by Michael Dondrup46k
0
gravatar for krushnach80
2.3 years ago by
krushnach80500
krushnach80500 wrote:

I think you need to check your CPAN shell in perl

ADD COMMENTlink written 2.3 years ago by krushnach80500
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

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