[PATCH] Fix detection of DBD modules for multiarch setups

Geert Janssens janssens-geert at telenet.be
Mon Feb 17 13:51:02 EST 2014


On Monday 17 February 2014 19:35:32 Sébastien Villemot wrote:
> Le lundi 17 février 2014 à 19:16 +0100, Geert Janssens a écrit :
> > On Sunday 09 February 2014 16:16:10 Sébastien Villemot wrote:
> > > With the upload of DBD 0.9 to Debian unstable, the location of the
> > > DBD modules has changed. This causes failures to compile GnuCash.
> > > The attached patch fixes this.
> > > 
> > > Thanks,
> > 
> > Thanks for your patch. It appears to have gone unnoticed until now.
> > 
> > Before I apply it I'd like the opinion of some other core devs on
> > this: is there a reason we hard code the dbd search path instead of
> > relying on pkg-config ? I'm tempted to drop
> > /usr/lib/dbd:/usr/lib64/dbd: ${libdir}/dbd and only keep the
> > pkg-config bit added by Sébastien. Or would that break on some of
> > the supported platforms ?
> 
> Actually Derek Atkins explained (in [1]) that doing so would break
> configuration on some Fedora systems. So the safest option seems to
> apply my patch as is.
> 
> [1]
> http://lists.gnucash.org/pipermail/gnucash-devel/2014-February/037085.
> html
Oh right,

I remember that mail now.

I'll just apply your patch as is.

Out of curiosity: is the pc file a new addition in libdbi 0.9 ?

Geert



More information about the gnucash-devel mailing list