unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Gary Johnson <lambdatronic@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: How to build GnuCash with SQLite backend support?
Date: Wed, 6 Dec 2017 10:59:25 +0200	[thread overview]
Message-ID: <20171206085925.GL19582@macbook41> (raw)
In-Reply-To: <87d13sx5b1.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]

On Tue, Dec 05, 2017 at 03:56:02PM -0500, Gary Johnson wrote:
> Hi guys,
> 
> 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.
> 
> 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.
> 
> I then looked at the gnucash.scm file here:
> 
>   /usr/share/guile/site/2.2/gnu/packages/gnucash.scm
> 
> And I found this:
> 
> (arguments
>  `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff
>    #:configure-flags '("--disable-dbi"
>                        "--enable-aqbanking")
> 
> 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:
> 
> $ guix package -f gnucash.scm
> 
> on my new copy of the gnucash.scm file. However, guix just returns
> silently without doing anything. What am I doing wrong?
> 
> Thanks in advance,
>   Gary
> 

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.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-12-06  8:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 20:56 How to build GnuCash with SQLite backend support? Gary Johnson
2017-12-06  8:59 ` Efraim Flashner [this message]
2017-12-06 15:34   ` Gary Johnson
     [not found] <mailman.135.1512579627.1476.help-guix@gnu.org>
2017-12-07  1:28 ` Gary Johnson
2017-12-07  7:50   ` Chris Marusich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171206085925.GL19582@macbook41 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=lambdatronic@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).