Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure until I used cpanm --force, on Mac OS X Catalina #338

Open
afbent opened this issue Feb 24, 2020 · 1 comment
Open

Build failure until I used cpanm --force, on Mac OS X Catalina #338

afbent opened this issue Feb 24, 2020 · 1 comment

Comments

@afbent
Copy link

afbent commented Feb 24, 2020

Not sure if this is a bug in Bio::Perl as much as place where instructions for installation should be improved. Perl was working fine on my MacBook Pro but, although the first stages of installing BioPerl seemed successful, it never worked, I kept getting the following error:
Can't locate Bio/Perl.pm in @inc (you may need to install the Bio::Perl module)

My installation attempts were done with the command:
sudo cpanm Bio::Perl
Many suggested solutions and a few hours of noodling around, for example “export PERL5LIB=pathname”, did not work. There was never a Bio folder with Perl.pm inside of it. BioPerl finally worked only after I forced things by running the following command:
sudo cpanm --force Bio::Perl

(thanks to https://stackoverflow.com/questions/52468476/issues-installing-perl-module-bioperl for the --force suggestion)

I am working on a MacBook Pro running the relatively newOSX Catalina version 10.15.3, and I was calling on a newly installed BioPerl v.1.7.7 while running a program called Delta BitScore (https://github.com/Gardner-BinfLab/deltaBS/wiki). Delta BitScore worked beautifully, but only after I included “--force” during the cpanm installation of BioPerl.

It would be great if you could alter documentation so that other people don’t have to beat their head against this type of BioPerl installation issue.

@wuyudelan
Copy link

Also meet the following error:
Can't locate Bio/Perl.pm in @inc (you may need to install the Bio::Perl module)
and also find no Perl.pm in Bio directory.
cpan> force install Bio::Perl
fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants