[Bioperl-l] Minor changes to Build.PL for Windows

Chris Fields cjfields at uiuc.edu
Wed Nov 22 22:32:34 EST 2006

On Nov 22, 2006, at 5:30 PM, Sendu Bala wrote:

> Scott Cain wrote:
>> Hello,
>> I just wanted to mention that I made a few minor changes to  
>> Build.PL so
>> that I could get `perl Build.PL` to complete successfully.  I am  
>> using
>> ActivePerl 819 and don't have MySQL installed (so DBD::mysql isn't
>> present either.  The main thing I did was to have the BioDBGFF test
>> subroutine quit without asking any questions if Build.PL detected  
>> that
>> it was running on Windows.
> Is it completely impossible for it to pass under Windows? I find that
> quite a shame!
> I'm surprised it was necessary to make your changes, because it  
> already
> had to return true from:
> DBI->connect('dbi:mysql:test',undef,undef, 
> {RaiseError=>0,PrintError=>0})
> Can Windows pass that test without DBD::mysql installed, and having
> passed it why does it then fail the actual BioDBSeqFeature_mysql.t  
> script?

I think he means the BioDBGFF.t tests, not BioDBSeqFeature_mysql.t.   
Myself, I can't get the Build script to detect my local MySQL on  
WinXP, though the BioDBGFF.t tests passed.  I haven't been back to  
work since last Friday so I can't run updated WinXP tests myself.


Christopher Fields
Postdoctoral Researcher
Lab of Dr. Robert Switzer
Dept of Biochemistry
University of Illinois Urbana-Champaign

More information about the Bioperl-l mailing list