Arthfael has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks!

I am trying to use a script which uses Bio::SeqIO and Bio::Seq, so I tried to install Bioperl on my Windows 8.1 machine. However, before this I have to install the module DB_File, and that's where my trouble starts:

I have installed Berkeley DB 4.3.29, but DB_File's install is failing, and apparently for it to work I have to edit the "config.in" file (see http://cpansearch.perl.org/src/PMQS/DB_File-1.820/config.in ). I have been unsuccessful however, as each time I attempt I get an "access denied" message. Can one of you monks tell me how I can circumvent this?

Replies are listed 'Best First'.
Re: DB_File, windows and config.in
by marto (Cardinal) on Jul 22, 2014 at 10:18 UTC

    Which version of Perl are you using? Here you state DWIM perl, which is Strawberry 5.14.2.x which has DB_File as standard.

      Hi guys,

      Yes, I have DWIM Perl, but apparently it failed to properly install DB_File. This is what I get when I try to install BioPerl:

      Checking optional features... DB_File Tests.........disabled requires: ! DB_File is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the +versions of the modules indicated above before proceeding with this i +nstallation Do you want to run the Bio::DB::GFF or Bio::DB::SeqFeature::Store live + database tests? y/n [n]

      Any ideas what may be the problem? I can remove-reinstall DWIM Perl and see what happens.

        Do you have more than one installation of Perl? What does perl -V show?

Re: DB_File, windows and config.in
by Anonymous Monk on Jul 22, 2014 at 10:15 UTC