help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Further attempts at building GnuCash with SQLite support


From: Oleg Pykhalov
Subject: Re: Further attempts at building GnuCash with SQLite support
Date: Thu, 28 Dec 2017 13:12:02 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Gary,

Gary Johnson <address@hidden> writes:

[...]

> The key thing to watch for is the #:configure-flags list:
>
> #:configure-flags '("--enable-aqbanking"
>                     ,(string-append "--with-dbi-dbd-dir="
>                                     (package-output (open-connection) 
> libdbi-drivers-sqlite)
>                                     "/lib/dbd"))
>
> My guess is that the call to package-output is returning the pre-grafted
> directory name for libdbi-drivers-sqlite, but dlopen needs to find the
> driver in the post-grafted one (or maybe the other way around). Any
> insight would be appreciated.

Instead of

  (package-output (open-connection) libdbi-drivers-sqlite)

use

  (assoc-ref %build-inputs "libdbi-drivers-sqlite")

which may fix issue with grafts, I guess.

Thanks,
Oleg.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]