From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: How to build GnuCash with SQLite backend support? Date: Wed, 6 Dec 2017 10:59:25 +0200 Message-ID: <20171206085925.GL19582@macbook41> References: <87d13sx5b1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Mh8CTEa8Ax54aLHp" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMVYB-0005kU-C1 for help-guix@gnu.org; Wed, 06 Dec 2017 03:59:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMVY8-0005hw-As for help-guix@gnu.org; Wed, 06 Dec 2017 03:59:31 -0500 Received: from flashner.co.il ([178.62.234.194]:43522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMVY8-0005gv-21 for help-guix@gnu.org; Wed, 06 Dec 2017 03:59:28 -0500 Content-Disposition: inline In-Reply-To: <87d13sx5b1.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Gary Johnson Cc: help-guix@gnu.org --Mh8CTEa8Ax54aLHp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2017 at 03:56:02PM -0500, Gary Johnson wrote: > Hi guys, >=20 > I run Guix on top of Parabola. Recently, the GnuCash package from the > AUR got into conflict with an old version of ICU, and now it won't build > anymore. So...I decided to install GnuCash through Guix instead. >=20 > Unfortunately, although it built correctly (yay Guix!), I can no longer > open my accounts.gnucash file (in SQLite3 format). Instead, I just get a > message from GnuCash saying that no suitable backend can be found for > this format. >=20 > I then looked at the gnucash.scm file here: >=20 > /usr/share/guile/site/2.2/gnu/packages/gnucash.scm >=20 > And I found this: >=20 > (arguments > `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff > #:configure-flags '("--disable-dbi" > "--enable-aqbanking") >=20 > So I'm guessing that the "--disable-dbi" configure flag is the culprit > here. However, I'm still a novice to the structure of Guix package build > files, so I could really use some help. I tried removing the > "--disable-dbi" flag from the #:configure-flags list, and then ran: >=20 > $ guix package -f gnucash.scm >=20 > on my new copy of the gnucash.scm file. However, guix just returns > silently without doing anything. What am I doing wrong? >=20 > Thanks in advance, > Gary >=20 guix package -f my-file.scm works great when you have a file that returns a package. In this case, gnucash.scm contains the definition of a package and so it doesn't return anything. If it's still the package in the guix git tree then you can just run `guix package -i gnucash', if your copy of gnucash.scm resides outside of the git tree then you'll need `guix package -L path-to-gnucash.scm-directory -i gnucash' in order to install it from your custom location. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Mh8CTEa8Ax54aLHp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlonsW0ACgkQQarn3Mo9 g1Frfg/+KWbVTfpOcSeF1pwGJ3hgTEb5kFVfkngx8HddW5oj3tUrPK7DYtu7umWY ZaK/Iq4ikK2CpabhVZAk2TFMPLbt7YIk4tbpqqZRJ5yQ4NnWnvz6Tt6qcyFyTQJJ M5OBOYOEoc72jp9Q/LmzV++s6XDhgHJ0u0isyrqvG32i5ID/+IBdraMEHROiBTsZ cbxaPRrLfJ2sZA7MDni7/cfITaD8qZLlJtgUiHaLMhoqLJAW8uY9qo75zWTNBt0M HqIHl/9J5Tg//gG7zG6grgUiHjIxYLiU0ExLI0mjnZN2A9Byep3IVc3FeeK85Vq0 c+TJK3n7YQY9VfzJj10mmAoaRtlcuVatLukf5Js3Fj2f92u1i9ueJKFKCgjbADp4 cAB7FnbRWO3GTU4hwV3byNzphCwQVzJMXesQebmyoaUzIY1YESuZRXAyWGBRPnWh d6+Rom1FYVHT8SfVaUGKRZ88vuH4n80ZxGCC37BBQP4pzkkNy1HTAGLNQtmIDNQO uwAr7sXh3EYPxWScaEFduPXh8auMs//A/J3/zBi6GabMY/BUFprZVIq5kfhxuq6X Age70tVqoSPG0X4PD5xjt0v8NYRqsrJ0SLx/+yZMGcWFciuh2ZXqlwdepRlOB9Al g3m7FQRhyyaTObGHUejYKhoTem1KAvOMBXU4qFoWPsOUkjGCdEQ= =1IyE -----END PGP SIGNATURE----- --Mh8CTEa8Ax54aLHp--