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

! Couldn't find a $VERSION in prerequisite Bio::Perl #1

Closed
smacmil opened this issue Aug 13, 2015 · 1 comment
Closed

! Couldn't find a $VERSION in prerequisite Bio::Perl #1

smacmil opened this issue Aug 13, 2015 · 1 comment
Assignees

Comments

@smacmil
Copy link

smacmil commented Aug 13, 2015

I'm having trouble compiling even though I have the latest version of BioPerl installed (1.006924) I keep getting the error
! Couldn't find a $VERSION in prerequisite Bio::Perl
I have set the PERL5LIB path to point to this latest version uner my .profile

Please see below:
perl -MBio::Perl -le 'print Bio::Perl->VERSION;'
1.006924
perldoc -l Bio::Perl
/usr/local/share/perl/5.18.2/Bio/Perl.pm
perl -V

........
%ENV:
PERL5LIB="/usr/local/share/perl/5.18.2/Bio/:/usr/local/share/perl/site_perl/5.18.2/Bio:/usr/local/share/perl/site_perl"
@inc:
/usr/local/share/perl/5.18.2/Bio/
/usr/local/share/perl/site_perl/5.18.2/Bio
/usr/local/share/perl/site_perl
/etc/perl
/usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.18
/usr/share/perl/5.18
/usr/local/lib/site_perl

How do I point to the version of Bio::Perl

@rmp rmp self-assigned this Aug 14, 2015
@rmp
Copy link
Member

rmp commented Aug 14, 2015

Hi. At what point is that error being thrown? make / perl Build.PL or somewhere else?

It looks likely from your @inc that there's more than one installation of perl. What does "which perl" say?

Depending how your BioPerl installation was performed (e.g. with "cpan" commandline tool), there should be no reason to modify PERL5LIB beyond the defaults.

Also PERL5LIB generally should not need to contain escaped slashes ( / ), or subdirectories which are part of module distributions (i.e. the lines referencing Bio).

@rmp rmp closed this as completed Mar 28, 2017
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