bioperl-live icon indicating copy to clipboard operation
bioperl-live copied to clipboard

db.h dependency

Open lskatz opened this issue 5 years ago • 2 comments

In my own CI unit testing, I install bioperl as a dependency. However, it is difficult to make sure that bioperl installs. I am pretty sure that that BerkeleyDB (Ubuntu:libberkeleydb-perl) and ubuntu:libdb-dev is a dependency. Could it be documented somewhere?

https://packages.ubuntu.com/bionic/libberkeleydb-perl https://packages.ubuntu.com/bionic/libdb-dev

lskatz avatar Nov 03 '20 14:11 lskatz

Can you confirm that you are running into issues when either of these is not installed? We have largely switched to AnyDBM_File but it's possible DB_File is still in there somewhere (it's still showing up as a dependency); BerkeleyDB shouldn't be required though. See this page:

https://metacpan.org/release/BioPerl

cjfields avatar Feb 03 '21 04:02 cjfields

Looking at the Changes files, I see that in version 1.6.924 the dependency on DB_File was demoted from "required" to "recommended". My guess is that demotion was lost in version 1.7.3 with the move to dzil.

However, looking at the code and despite this demotion, there's modules (and programs as well) that still use DB_File without working around its absence so I'm not sure if that demotion is correct.

carandraug avatar Feb 03 '21 19:02 carandraug