[Bioperl-l] Bioperl version string not picked up by MakeMaker
Aaron J. Mackey
amackey at pcbi.upenn.edu
Mon Aug 8 15:12:41 EDT 2005
One backward-compatible alternative is to direct your PREREQ_PM to
Bio::Root::Version instead of Bio::Perl, but I like your forward-
compatible solution as well.
-Aaron
On Aug 8, 2005, at 3:02 PM, <lstein at cshl.edu> <lstein at cshl.edu> wrote:
> Hi,
>
> Sadly, the Bio::Root::Version system does not play nicely with
> MakeMaker. I have a WriteMakefile() routine in the gbrowse Makefile.PL
> which looks like this:
>
> WriteMakefile(
> 'NAME' => 'Generic-Genome-Browser',
> 'VERSION' => $VERSION,
> 'PREREQ_PM' => {
> Bio::Perl => 1.5,
> GD => 2.07,
> IO::String => 0,
> Text::Shellwords => 1.0,
> }, # e.g., Module::Name => 1.1
> ...);
>
>
> But when I run perl Makefile.PL I get:
>
> Warning: prerequisite Bio::Perl 1.5 not found. We have unknown
> version.
>
> I have added a "use Bio::Root::Version '$VERSION'" to Bio/Perl.pm and
> this seems to fix the problem, but someone who understands MakeMaker
> better had better confirm that this is the right solution.
>
> Lincoln
>
> --
> Lincoln D. Stein
> Cold Spring Harbor Laboratory
> 1 Bungtown Road
> Cold Spring Harbor, NY 11724
> FOR URGENT MESSAGES & SCHEDULING,
> PLEASE CONTACT MY ASSISTANT,
> SANDRA MICHELSEN, AT michelse at cshl.edu
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
--
Aaron J. Mackey, Ph.D.
Project Manager, ApiDB Bioinformatics Resource Center
Penn Genomics Institute, University of Pennsylvania
email: amackey at pcbi.upenn.edu
office: 215-898-1205 (Goddard) / 215-746-7018 (PCBI)
fax: 215-746-6697
postal: Penn Genomics Institute
Goddard Labs 212
415 S. University Avenue
Philadelphia, PA 19104-6017
More information about the Bioperl-l
mailing list