[Bioperl-l] Problems getting bioperl to run on SnowLeopard

Dave Messina David.Messina at sbc.su.se
Fri Apr 9 22:18:50 UTC 2010


Hi Mgavi,

This should work:

export PERL5LIB=/System/Library/Perl/5.10.0/BioPerl-1.6.1/

That is, leave off the Bio/ directory (it's part of what Perl looks for when you try to 'use Bio::SeqIO;'.

There's probably at least one other problem, though, since your @INC — the path that Perl searches when looking for libraries — doesn't include the one you tried to add with your export PERL5LIB statement. You may need to execute 'source .profile' on the command line.

All that being said, installing external Perl libraries in the /System/Library/ area is probably not a good idea, since the system expects to have complete control over that. It might be better in /usr/local/lib/perl or even your own ~/Library/Perl.

All else fails, read the installation instructions:

http://www.bioperl.org/wiki/Installing_Bioperl_for_Unix


Dave






More information about the Bioperl-l mailing list