unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Further attempts at building GnuCash with SQLite support
@ 2017-12-18 21:14 Gary Johnson
  2017-12-21  5:34 ` Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Johnson @ 2017-12-18 21:14 UTC (permalink / raw)
  To: help-guix

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

Hi Guix,

After spending some more time with the Guix manual and a bit of REPL
experimentation, I tweaked my package definitions for libdbi and
libdbi-drivers-sqlite so that they now appear to be building
successfully. Here they are for your consideration:

======================================================================
=
= (define-module (my-packages gnucash-with-dbi)
=   #:use-module ((guix licenses) #:prefix license:)
=   #:use-module (guix store)
=   #:use-module (guix packages)
=   #:use-module (guix download)
=   #:use-module (guix build-system gnu)
=   #:use-module (gnu packages)
=   #:use-module (gnu packages databases)
=   #:use-module (gnu packages gnome)
=   #:use-module (gnu packages gnucash)
=   #:use-module (gnu packages glib)
=   #:use-module (gnu packages gtk)
=   #:use-module (gnu packages guile)
=   #:use-module (gnu packages icu4c)
=   #:use-module (gnu packages perl)
=   #:use-module (gnu packages pkg-config)
=   #:use-module (gnu packages web)
=   #:use-module (gnu packages webkit)
=   #:use-module (gnu packages xml))
=
= (define-public libdbi
=   (package
=     (name "libdbi")
=     (version "0.9.0")
=     (source
=      (origin
=       (method url-fetch)
=       (uri
=        (string-append "https://versaweb.dl.sourceforge.net/project/libdbi/libdbi/libdbi-"
=                       version "/libdbi-" version ".tar.gz"))
=       (sha256
=        (base32
=         "00s5ra7hdlq25iv23nwf4h1v3kmbiyzx0v9bhggjiii4lpf6ryys"))))
=     (build-system gnu-build-system)
=     (home-page "http://libdbi.sourceforge.net/")
=     (synopsis "Database-independent abstraction layer in C")
=     (description
=      "The libdbi framework implements a database-independent abstraction layer in C,
= similar to the DBI/DBD layer in Perl. Writing one generic set of code,
= programmers can leverage the power of multiple databases and multiple
= simultaneous database connections by using this framework.")
=     (license license:lgpl2.1+)))
=
= (define-public libdbi-drivers-sqlite
=   (package
=     (name "libdbi-drivers-sqlite")
=     (version "0.9.0")
=     (source
=      (origin
=       (method url-fetch)
=       (uri
=        (string-append "https://versaweb.dl.sourceforge.net/project/libdbi-drivers/libdbi-drivers/libdbi-drivers-"
=                       version "/libdbi-drivers-" version ".tar.gz"))
=       (sha256
=        (base32
=         "0m680h8cc4428xin4p733azysamzgzcmv4psjvraykrsaz6ymlj3"))))
=     (build-system gnu-build-system)
=     (propagated-inputs
=      `(("libdbi" ,libdbi)
=        ("sqlite" ,sqlite)))
=     (arguments
=      `(#:configure-flags '("--with-sqlite3"
=                            ,(string-append "--with-dbi-libdir="
=                                            (package-output (open-connection) libdbi)))))
=     (home-page "http://libdbi-drivers.sourceforge.net/")
=     (synopsis "Database-specific drivers for the libdbi framework")
=     (description
=      "The libdbi-drivers project provides the database-specific drivers for
= the libdbi framework. The current version of libdbi-drivers will work
= with any 0.9.x release of the framework. The drivers officially
= supported by libdbi are MySQL, PostgreSQL, and SQLite3.")
=     (license license:lgpl2.1+)))
=
======================================================================

So...now that those are installing themselves successfully, I moved on
to install GnuCash with DBI support for SQLite3. Here's my package
definition:

======================================================================
=
= (define-public gnucash-with-dbi
=   (package
=     (name "gnucash-with-dbi")
=     (version "2.6.16")
=     (source
=      (origin
=       (method url-fetch)
=       (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
=                           version "/gnucash-" version ".tar.bz2"))
=       (sha256
=        (base32
=         "1088rssg9xgwi3wdfrhdcga46gby6lrd9a1fvn9zq456lscn4m9c"))
=       (patches (search-patches "gnucash-price-quotes-perl.patch"))))
=     (build-system gnu-build-system)
=     (inputs
=      `(("guile" ,guile-2.0)
=        ("icu4c" ,icu4c)
=        ("glib" ,glib)
=        ("gtk" ,gtk+-2)
=        ("goffice" ,goffice-0.8)
=        ("libgnomecanvas" ,libgnomecanvas)
=        ("libxml2" ,libxml2)
=        ("libxslt" ,libxslt)
=        ("webkitgtk" ,webkitgtk/gtk+-2)
=        ("aqbanking" ,aqbanking)
=        ("perl-date-manip" ,perl-date-manip)
=        ("perl-finance-quote" ,perl-finance-quote)))
=     (propagated-inputs
=      `(("sqlite" ,sqlite)
=        ("libdbi" ,libdbi)
=        ("libdbi-drivers-sqlite" ,libdbi-drivers-sqlite)))
=     (native-inputs
=      `(("glib" ,glib "bin") ; glib-compile-schemas, etc.
=        ("intltool" ,intltool)
=        ("pkg-config" ,pkg-config)))
=     (arguments
=      `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff
=        #:configure-flags '("--enable-aqbanking"
=                            ,(string-append "--with-dbi-dbd-dir="
=                                            (package-output (open-connection) libdbi-drivers-sqlite)
=                                            "/lib/dbd"))
=        #:phases
=        (modify-phases %standard-phases
=          (add-after
=           'install 'wrap-programs
=           (lambda* (#:key inputs outputs #:allow-other-keys)
=             (for-each (lambda (prog)
=                         (wrap-program (string-append (assoc-ref outputs "out")
=                                                      "/bin/" prog)
=                           `("PERL5LIB" ":" prefix
=                             ,(map (lambda (o)
=                                     (string-append o "/lib/perl5/site_perl/"
=                                                    ,(package-version perl)))
=                                   (if (string=? prog "gnc-fq-helper")
=                                       (list
=                                        ,@(transitive-input-references
=                                           'inputs
=                                           (map (lambda (l)
=                                                  (assoc l (inputs)))
=                                                '("perl-finance-quote"
=                                                  "perl-date-manip"))))
=                                       (list
=                                        ,@(transitive-input-references
=                                           'inputs
=                                           (map (lambda (l)
=                                                  (assoc l (inputs)))
=                                                '("perl-finance-quote")))))))))
=                       '("gnucash"
=                         "gnc-fq-check"
=                         "gnc-fq-helper"
=                         "gnc-fq-dump")))))))
=     (home-page "http://www.gnucash.org/")
=     (synopsis "Personal and small business financial accounting software")
=     (description
=      "GnuCash is personal and professional financial-accounting
= software. It can be used to track bank accounts, stocks, income and
= expenses, based on the double-entry accounting practice. It includes
= support for QIF/OFX/HBCI import and transaction matching. It also
= automates several tasks, such as financial calculations or scheduled
= transactions.")
=     (license license:gpl3+)))
=
======================================================================

This is based off of the Guix distribution's gnucash package, but
notably "--disable-dbi" has been removed from #:configure-flags and
"--with-dbi-dbd-dir" has been added.

Bear in mind that without "--with-dbi-dbd-dir", GnuCash's configure
phase tries to find the libdbi drivers in
/gnu/store/...libdbi-0.9.0/lib/dbd and NOT in
/gnu/store/...libdbi-drivers-sqlite-0.9.0/lib/dbd as it should.

I'm guessing this has something to do with the GnuCash build procedure
not keeping up with the source code reorganization in the libdbi
project. Ah well...anyway, "with-dbi-dbd-dir" is supposed to overcome
this obstacle, so on we go...

When I run "guix build gnucash-with-dbi", the package build fails in the
configure phase like so:

======================================================================
=
= checking dbi/dbi.h usability... yes
= checking dbi/dbi.h presence... yes
= checking for dbi/dbi.h... yes
= configure: Search Path :/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd
= checking Looking for at least one supported DBD module... configure: error:
= Unable to find any of the supported dbd modules
= (libdbdsqlite3, libdbdmysql, or libdbdpgsql) needed to actually use the SQL
= backend.
=
=
= If you do have them installed the problem is either that dlopen cannot
= find them or that dlopen itself is not getting linked. Check config.log
= to find out which.  You can add the option --with-dbi-dbd-dir pointing to
= the directory in which they are located.
=
= If you do not actually want to build with libdi add --disable-dbi
= to the configure argument list and run it again.
=
= phase `configure' failed after 7.9 seconds
=
======================================================================

Okay...so...what? If I look where configure is supposedly looking, I see
the drivers right there:

======================================================================

$ ls -l /gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd
-r--r--r--   2 root           root     50840 1969-12-31  1969 libdbdsqlite3.a
-r-xr-xr-x   2 root           root      1240 1969-12-31  1969 libdbdsqlite3.la
-r-xr-xr-x   2 root           root     52880 1969-12-31  1969 libdbdsqlite3.so

======================================================================

I've attached the config.log created in the build environment after
running "guix build -K gnucash-with-dbi" to this email for your review.


[-- Attachment #2: config.log --]
[-- Type: text/plain, Size: 116317 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GnuCash configure 2.6.16, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure CONFIG_SHELL=/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash SHELL=/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash --prefix=/gnu/store/jk00117mi2q001ic3a3siyrpr15cbiz5-gnucash-with-dbi-2.6.16 --enable-fast-install --build=x86_64-unknown-linux-gnu --enable-aqbanking --with-dbi-dbd-dir=/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = x86_64
uname -r = 4.13.13-gnu-1
uname -s = Linux
uname -v = #1 SMP PREEMPT Sat Nov 18 22:52:17 CET 2017

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /gnu/store/hrq1k5hcdvy482nsz5ax5aikf4hw3qmx-glib-2.52.3-bin/bin
PATH: /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin
PATH: /gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin
PATH: /gnu/store/zhhdii9mjckb6c2f7abmdsx39khv6dla-tar-1.29/bin
PATH: /gnu/store/4iqyh8xqjxazza3lx2iz5v39ipzifsfj-gzip-1.8/bin
PATH: /gnu/store/6hicns85s8ddp0y539wdspwx22ac2kmv-bzip2-1.0.6/bin
PATH: /gnu/store/g3nari57wcfnm00kv9bnpyzdzfq4h8pk-xz-5.2.2/bin
PATH: /gnu/store/msw2q7nr3vfmgwyxf15y0x7qbngs9y3d-file-5.30/bin
PATH: /gnu/store/7zbscp5r0djsalcnvfrm7g0mp70mhrkd-diffutils-3.6/bin
PATH: /gnu/store/9b0nh58q1dwxli80xj15gv2037az96xw-patch-2.7.5/bin
PATH: /gnu/store/7v8369lgnqvpphcw06hg59hb8hxmkr8x-sed-4.4/bin
PATH: /gnu/store/nzv180i3z33vnb9krmc73mazhf626384-findutils-4.6.0/bin
PATH: /gnu/store/9pq16kfcldqqcbd58mmfp37g3awhg4sd-gawk-4.1.4/bin
PATH: /gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin
PATH: /gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin
PATH: /gnu/store/6vps2jc0v6b4hr8ds98785xcf8061wz0-make-4.2.1/bin
PATH: /gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin
PATH: /gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin
PATH: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin
PATH: /gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0/bin
PATH: /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/bin
PATH: /gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/sbin
PATH: /gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin
PATH: /gnu/store/0s5manjvfa0gmsv2r71rchky7ab70g1d-icu4c-58.2/bin
PATH: /gnu/store/0s5manjvfa0gmsv2r71rchky7ab70g1d-icu4c-58.2/sbin
PATH: /gnu/store/h751h6b615w9v6r1amyhxvqqi98kimrs-gtk+-2.24.31/bin
PATH: /gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/bin
PATH: /gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/bin
PATH: /gnu/store/4m56kyrmmh0nm9240gh5066g5bgxdbww-webkitgtk-gtk2-2.4.11/bin
PATH: /gnu/store/7bjgbgr0ic04vk0bazgk9pnb9r74lpkp-aqbanking-5.6.12/bin
PATH: /gnu/store/az8d7d4vvqnbmh9m8kwvdx22gwfqgf2a-perl-date-manip-6.50/bin
PATH: /gnu/store/mpl9b9w60gjzsq470zka5l8p2bmy7r8v-sqlite-3.19.3/bin
PATH: /gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/bin
PATH: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin
PATH: /gnu/store/4b9y9f5fvghk2vmwpbgzncal7z3r4n5y-pango-1.40.12/bin
PATH: /gnu/store/m5mpr30kyv4mm1nrzkbcwzbjskhrxsdf-gdk-pixbuf+svg-2.36.10/bin
PATH: /gnu/store/d4acqgygw3bcjhbghrf5ajyxzra65r4j-libgsf-1.14.41/bin
PATH: /gnu/store/3ixm7gmjn14igyps5mrhlhgy5nyzhqyq-libart-lgpl-2.3.21/bin
PATH: /gnu/store/nyckn50q8klbhcmvpd329lzd1yv94z8v-gwenhywfar-4.15.3/bin
PATH: /gnu/store/bj44qvz812h0dfqa7y3lq2b194iqlcq8-perl-libwww-6.15/bin
PATH: /gnu/store/2lqkighqwq3p5aiidl4y81ixvyqbf1l1-perl-html-tree-5.07/bin
PATH: /gnu/store/c4vl4hw5jccg0b23sfvs0kdnfdbxdlgm-cairo-1.14.10/bin
PATH: /gnu/store/jz1b4asy3pldfvv3pdgalcv90w79brs4-shared-mime-info-1.8/bin
PATH: /gnu/store/b9ww6qv1ii9v6n45kin7543vkf6jfnd3-libpng-1.6.29/bin
PATH: /gnu/store/6srq8zd7fxlcm4ry9q2scdkvxy7l9wgg-gdk-pixbuf-2.36.10/bin
PATH: /gnu/store/4s30c95sn9pkgyhxlwy34rz7g4ccyn4a-perl-json-xs-3.01/bin
PATH: /gnu/store/p5hrrimz30kfp56rah7qn4ymshyg78mq-graphite2-1.3.10/bin
PATH: /gnu/store/1jp44pfmqcj3zycclvmmva3xcwinyg7l-freetype-2.8/bin
PATH: /gnu/store/nw400gfan3mxvjfwvy1q72s1ybmdscsk-fontconfig-2.12.3/bin
PATH: /gnu/store/wdlhrg370gm42s7ggyhnvnb4xrzpls1x-expat-2.2.1/bin
PATH: /gnu/store/p2s7mwfzwllm8g0n17y1064n7v8xcsm8-perl-package-stash-0.37/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2770: checking for a BSD-compatible install
configure:2838: result: /gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin/install -c
configure:2849: checking whether build environment is sane
configure:2904: result: yes
configure:3055: checking for a thread-safe mkdir -p
configure:3094: result: /gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin/mkdir -p
configure:3101: checking for gawk
configure:3117: found /gnu/store/9pq16kfcldqqcbd58mmfp37g3awhg4sd-gawk-4.1.4/bin/gawk
configure:3128: result: gawk
configure:3139: checking whether make sets $(MAKE)
configure:3165: result: no
configure:3190: checking whether make supports nested variables
configure:3207: result: yes
configure:3403: checking for gcc
configure:3419: found /gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0/bin/gcc
configure:3430: result: gcc
configure:3659: checking for C compiler version
configure:3668: gcc --version >&5
gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3679: $? = 0
configure:3668: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: 
Thread model: posix
gcc version 5.4.0 (GCC) 
configure:3679: $? = 0
configure:3668: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3679: $? = 1
configure:3668: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3679: $? = 1
configure:3699: checking whether the C compiler works
configure:3721: gcc    conftest.c  >&5
configure:3725: $? = 0
configure:3773: result: yes
configure:3776: checking for C compiler default output file name
configure:3778: result: a.out
configure:3784: checking for suffix of executables
configure:3791: gcc -o conftest    conftest.c  >&5
configure:3795: $? = 0
configure:3817: result: 
configure:3839: checking whether we are cross compiling
configure:3847: gcc -o conftest    conftest.c  >&5
configure:3851: $? = 0
configure:3858: ./conftest
configure:3862: $? = 0
configure:3877: result: no
configure:3882: checking for suffix of object files
configure:3904: gcc -c   conftest.c >&5
configure:3908: $? = 0
configure:3929: result: o
configure:3933: checking whether we are using the GNU C compiler
configure:3952: gcc -c   conftest.c >&5
configure:3952: $? = 0
configure:3961: result: yes
configure:3970: checking whether gcc accepts -g
configure:3990: gcc -c -g  conftest.c >&5
configure:3990: $? = 0
configure:4031: result: yes
configure:4048: checking for gcc option to accept ISO C89
configure:4111: gcc  -c -g -O2  conftest.c >&5
configure:4111: $? = 0
configure:4124: result: none needed
configure:4149: checking whether gcc understands -c and -o together
configure:4171: gcc -c conftest.c -o conftest2.o
configure:4174: $? = 0
configure:4171: gcc -c conftest.c -o conftest2.o
configure:4174: $? = 0
configure:4186: result: yes
configure:4214: checking for style of include used by make
configure:4242: result: GNU
configure:4268: checking dependency style of gcc
configure:4379: result: gcc3
configure:4401: checking how to run the C preprocessor
configure:4432: gcc -E  conftest.c
configure:4432: $? = 0
configure:4446: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4446: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4471: result: gcc -E
configure:4491: gcc -E  conftest.c
configure:4491: $? = 0
configure:4505: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4505: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4534: checking for grep that handles long lines and -e
configure:4592: result: /gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep
configure:4597: checking for egrep
configure:4659: result: /gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -E
configure:4664: checking for ANSI C header files
configure:4684: gcc -c -g -O2  conftest.c >&5
configure:4684: $? = 0
configure:4757: gcc -o conftest -g -O2   conftest.c  >&5
configure:4757: $? = 0
configure:4757: ./conftest
configure:4757: $? = 0
configure:4768: result: yes
configure:4781: checking for sys/types.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for sys/stat.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for stdlib.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for string.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for memory.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for strings.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for inttypes.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for stdint.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4781: checking for unistd.h
configure:4781: gcc -c -g -O2  conftest.c >&5
configure:4781: $? = 0
configure:4781: result: yes
configure:4794: checking minix/config.h usability
configure:4794: gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:4794: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4794: result: no
configure:4794: checking minix/config.h presence
configure:4794: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:4794: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4794: result: no
configure:4794: checking for minix/config.h
configure:4794: result: no
configure:4815: checking whether it is safe to define __EXTENSIONS__
configure:4833: gcc -c -g -O2  conftest.c >&5
configure:4833: $? = 0
configure:4840: result: yes
configure:4856: checking whether NLS is requested
configure:4865: result: yes
configure:4893: checking for intltool-update
configure:4911: found /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-update
configure:4923: result: /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-update
configure:4933: checking for intltool-merge
configure:4951: found /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-merge
configure:4963: result: /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-merge
configure:4973: checking for intltool-extract
configure:4991: found /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-extract
configure:5003: result: /gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-extract
configure:5157: checking for xgettext
configure:5175: found /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/xgettext
configure:5187: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/xgettext
configure:5197: checking for msgmerge
configure:5215: found /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgmerge
configure:5227: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgmerge
configure:5237: checking for msgfmt
configure:5255: found /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
configure:5267: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
configure:5277: checking for gmsgfmt
configure:5308: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
configure:5328: checking for perl
configure:5346: found /gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/bin/perl
configure:5358: result: /gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/bin/perl
configure:5369: checking for perl >= 5.8.1
configure:5376: result: 5.26.0
configure:5380: checking for XML::Parser
configure:5383: result: ok
configure:5408: gcc -o conftest -g -O2   conftest.c  >&5
configure:5408: $? = 0
configure:5490: checking locale.h usability
configure:5490: gcc -c -g -O2  conftest.c >&5
configure:5490: $? = 0
configure:5490: result: yes
configure:5490: checking locale.h presence
configure:5490: gcc -E  conftest.c
configure:5490: $? = 0
configure:5490: result: yes
configure:5490: checking for locale.h
configure:5490: result: yes
configure:5501: checking for LC_MESSAGES
configure:5517: gcc -o conftest -g -O2   conftest.c  >&5
configure:5517: $? = 0
configure:5525: result: yes
configure:5542: checking libintl.h usability
configure:5542: gcc -c -g -O2  conftest.c >&5
configure:5542: $? = 0
configure:5542: result: yes
configure:5542: checking libintl.h presence
configure:5542: gcc -E  conftest.c
configure:5542: $? = 0
configure:5542: result: yes
configure:5542: checking for libintl.h
configure:5542: result: yes
configure:5550: checking for ngettext in libc
configure:5568: gcc -o conftest -g -O2   conftest.c  >&5
configure:5568: $? = 0
configure:5577: result: yes
configure:5581: checking for dgettext in libc
configure:5599: gcc -o conftest -g -O2   conftest.c  >&5
configure:5599: $? = 0
configure:5608: result: yes
configure:5615: checking for bind_textdomain_codeset
configure:5615: gcc -o conftest -g -O2   conftest.c  >&5
configure:5615: $? = 0
configure:5615: result: yes
configure:5891: checking for msgfmt
configure:5918: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
configure:5929: checking for dcgettext
configure:5929: gcc -o conftest -g -O2   conftest.c   >&5
conftest.c:60:6: warning: conflicting types for built-in function 'dcgettext'
 char dcgettext ();
      ^
configure:5929: $? = 0
configure:5929: result: yes
configure:5939: checking if msgfmt accepts -c
configure:5954: $MSGFMT -c -o /dev/null conftest.foo
conftest.foo:3: warning: header field 'Language' missing in header
configure:5957: $? = 0
configure:5959: result: yes
configure:5969: checking for gmsgfmt
configure:6000: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
configure:6010: checking for xgettext
configure:6037: result: /gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/xgettext
configure:6056: gcc -o conftest -g -O2   conftest.c   >&5
configure:6056: $? = 0
configure:6138: checking for catalogs to be installed
configure:6163: result:  az ca cs da eu fa ja nl rw sk sr sv tr uk zh_CN ar bg de el en_GB es fi fr gu he hi hu it kn ko lt lv mr nb ne pl pt pt_BR ro ru ta te ur vi zh_TW as brx doi es_NI kok kok@latin ks mai mni mni@bengali
configure:6257: checking for pkg-config
configure:6275: found /gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin/pkg-config
configure:6287: result: /gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin/pkg-config
configure:6312: checking pkg-config is at least version 0.9.0
configure:6315: result: yes
configure:6325: checking if compiling with clang
configure:6343: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:8: error: unknown type name 'not'
        not clang
        ^
configure:6343: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
| #ifndef __clang__
|        not clang
| #endif
| 
|   ;
|   return 0;
| }
configure:6350: result: no
configure:6435: checking for g++
configure:6451: found /gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0/bin/g++
configure:6462: result: g++
configure:6489: checking for C++ compiler version
configure:6498: g++ --version >&5
g++ (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6509: $? = 0
configure:6498: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/gnu/store/5sv5zy2kgg6iaqyv8zw49w4243j0xkd0-gcc-5.4.0/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: 
Thread model: posix
gcc version 5.4.0 (GCC) 
configure:6509: $? = 0
configure:6498: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:6509: $? = 1
configure:6498: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:6509: $? = 1
configure:6513: checking whether we are using the GNU C++ compiler
configure:6532: g++ -c   conftest.cpp >&5
configure:6532: $? = 0
configure:6541: result: yes
configure:6550: checking whether g++ accepts -g
configure:6570: g++ -c -g  conftest.cpp >&5
configure:6570: $? = 0
configure:6611: result: yes
configure:6636: checking dependency style of g++
configure:6747: result: gcc3
configure:7407: checking build system type
configure:7421: result: x86_64-unknown-linux-gnu
configure:7441: checking host system type
configure:7454: result: x86_64-unknown-linux-gnu
configure:7854: checking how to print strings
configure:7881: result: printf
configure:7902: checking for a sed that does not truncate output
configure:7966: result: /gnu/store/7v8369lgnqvpphcw06hg59hb8hxmkr8x-sed-4.4/bin/sed
configure:7984: checking for fgrep
configure:8046: result: /gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -F
configure:8081: checking for ld used by gcc
configure:8148: result: /gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld
configure:8155: checking if the linker (/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld) is GNU ld
configure:8170: result: yes
configure:8182: checking for BSD- or MS-compatible name lister (nm)
configure:8231: result: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B
configure:8361: checking the name lister (/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B) interface
configure:8368: gcc -c -g -O2  conftest.c >&5
configure:8371: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B "conftest.o"
configure:8374: output
0000000000000000 B some_variable
configure:8381: result: BSD nm
configure:8384: checking whether ln -s works
configure:8388: result: yes
configure:8396: checking the maximum length of command line arguments
configure:8527: result: 1572864
configure:8544: checking whether the shell understands some XSI constructs
configure:8554: result: yes
configure:8558: checking whether the shell understands "+="
configure:8564: result: yes
configure:8599: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
configure:8639: result: func_convert_file_noop
configure:8646: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:8666: result: func_convert_file_noop
configure:8673: checking for /gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld option to reload object files
configure:8680: result: -r
configure:8754: checking for objdump
configure:8781: result: objdump
configure:8810: checking how to recognize dependent libraries
configure:9008: result: pass_all
configure:9093: checking for dlltool
configure:9120: result: dlltool
configure:9150: checking how to associate runtime and link libraries
configure:9177: result: printf %s\n
configure:9237: checking for ar
configure:9253: found /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/ar
configure:9264: result: ar
configure:9301: checking for archiver @FILE support
configure:9318: gcc -c -g -O2  conftest.c >&5
configure:9318: $? = 0
configure:9321: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
configure:9324: $? = 0
configure:9329: ar cru libconftest.a @conftest.lst >&5
ar: `u' modifier ignored since `D' is the default (see `U')
ar: conftest.o: No such file or directory
configure:9332: $? = 1
configure:9344: result: @
configure:9402: checking for strip
configure:9418: found /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/strip
configure:9429: result: strip
configure:9501: checking for ranlib
configure:9517: found /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/ranlib
configure:9528: result: ranlib
configure:9630: checking command to parse /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B output from gcc object
configure:9750: gcc -c -g -O2  conftest.c >&5
configure:9753: $? = 0
configure:9757: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:9760: $? = 0
configure:9826: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:9829: $? = 0
configure:9867: result: ok
configure:9904: checking for sysroot
configure:9934: result: no
configure:10011: gcc -c -g -O2  conftest.c >&5
configure:10014: $? = 0
configure:10203: checking for mt
configure:10233: result: no
configure:10253: checking if : is a manifest tool
configure:10259: : '-?'
configure:10267: result: no
configure:10906: checking for dlfcn.h
configure:10906: gcc -c -g -O2  conftest.c >&5
configure:10906: $? = 0
configure:10906: result: yes
configure:11089: checking for objdir
configure:11104: result: .libs
configure:11375: checking if gcc supports -fno-rtti -fno-exceptions
configure:11393: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:11397: $? = 0
configure:11410: result: no
configure:11737: checking for gcc option to produce PIC
configure:11744: result: -fPIC -DPIC
configure:11752: checking if gcc PIC flag -fPIC -DPIC works
configure:11770: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:11774: $? = 0
configure:11787: result: yes
configure:11816: checking if gcc static flag -static works
configure:11844: result: yes
configure:11859: checking if gcc supports -c -o file.o
configure:11880: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:11884: $? = 0
configure:11906: result: yes
configure:11914: checking if gcc supports -c -o file.o
configure:11961: result: yes
configure:11994: checking whether the gcc linker (/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64) supports shared libraries
configure:13151: result: yes
configure:13188: checking whether -lc should be explicitly linked in
configure:13196: gcc -c -g -O2  conftest.c >&5
configure:13199: $? = 0
configure:13214: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep  -lc  \>/dev/null 2\>\&1
configure:13217: $? = 0
configure:13231: result: no
configure:13391: checking dynamic linker characteristics
configure:13891: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:13891: $? = 0
configure:14125: result: GNU/Linux ld.so
configure:14232: checking how to hardcode library paths into programs
configure:14257: result: immediate
configure:14351: checking for shl_load
configure:14351: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/cc4RpGUF.o: In function `main':
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/conftest.c:75: undefined reference to `shl_load'
collect2: error: ld returned 1 exit status
configure:14351: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define shl_load innocuous_shl_load
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char shl_load (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef shl_load
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_shl_load || defined __stub___shl_load
| choke me
| #endif
| 
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:14351: result: no
configure:14355: checking for shl_load in -ldld
configure:14380: gcc -o conftest -g -O2   conftest.c -ldld   >&5
ld: cannot find -ldld
collect2: error: ld returned 1 exit status
configure:14380: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
|   ;
|   return 0;
| }
configure:14389: result: no
configure:14394: checking for dlopen
configure:14394: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/ccG6bXDH.o: In function `main':
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/conftest.c:75: undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
configure:14394: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dlopen innocuous_dlopen
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dlopen (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef dlopen
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dlopen || defined __stub___dlopen
| choke me
| #endif
| 
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:14394: result: no
configure:14398: checking for dlopen in -ldl
configure:14423: gcc -o conftest -g -O2   conftest.c -ldl   >&5
configure:14423: $? = 0
configure:14432: result: yes
configure:14551: checking whether a program can dlopen itself
configure:14631: gcc -o conftest -g -O2  -DHAVE_DLFCN_H  -Wl,--export-dynamic conftest.c -ldl  >&5
configure:14634: $? = 0
configure:14652: result: yes
configure:14657: checking whether a statically linked program can dlopen itself
configure:14737: gcc -o conftest -g -O2  -DHAVE_DLFCN_H  -Wl,--export-dynamic -static conftest.c -ldl  >&5
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/ccmvWh2X.o: In function `main':
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/configure:14716: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/gnu/store/n6nvxlk2j8ysffjh3jphn1k5silnakh6-glibc-2.25/lib/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
configure:14740: $? = 1
configure:14758: result: no
configure:14797: checking whether stripping libraries is possible
configure:14802: result: yes
configure:14837: checking if libtool supports shared libraries
configure:14839: result: yes
configure:14842: checking whether to build shared libraries
configure:14863: result: yes
configure:14866: checking whether to build static libraries
configure:14870: result: no
configure:14893: checking how to run the C++ preprocessor
configure:14920: g++ -E  conftest.cpp
configure:14920: $? = 0
configure:14934: g++ -E  conftest.cpp
conftest.cpp:41:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:14934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14959: result: g++ -E
configure:14979: g++ -E  conftest.cpp
configure:14979: $? = 0
configure:14993: g++ -E  conftest.cpp
conftest.cpp:41:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:14993: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15162: checking for ld used by g++
configure:15229: result: /gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64
configure:15236: checking if the linker (/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64) is GNU ld
configure:15251: result: yes
configure:15306: checking whether the g++ linker (/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64) supports shared libraries
configure:16308: result: yes
configure:16344: g++ -c -g -O2  conftest.cpp >&5
configure:16347: $? = 0
configure:16867: checking for g++ option to produce PIC
configure:16874: result: -fPIC -DPIC
configure:16882: checking if g++ PIC flag -fPIC -DPIC works
configure:16900: g++ -c -g -O2  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:16904: $? = 0
configure:16917: result: yes
configure:16940: checking if g++ static flag -static works
configure:16968: result: yes
configure:16980: checking if g++ supports -c -o file.o
configure:17001: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:17005: $? = 0
configure:17027: result: yes
configure:17032: checking if g++ supports -c -o file.o
configure:17079: result: yes
configure:17109: checking whether the g++ linker (/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64) supports shared libraries
configure:17148: result: yes
configure:17289: checking dynamic linker characteristics
configure:17957: result: GNU/Linux ld.so
configure:18010: checking how to hardcode library paths into programs
configure:18035: result: immediate
configure:18099: checking for library containing strerror
configure:18130: gcc -o conftest -g -O2   conftest.c  >&5
configure:18130: $? = 0
configure:18147: result: none required
configure:18155: checking whether byte ordering is bigendian
configure:18170: gcc -c -g -O2  conftest.c >&5
conftest.c:42:9: error: unknown type name 'not'
         not a universal capable compiler
         ^
conftest.c:42:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^
conftest.c:42:15: error: unknown type name 'universal'
configure:18170: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:18215: gcc -c -g -O2  conftest.c >&5
configure:18215: $? = 0
configure:18233: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:48:4: error: unknown type name 'not'
    not big endian
    ^
conftest.c:48:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^
configure:18233: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:18361: result: no
configure:18379: checking whether make sets $(MAKE)
configure:18405: result: no
configure:18410: checking whether ln -s works
configure:18414: result: yes
configure:18421: checking for ANSI C header files
configure:18525: result: yes
configure:18537: checking limits.h usability
configure:18537: gcc -c -g -O2  conftest.c >&5
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking limits.h presence
configure:18537: gcc -E  conftest.c
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking for limits.h
configure:18537: result: yes
configure:18537: checking sys/time.h usability
configure:18537: gcc -c -g -O2  conftest.c >&5
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking sys/time.h presence
configure:18537: gcc -E  conftest.c
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking for sys/time.h
configure:18537: result: yes
configure:18537: checking sys/times.h usability
configure:18537: gcc -c -g -O2  conftest.c >&5
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking sys/times.h presence
configure:18537: gcc -E  conftest.c
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking for sys/times.h
configure:18537: result: yes
configure:18537: checking sys/wait.h usability
configure:18537: gcc -c -g -O2  conftest.c >&5
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking sys/wait.h presence
configure:18537: gcc -E  conftest.c
configure:18537: $? = 0
configure:18537: result: yes
configure:18537: checking for sys/wait.h
configure:18537: result: yes
configure:18537: checking pow.h usability
configure:18537: gcc -c -g -O2  conftest.c >&5
conftest.c:79:17: fatal error: pow.h: No such file or directory
compilation terminated.
configure:18537: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <pow.h>
configure:18537: result: no
configure:18537: checking pow.h presence
configure:18537: gcc -E  conftest.c
conftest.c:46:17: fatal error: pow.h: No such file or directory
compilation terminated.
configure:18537: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| /* end confdefs.h.  */
| #include <pow.h>
configure:18537: result: no
configure:18537: checking for pow.h
configure:18537: result: no
configure:18554: checking for stpcpy
configure:18554: gcc -o conftest    conftest.c  >&5
conftest.c:69:6: warning: conflicting types for built-in function 'stpcpy'
 char stpcpy ();
      ^
configure:18554: $? = 0
configure:18554: result: yes
configure:18554: checking for memcpy
configure:18554: gcc -o conftest    conftest.c  >&5
conftest.c:70:6: warning: conflicting types for built-in function 'memcpy'
 char memcpy ();
      ^
configure:18554: $? = 0
configure:18554: result: yes
configure:18554: checking for timegm
configure:18554: gcc -o conftest    conftest.c  >&5
configure:18554: $? = 0
configure:18554: result: yes
configure:18554: checking for towupper
configure:18554: gcc -o conftest    conftest.c  >&5
conftest.c:72:6: warning: conflicting types for built-in function 'towupper'
 char towupper ();
      ^
configure:18554: $? = 0
configure:18554: result: yes
configure:18565: checking for setenv
configure:18565: gcc -o conftest    conftest.c  >&5
configure:18565: $? = 0
configure:18565: result: yes
configure:18595: checking for the tm_gmtoff member of struct tm
configure:18616: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:53:0: warning: "_GNU_SOURCE" redefined
         #define _GNU_SOURCE
 ^
conftest.c:22:0: note: this is the location of the previous definition
 #define _GNU_SOURCE 1
 ^
conftest.c:54:0: warning: "__EXTENSIONS__" redefined
         #define __EXTENSIONS__
 ^
conftest.c:20:0: note: this is the location of the previous definition
 #define __EXTENSIONS__ 1
 ^
configure:18616: $? = 0
configure:18625: result: yes
configure:18636: checking if scanf supports %lld conversions
configure:18676: gcc -o conftest -g -O2 -Wall -Werror   conftest.c  >&5
configure:18676: $? = 0
configure:18676: ./conftest
configure:18676: $? = 0
configure:18686: result: yes
configure:18823: checking if building from an scm managed directory
configure:18845: result: no
configure:18852: checking for ./src/swig-runtime.h
configure:18866: result: yes
configure:18883: checking for ./src/core-utils/gnc-vcs-info.h
configure:18897: result: yes
configure:18956: checking for /proc/self/maps
configure:18969: result: yes
configure:18975: checking whether everything is installed to the same prefix
configure:18993: result: yes
configure:18996: checking whether binary relocation support should be enabled
configure:19014: result: yes
configure:19023: checking for pthread_getspecific in -lpthread
configure:19048: gcc -o conftest -g -O2   conftest.c -lpthread   >&5
configure:19048: $? = 0
configure:19057: result: yes
configure:19070: checking whether binary relocation should use threads
configure:19085: result: yes
configure:19166: checking for glib-2.0 >= 2.38 gio-2.0 >= 2.25 gthread-2.0 gobject-2.0 gmodule-2.0
configure:19170: result: yes
configure:19174: checking GLIB_CFLAGS
configure:19177: result: -pthread -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/include/glib-2.0 -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib/glib-2.0/include
configure:19180: checking GLIB_LIBS
configure:19183: result: -L/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib -lgio-2.0 -lgthread-2.0 -pthread -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
configure:19534: checking dirent.h usability
configure:19534: gcc -c -g -O2  conftest.c >&5
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking dirent.h presence
configure:19534: gcc -E  conftest.c
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking for dirent.h
configure:19534: result: yes
configure:19534: checking for dlfcn.h
configure:19534: result: yes
configure:19534: checking dl.h usability
configure:19534: gcc -c -g -O2  conftest.c >&5
conftest.c:94:16: fatal error: dl.h: No such file or directory
compilation terminated.
configure:19534: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <dl.h>
configure:19534: result: no
configure:19534: checking dl.h presence
configure:19534: gcc -E  conftest.c
conftest.c:61:16: fatal error: dl.h: No such file or directory
compilation terminated.
configure:19534: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <dl.h>
configure:19534: result: no
configure:19534: checking for dl.h
configure:19534: result: no
configure:19534: checking utmp.h usability
configure:19534: gcc -c -g -O2  conftest.c >&5
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking utmp.h presence
configure:19534: gcc -E  conftest.c
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking for utmp.h
configure:19534: result: yes
configure:19534: checking for locale.h
configure:19534: result: yes
configure:19534: checking mcheck.h usability
configure:19534: gcc -c -g -O2  conftest.c >&5
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking mcheck.h presence
configure:19534: gcc -E  conftest.c
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking for mcheck.h
configure:19534: result: yes
configure:19534: checking for unistd.h
configure:19534: result: yes
configure:19534: checking wctype.h usability
configure:19534: gcc -c -g -O2  conftest.c >&5
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking wctype.h presence
configure:19534: gcc -E  conftest.c
configure:19534: $? = 0
configure:19534: result: yes
configure:19534: checking for wctype.h
configure:19534: result: yes
configure:19611: checking for pkg-config
configure:19641: result: /gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin/pkg-config
configure:19666: checking pkg-config is at least version 0.16
configure:19669: result: yes
configure:19780: checking if unsigned long is at least as big as guint32
configure:19801: gcc -o conftest -g -O2 -pthread -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/include/glib-2.0 -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib/glib-2.0/include   -L/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib -lgio-2.0 -lgthread-2.0 -pthread -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 conftest.c -lpthread  >&5
configure:19801: $? = 0
configure:19801: ./conftest
configure:19801: $? = 0
configure:19803: result: yes
configure:19827: checking for dlsym
configure:19827: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/ccjhgIqU.o: In function `main':
/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/conftest.c:100: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
configure:19827: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| /* end confdefs.h.  */
| /* Define dlsym to an innocuous variant, in case <limits.h> declares dlsym.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dlsym innocuous_dlsym
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dlsym (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef dlsym
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlsym ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dlsym || defined __stub___dlsym
| choke me
| #endif
| 
| int
| main ()
| {
| return dlsym ();
|   ;
|   return 0;
| }
configure:19827: result: no
configure:19835: checking for dlsym in -ldl
configure:19860: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl  -lpthread  >&5
configure:19860: $? = 0
configure:19869: result: yes
configure:19941: checking for dlerror
configure:19941: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  -ldl >&5
configure:19941: $? = 0
configure:19941: result: yes
configure:19961: checking operating system
configure:20343: result: linux/other
configure:20410: checking X11/Xlib.h usability
configure:20410: gcc -c -g -O2 -std=gnu99  conftest.c >&5
configure:20410: $? = 0
configure:20410: result: yes
configure:20410: checking X11/Xlib.h presence
configure:20410: gcc -E  conftest.c
configure:20410: $? = 0
configure:20410: result: yes
configure:20410: checking for X11/Xlib.h
configure:20410: result: yes
configure:20410: checking glob.h usability
configure:20410: gcc -c -g -O2 -std=gnu99  conftest.c >&5
configure:20410: $? = 0
configure:20410: result: yes
configure:20410: checking glob.h presence
configure:20410: gcc -E  conftest.c
configure:20410: $? = 0
configure:20410: result: yes
configure:20410: checking for glob.h
configure:20410: result: yes
configure:20432: checking for chown
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20432: checking for gethostname
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20432: checking for getppid
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20432: checking for getuid
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20432: checking for gettimeofday
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20432: checking for gmtime_r
configure:20432: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20432: $? = 0
configure:20432: result: yes
configure:20444: checking for gethostid
configure:20444: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20444: $? = 0
configure:20444: result: yes
configure:20444: checking for link
configure:20444: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lpthread  >&5
configure:20444: $? = 0
configure:20444: result: yes
configure:20770: checking for guile-2.0 >= 2.0.0
configure:20774: result: yes
configure:20778: checking GUILE_CFLAGS
configure:20781: result: -pthread -I/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/include/guile/2.0
configure:20784: checking GUILE_LIBS
configure:20787: result: -L/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/lib -L/gnu/store/9blidf28xz0a0glnv6a4xcw6nxadg427-libgc-7.6.0/lib -lguile-2.0 -lgc
configure:20812: checking for guild
configure:20830: found /gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin/guild
configure:20842: result: /gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin/guild
configure:20982: checking ltdl.h usability
configure:20982: gcc -c -g -O2 -std=gnu99  conftest.c >&5
configure:20982: $? = 0
configure:20982: result: yes
configure:20982: checking ltdl.h presence
configure:20982: gcc -E  conftest.c
configure:20982: $? = 0
configure:20982: result: yes
configure:20982: checking for ltdl.h
configure:20982: result: yes
configure:21360: checking for libxml-2.0 >= 2.5.10
configure:21364: result: yes
configure:21368: checking LIBXML2_CFLAGS
configure:21371: result: -I/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/include/libxml2
configure:21374: checking LIBXML2_LIBS
configure:21377: result: -L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -lxml2
configure:21411: checking for xmlElemDump in -lxml2
configure:21436: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lxml2  -lpthread  -L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -lxml2 >&5
configure:21436: $? = 0
configure:21445: result: yes
configure:21515: checking for libxslt
configure:21519: result: yes
configure:21523: checking LIBXSLT_CFLAGS
configure:21526: result: -I/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/include/libxml2
configure:21529: checking LIBXSLT_LIBS
configure:21532: result: -L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -L/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/lib -L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -lxslt -lxml2 -lz -llzma -lm -ldl -lm -lxml2
configure:21566: checking for xsltproc
configure:21584: found /gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/bin/xsltproc
configure:21597: result: /gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/bin/xsltproc
configure:21618: checking for gzopen in -lz
configure:21643: gcc -o conftest -g -O2 -std=gnu99   conftest.c -lz  -lpthread  -lz >&5
configure:21643: $? = 0
configure:21652: result: yes
configure:21694: checking dbi/dbi.h usability
configure:21694: gcc -c -g -O2 -std=gnu99  conftest.c >&5
configure:21694: $? = 0
configure:21694: result: yes
configure:21694: checking dbi/dbi.h presence
configure:21694: gcc -E  conftest.c
configure:21694: $? = 0
configure:21694: result: yes
configure:21694: checking for dbi/dbi.h
configure:21694: result: yes
configure:21739: Search Path :/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd
configure:21741: checking Looking for at least one supported DBD module
configure:21761: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl -lpthread  >&5
configure:21761: $? = 0
configure:21761: ./conftest
configure:21761: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_DLERROR 1
| #define HAVE_X11_XLIB_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_CHOWN 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPPID 1
| #define HAVE_GETUID 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETHOSTID 1
| #define HAVE_LINK 1
| #define HAVE_LTDL_H 1
| #define HAVE_DBI_DBI_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
| int
| main ()
| {
| if (!dlopen("libdbdsqlite3.so", RTLD_NOW)) return -1;
| 
|   ;
|   return 0;
| }
configure:21783: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl -lpthread  >&5
configure:21783: $? = 0
configure:21783: ./conftest
configure:21783: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_DLERROR 1
| #define HAVE_X11_XLIB_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_CHOWN 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPPID 1
| #define HAVE_GETUID 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETHOSTID 1
| #define HAVE_LINK 1
| #define HAVE_LTDL_H 1
| #define HAVE_DBI_DBI_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
| int
| main ()
| {
| if (!dlopen("libdbdmysql.so", RTLD_NOW)) return -1;
| 
|   ;
|   return 0;
| }
configure:21805: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl -lpthread  >&5
configure:21805: $? = 0
configure:21805: ./conftest
configure:21805: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_DLERROR 1
| #define HAVE_X11_XLIB_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_CHOWN 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPPID 1
| #define HAVE_GETUID 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETHOSTID 1
| #define HAVE_LINK 1
| #define HAVE_LTDL_H 1
| #define HAVE_DBI_DBI_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
| int
| main ()
| {
| if (!dlopen("libdbdpgsql.so", RTLD_NOW)) return -1;
| 
|   ;
|   return 0;
| }
configure:21809: error: 
Unable to find any of the supported dbd modules
(libdbdsqlite3, libdbdmysql, or libdbdpgsql) needed to actually use the SQL
backend.

If you do have them installed the problem is either that dlopen cannot
find them or that dlopen itself is not getting linked. Check config.log
to find out which.  You can add the option --with-dbi-dbd-dir pointing to
the directory in which they are located.

If you do not actually want to build with libdi add --disable-dbi
to the configure argument list and run it again.
       

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_CLANG=no
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/gnu/store/g3nari57wcfnm00kv9bnpyzdzfq4h8pk-xz-5.2.2/lib/pkgconfig:/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/lib/pkgconfig:/gnu/store/0s5manjvfa0gmsv2r71rchky7ab70g1d-icu4c-58.2/lib/pkgconfig:/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib/pkgconfig:/gnu/store/h751h6b615w9v6r1amyhxvqqi98kimrs-gtk+-2.24.31/lib/pkgconfig:/gnu/store/adzrkjsnm62nl5bvr3sz2dgqkivm0iqj-goffice-0.8.17/lib/pkgconfig:/gnu/store/441fmbrnr0y89p4hhpxz13nxwl84x2s1-libgnomecanvas-2.30.3/lib/pkgconfig:/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib/pkgconfig:/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/lib/pkgconfig:/gnu/store/4m56kyrmmh0nm9240gh5066g5bgxdbww-webkitgtk-gtk2-2.4.11/lib/pkgconfig:/gnu/store/7bjgbgr0ic04vk0bazgk9pnb9r74lpkp-aqbanking-5.6.12/lib/pkgconfig:/gnu/store/mpl9b9w60gjzsq470zka5l8p2bmy7r8v-sqlite-3.19.3/lib/pkgconfig:/gnu/store/i309j2hzbws7c3ijhaqbyng0df5mh3v8-libdbi-0.9.0/lib/pkgconfig:/gnu/store/an52j0jrvd23qypbidd5f20k2wi75vh9-pcre-8.40/lib/pkgconfig:/gnu/store/9blidf28xz0a0glnv6a4xcw6nxadg427-libgc-7.6.0/lib/pkgconfig:/gnu/store/4b9y9f5fvghk2vmwpbgzncal7z3r4n5y-pango-1.40.12/lib/pkgconfig:/gnu/store/m5mpr30kyv4mm1nrzkbcwzbjskhrxsdf-gdk-pixbuf+svg-2.36.10/lib/pkgconfig:/gnu/store/nniszqyslmgllha2cyi9g3pfsmm6sg16-atk-2.24.0/lib/pkgconfig:/gnu/store/d4acqgygw3bcjhbghrf5ajyxzra65r4j-libgsf-1.14.41/lib/pkgconfig:/gnu/store/3ixm7gmjn14igyps5mrhlhgy5nyzhqyq-libart-lgpl-2.3.21/lib/pkgconfig:/gnu/store/sfx1wh27i6gsrk21p87rdyikc64v7d51-zlib-1.2.11/lib/pkgconfig:/gnu/store/k0zn6pmqnq4865rwf82gvdv8mp2scgrg-libsoup-2.60.2/lib/pkgconfig:/gnu/store/nyckn50q8klbhcmvpd329lzd1yv94z8v-gwenhywfar-4.15.3/lib/pkgconfig:/gnu/store/3k1y78v6nxjvmivnri5j46wai6ppvyz0-harfbuzz-1.5.1/lib/pkgconfig:/gnu/store/c4vl4hw5jccg0b23sfvs0kdnfdbxdlgm-cairo-1.14.10/lib/pkgconfig:/gnu/store/jz1b4asy3pldfvv3pdgalcv90w79brs4-shared-mime-info-1.8/share/pkgconfig:/gnu/store/b9ww6qv1ii9v6n45kin7543vkf6jfnd3-libpng-1.6.29/lib/pkgconfig:/gnu/store/6srq8zd7fxlcm4ry9q2scdkvxy7l9wgg-gdk-pixbuf-2.36.10/lib/pkgconfig:/gnu/store/p5hrrimz30kfp56rah7qn4ymshyg78mq-graphite2-1.3.10/lib/pkgconfig:/gnu/store/w8kii3hjvmh50yxs52gkdywkq9jc7s19-pixman-0.34.0/lib/pkgconfig:/gnu/store/kgy00x8jl7q965sngq1yyihbczxj15wk-libxrender-0.9.10/lib/pkgconfig:/gnu/store/jz7wvy930liqjvm95lhdv9i1dr1xxvxp-libxext-1.3.3/lib/pkgconfig:/gnu/store/np05q8mf1y9y4bk5y4ssj99m0dss2b1q-libx11-1.6.5/lib/pkgconfig:/gnu/store/1jp44pfmqcj3zycclvmmva3xcwinyg7l-freetype-2.8/lib/pkgconfig:/gnu/store/nw400gfan3mxvjfwvy1q72s1ybmdscsk-fontconfig-2.12.3/lib/pkgconfig:/gnu/store/whsbky21nkkc0zl41r31xrwvij1fksr4-renderproto-0.11.1/lib/pkgconfig:/gnu/store/5avga6vm5n26wfirw7q3ivd3c8p1yx70-xextproto-7.3.0/lib/pkgconfig:/gnu/store/clrddh6a60b31anv7a9hrk3i9id0k5zs-libxcb-1.12/lib/pkgconfig:/gnu/store/xh3d0r8zc46fh9pjayxkwgklk1d175xb-kbproto-1.0.7/lib/pkgconfig:/gnu/store/wdlhrg370gm42s7ggyhnvnb4xrzpls1x-expat-2.2.1/lib/pkgconfig:/gnu/store/1xc97akbdcisrid2n8djpkn09f8bkl5f-libxdmcp-1.1.2/lib/pkgconfig:/gnu/store/xv8bp0zxbr9iphr38wy0ll4lzkbh9i87-libxau-1.0.8/lib/pkgconfig:/gnu/store/39q7jaky8dalbyjmckpswwfkwckfgi40-libpthread-stubs-0.4/lib/pkgconfig:/gnu/store/0np5m3mra5940awvq711bwkhnhwf1cny-xproto-7.0.31/lib/pkgconfig:/gnu/store/7792axzccdwyajxq9vavyvph7mljs8yc-util-macros-1.19.1/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PYTHON_VERSION_set=
ac_cv_env_PYTHON_VERSION_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file___src_core_utils_gnc_vcs_info_h=yes
ac_cv_file___src_swig_runtime_h=yes
ac_cv_file__proc_self_maps=yes
ac_cv_func_bind_textdomain_codeset=yes
ac_cv_func_chown=yes
ac_cv_func_dcgettext=yes
ac_cv_func_dlerror=yes
ac_cv_func_dlopen=no
ac_cv_func_dlsym=no
ac_cv_func_gethostid=yes
ac_cv_func_gethostname=yes
ac_cv_func_getppid=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_getuid=yes
ac_cv_func_gmtime_r=yes
ac_cv_func_link=yes
ac_cv_func_memcpy=yes
ac_cv_func_setenv=yes
ac_cv_func_shl_load=no
ac_cv_func_stpcpy=yes
ac_cv_func_timegm=yes
ac_cv_func_towupper=yes
ac_cv_header_X11_Xlib_h=yes
ac_cv_header_dbi_dbi_h=yes
ac_cv_header_dirent_h=yes
ac_cv_header_dl_h=no
ac_cv_header_dlfcn_h=yes
ac_cv_header_glob_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libintl_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_ltdl_h=yes
ac_cv_header_mcheck_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_pow_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utmp_h=yes
ac_cv_header_wctype_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dl_dlsym=yes
ac_cv_lib_dld_shl_load=no
ac_cv_lib_pthread_pthread_getspecific=yes
ac_cv_lib_xml2_xmlElemDump=yes
ac_cv_lib_z_gzopen=yes
ac_cv_objext=o
ac_cv_path_EGREP='/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -E'
ac_cv_path_FGREP='/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -F'
ac_cv_path_GMSGFMT=/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
ac_cv_path_GREP=/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep
ac_cv_path_GUILD=/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin/guild
ac_cv_path_INTLTOOL_EXTRACT=/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-extract
ac_cv_path_INTLTOOL_MERGE=/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-merge
ac_cv_path_INTLTOOL_PERL=/gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/bin/perl
ac_cv_path_INTLTOOL_UPDATE=/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-update
ac_cv_path_MSGFMT=/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt
ac_cv_path_MSGMERGE=/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgmerge
ac_cv_path_SED=/gnu/store/7v8369lgnqvpphcw06hg59hb8hxmkr8x-sed-4.4/bin/sed
ac_cv_path_XGETTEXT=/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/xgettext
ac_cv_path_XSLTPROC=/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/bin/xsltproc
ac_cv_path_ac_pt_PKG_CONFIG=/gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin/pkg-config
ac_cv_path_install='/gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin/install -c'
ac_cv_path_mkdir=/gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_DLLTOOL=dlltool
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=no
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_strerror='none required'
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_scanf_lld=yes
am_cv_struct_tm_gmtoff=yes
am_cv_val_LC_MESSAGES=yes
br_cv_binreloc=yes
br_cv_binreloc_threads=yes
br_cv_valid_prefixes=yes
gt_cv_func_dgettext_libc=yes
gt_cv_func_dgettext_libintl=no
gt_cv_func_ngettext_libc=yes
gt_cv_have_gettext=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_dlopen=dlopen
lt_cv_dlopen_libs=-ldl
lt_cv_dlopen_self=yes
lt_cv_dlopen_self_static=no
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld
lt_cv_path_LDCXX='/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64'
lt_cv_path_NM='/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##










		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
	$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
	$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
	@$(NORMAL_INSTALL)
	@$(NORMAL_UNINSTALL)
	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
	fi
	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
	if test -n "$^"; then \
	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
	test -n "$$files" || exit 0; \
	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
.SECONDARY: $(gsettings_SCHEMAS)
ACLOCAL='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/missing aclocal-1.14'
ALL_LINGUAS='az ca cs da eu fa ja nl rw sk sr sv tr uk zh_CN ar bg de el en_GB es fi fr gu he hi hu it kn ko lt lv mr nb ne pl pt pt_BR ro ru ta te ur vi zh_TW  as brx doi es_NI kok kok@latin ks mai mni mni@bengali'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AQBANKING_CFLAGS=''
AQBANKING_LIBS=''
AR='ar'
AS='as'
AUTOCONF='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/missing autoconf'
AUTOHEADER='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/missing autoheader'
AUTOMAKE='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/missing automake-1.14'
AWK='gawk'
AX_SWIG_PYTHON_CPPFLAGS=''
AX_SWIG_PYTHON_OPT=''
BINRELOC_CFLAGS='-DENABLE_BINRELOC'
BINRELOC_LIBS='-lpthread'
BUILDING_FROM_VCS_FALSE=''
BUILDING_FROM_VCS_TRUE='#'
CATALOGS=' az.gmo ca.gmo cs.gmo da.gmo eu.gmo fa.gmo ja.gmo nl.gmo rw.gmo sk.gmo sr.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo ar.gmo bg.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo gu.gmo he.gmo hi.gmo hu.gmo it.gmo kn.gmo ko.gmo lt.gmo lv.gmo mr.gmo nb.gmo ne.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo ta.gmo te.gmo ur.gmo vi.gmo zh_TW.gmo as.gmo brx.gmo doi.gmo es_NI.gmo kok.gmo kok@latin.gmo ks.gmo mai.gmo mni.gmo mni@bengali.gmo'
CATOBJEXT='.gmo'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -std=gnu99'
CLANG_FALSE=''
CLANG_TRUE='#'
CPP='gcc -E'
CPPFLAGS=''
CUSTOM_GNC_DBD_DIR_FALSE=''
CUSTOM_GNC_DBD_DIR_TRUE=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DATADIRNAME='share'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
DL_LIB='-ldl'
DOC_FALSE=''
DOC_TRUE=''
DOT=''
DOXYGEN=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EFENCE_LIBS=''
EGREP='/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -E'
ENABLE_DOXYGEN_FALSE=''
ENABLE_DOXYGEN_TRUE=''
EXEEXT=''
FGREP='/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep -F'
GDK_PIXBUF_CFLAGS=''
GDK_PIXBUF_LIBS=''
GETTEXT_PACKAGE='gnucash'
GIT_CMD=''
GLIB_CFLAGS='-pthread -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/include/glib-2.0 -I/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib/glib-2.0/include'
GLIB_COMPILE_SCHEMAS='glib-compile-schemas'
GLIB_LIBS='-L/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib -lgio-2.0 -lgthread-2.0 -pthread -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0'
GMOFILES=' az.gmo ca.gmo cs.gmo da.gmo eu.gmo fa.gmo ja.gmo nl.gmo rw.gmo sk.gmo sr.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo ar.gmo bg.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo gu.gmo he.gmo hi.gmo hu.gmo it.gmo kn.gmo ko.gmo lt.gmo lv.gmo mr.gmo nb.gmo ne.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo ta.gmo te.gmo ur.gmo vi.gmo zh_TW.gmo as.gmo brx.gmo doi.gmo es_NI.gmo kok.gmo kok@latin.gmo ks.gmo mai.gmo mni.gmo mni@bengali.gmo'
GMSGFMT='/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt'
GNC_ACCOUNTS_DIR=''
GNC_CHECKS_DIR=''
GNC_CONFIGDIR=''
GNC_CTAGS_FILE=''
GNC_CTAGS_FILE_FALSE=''
GNC_CTAGS_FILE_TRUE=''
GNC_DBD_DIR='/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd'
GNC_DOC_INSTALL_DIR=''
GNC_ETAGS_FILE=''
GNC_ETAGS_FILE_FALSE=''
GNC_ETAGS_FILE_TRUE=''
GNC_GTKBUILDER_DIR=''
GNC_HAVE_GUILE_2_FALSE='#'
GNC_HAVE_GUILE_2_TRUE=''
GNC_HELPDIR=''
GNC_INCLUDE_DIR=''
GNC_LIBEXECDIR=''
GNC_PIXMAP_DIR=''
GNC_SCM_INSTALL_DIR=''
GNC_SHAREDIR=''
GNC_SYSTEM_XDG_DATA_DIRS=''
GNC_UI_DIR=''
GNOMECANVAS_CFLAGS=''
GNOMECANVAS_LIBS=''
GNOME_KEYRING_CFLAGS=''
GNOME_KEYRING_LIBS=''
GNUCASH_ENABLE_GUI_FALSE=''
GNUCASH_ENABLE_GUI_TRUE=''
GNUCASH_LATEST_STABLE_SERIES='2.6'
GNUCASH_MAJOR_VERSION='2'
GNUCASH_MICRO_VERSION='16'
GNUCASH_MINOR_VERSION='6'
GNUCASH_NANO_VERSION='0'
GNUCASH_SEPARATE_BUILDDIR_FALSE=''
GNUCASH_SEPARATE_BUILDDIR_TRUE='#'
GOFFICE_CFLAGS=''
GOFFICE_LIBS=''
GREP='/gnu/store/sngyhm974sbmljknwb1xrni1ggzhpm4d-grep-3.0/bin/grep'
GSETTINGS_DISABLE_SCHEMAS_COMPILE=''
GSETTINGS_RULES='
GTKMM_CFLAGS=''
GTKMM_LIBS=''
GTK_CFLAGS=''
GTK_LIBS=''
GTK_MAC_CFLAGS=''
GTK_MAC_LIBS=''
GUILD='/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/bin/guild'
GUILE='/tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/gnc-guile'
GUILE_CFLAGS='-pthread -I/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/include/guile/2.0'
GUILE_EFFECTIVE_VERSION='2.0'
GUILE_LIBS='-L/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/lib -L/gnu/store/9blidf28xz0a0glnv6a4xcw6nxadg427-libgc-7.6.0/lib -lguile-2.0 -lgc'
GWENGUI_GTK2_CFLAGS=''
GWENGUI_GTK2_LIBS=''
HAVE_X11_XLIB_H_FALSE='#'
HAVE_X11_XLIB_H_TRUE=''
HTMLHELP_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT='.mo'
INTLLIBS=''
INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_EXTRACT='/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-extract'
INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_MERGE='/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-merge'
INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
INTLTOOL_PERL='/gnu/store/bzn4wyrbdmfc1bd7lq05db5psfl5f8x8-perl-5.26.0/bin/perl'
INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_UPDATE='/gnu/store/rxj0mf7gpqfmdfvfn5m9fz7261wvpqyk-intltool-0.51.0/bin/intltool-update'
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
LC_MESSAGES_ENUM=''
LD='/gnu/store/qk79ck8gy1zppi4mbw4zw2y4z326wa4i-ld-wrapper-0/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBDBI_LIBS=''
LIBOBJS=''
LIBOBJS_SEDSCRIPT=''
LIBOFX_CFLAGS=''
LIBOFX_LIBS=''
LIBQOF_LIBRARY_VERSION='1:4:0'
LIBS='-ldl -lpthread '
LIBSECRET_CFLAGS=''
LIBSECRET_LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBTOOL_DEPS='./ltmain.sh'
LIBXML2_CFLAGS='-I/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/include/libxml2'
LIBXML2_LIBS='-L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -lxml2'
LIBXSLT_CFLAGS='-I/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/include/libxml2'
LIBXSLT_LIBS='-L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -L/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/lib -L/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib -lxslt -lxml2 -lz -llzma -lm -ldl -lm -lxml2'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/gnu/store/42d5rjrdkln6nwvzwdc8dyd4w6iy3n5j-coreutils-8.27/bin/mkdir -p'
MKINSTALLDIRS='./mkinstalldirs'
MSGFMT='/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgfmt'
MSGFMT_OPTS='-c'
MSGMERGE='/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/msgmerge'
NM='/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
OTOOL64=''
OTOOL=''
PACKAGE='gnucash'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash'
PACKAGE_NAME='GnuCash'
PACKAGE_STRING='GnuCash 2.6.16'
PACKAGE_TARNAME='gnucash'
PACKAGE_URL='http://www.gnucash.org/'
PACKAGE_VERSION='2.6.16'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG='/gnu/store/ryqd73alrlq5djsr18xjjihi735592im-pkg-config-0.29.2/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/gnu/store/g3nari57wcfnm00kv9bnpyzdzfq4h8pk-xz-5.2.2/lib/pkgconfig:/gnu/store/4awdim3wf62nq9qjw3hl6bacgjh9fzyv-guile-2.0.14/lib/pkgconfig:/gnu/store/0s5manjvfa0gmsv2r71rchky7ab70g1d-icu4c-58.2/lib/pkgconfig:/gnu/store/azbfh3i72lbaqvhgg5m7p6ymmqq0ii6q-glib-2.52.3/lib/pkgconfig:/gnu/store/h751h6b615w9v6r1amyhxvqqi98kimrs-gtk+-2.24.31/lib/pkgconfig:/gnu/store/adzrkjsnm62nl5bvr3sz2dgqkivm0iqj-goffice-0.8.17/lib/pkgconfig:/gnu/store/441fmbrnr0y89p4hhpxz13nxwl84x2s1-libgnomecanvas-2.30.3/lib/pkgconfig:/gnu/store/kwzs8k97qy7avxxldnzavlii9zphh3d6-libxml2-2.9.4/lib/pkgconfig:/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/lib/pkgconfig:/gnu/store/4m56kyrmmh0nm9240gh5066g5bgxdbww-webkitgtk-gtk2-2.4.11/lib/pkgconfig:/gnu/store/7bjgbgr0ic04vk0bazgk9pnb9r74lpkp-aqbanking-5.6.12/lib/pkgconfig:/gnu/store/mpl9b9w60gjzsq470zka5l8p2bmy7r8v-sqlite-3.19.3/lib/pkgconfig:/gnu/store/i309j2hzbws7c3ijhaqbyng0df5mh3v8-libdbi-0.9.0/lib/pkgconfig:/gnu/store/an52j0jrvd23qypbidd5f20k2wi75vh9-pcre-8.40/lib/pkgconfig:/gnu/store/9blidf28xz0a0glnv6a4xcw6nxadg427-libgc-7.6.0/lib/pkgconfig:/gnu/store/4b9y9f5fvghk2vmwpbgzncal7z3r4n5y-pango-1.40.12/lib/pkgconfig:/gnu/store/m5mpr30kyv4mm1nrzkbcwzbjskhrxsdf-gdk-pixbuf+svg-2.36.10/lib/pkgconfig:/gnu/store/nniszqyslmgllha2cyi9g3pfsmm6sg16-atk-2.24.0/lib/pkgconfig:/gnu/store/d4acqgygw3bcjhbghrf5ajyxzra65r4j-libgsf-1.14.41/lib/pkgconfig:/gnu/store/3ixm7gmjn14igyps5mrhlhgy5nyzhqyq-libart-lgpl-2.3.21/lib/pkgconfig:/gnu/store/sfx1wh27i6gsrk21p87rdyikc64v7d51-zlib-1.2.11/lib/pkgconfig:/gnu/store/k0zn6pmqnq4865rwf82gvdv8mp2scgrg-libsoup-2.60.2/lib/pkgconfig:/gnu/store/nyckn50q8klbhcmvpd329lzd1yv94z8v-gwenhywfar-4.15.3/lib/pkgconfig:/gnu/store/3k1y78v6nxjvmivnri5j46wai6ppvyz0-harfbuzz-1.5.1/lib/pkgconfig:/gnu/store/c4vl4hw5jccg0b23sfvs0kdnfdbxdlgm-cairo-1.14.10/lib/pkgconfig:/gnu/store/jz1b4asy3pldfvv3pdgalcv90w79brs4-shared-mime-info-1.8/share/pkgconfig:/gnu/store/b9ww6qv1ii9v6n45kin7543vkf6jfnd3-libpng-1.6.29/lib/pkgconfig:/gnu/store/6srq8zd7fxlcm4ry9q2scdkvxy7l9wgg-gdk-pixbuf-2.36.10/lib/pkgconfig:/gnu/store/p5hrrimz30kfp56rah7qn4ymshyg78mq-graphite2-1.3.10/lib/pkgconfig:/gnu/store/w8kii3hjvmh50yxs52gkdywkq9jc7s19-pixman-0.34.0/lib/pkgconfig:/gnu/store/kgy00x8jl7q965sngq1yyihbczxj15wk-libxrender-0.9.10/lib/pkgconfig:/gnu/store/jz7wvy930liqjvm95lhdv9i1dr1xxvxp-libxext-1.3.3/lib/pkgconfig:/gnu/store/np05q8mf1y9y4bk5y4ssj99m0dss2b1q-libx11-1.6.5/lib/pkgconfig:/gnu/store/1jp44pfmqcj3zycclvmmva3xcwinyg7l-freetype-2.8/lib/pkgconfig:/gnu/store/nw400gfan3mxvjfwvy1q72s1ybmdscsk-fontconfig-2.12.3/lib/pkgconfig:/gnu/store/whsbky21nkkc0zl41r31xrwvij1fksr4-renderproto-0.11.1/lib/pkgconfig:/gnu/store/5avga6vm5n26wfirw7q3ivd3c8p1yx70-xextproto-7.3.0/lib/pkgconfig:/gnu/store/clrddh6a60b31anv7a9hrk3i9id0k5zs-libxcb-1.12/lib/pkgconfig:/gnu/store/xh3d0r8zc46fh9pjayxkwgklk1d175xb-kbproto-1.0.7/lib/pkgconfig:/gnu/store/wdlhrg370gm42s7ggyhnvnb4xrzpls1x-expat-2.2.1/lib/pkgconfig:/gnu/store/1xc97akbdcisrid2n8djpkn09f8bkl5f-libxdmcp-1.1.2/lib/pkgconfig:/gnu/store/xv8bp0zxbr9iphr38wy0ll4lzkbh9i87-libxau-1.0.8/lib/pkgconfig:/gnu/store/39q7jaky8dalbyjmckpswwfkwckfgi40-libpthread-stubs-0.4/lib/pkgconfig:/gnu/store/0np5m3mra5940awvq711bwkhnhwf1cny-xproto-7.0.31/lib/pkgconfig:/gnu/store/7792axzccdwyajxq9vavyvph7mljs8yc-util-macros-1.19.1/lib/pkgconfig'
PLATFORM_LINUX_FALSE='#'
PLATFORM_LINUX_TRUE=''
PLATFORM_OSX_FALSE=''
PLATFORM_OSX_QUARTZ_FALSE=''
PLATFORM_OSX_QUARTZ_TRUE='#'
PLATFORM_OSX_TRUE='#'
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE='#'
POFILES=' az.po ca.po cs.po da.po eu.po fa.po ja.po nl.po rw.po sk.po sr.po sv.po tr.po uk.po zh_CN.po ar.po bg.po de.po el.po en_GB.po es.po fi.po fr.po gu.po he.po hi.po hu.po it.po kn.po ko.po lt.po lv.po mr.po nb.po ne.po pl.po pt.po pt_BR.po ro.po ru.po ta.po te.po ur.po vi.po zh_TW.po as.po brx.po doi.po es_NI.po kok.po kok@latin.po ks.po mai.po mni.po mni@bengali.po'
POSUB='po'
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHON_CPPFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_EXTRA_LDFLAGS=''
PYTHON_EXTRA_LIBS=''
PYTHON_LDFLAGS=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_SITE_PKG=''
PYTHON_VERSION=''
QOF_CFLAGS='-I${top_builddir}/src/libqof/qof -I${top_srcdir}/src/libqof/qof'
QOF_LIBS='${top_builddir}/src/libqof/qof/libgnc-qof.la'
RANLIB='ranlib'
RC=''
REGEX_LIBS=''
SED='/gnu/store/7v8369lgnqvpphcw06hg59hb8hxmkr8x-sed-4.4/bin/sed'
SET_MAKE='MAKE=make'
SHELL='/gnu/store/kpxi8h3669afr9r1bgvaf9ij3y4wdyyn-bash-minimal-4.4.12/bin/bash'
STRIP='strip'
SWIG=''
SWIG_DIST_FAIL_FALSE=''
SWIG_DIST_FAIL_TRUE='#'
SWIG_LIB=''
TEST_MYSQL_URL=''
TEST_PGSQL_URL=''
USE_NLS='yes'
VCS_TYPE=''
VERSION='2.6.16'
WEBKIT_CFLAGS=''
WEBKIT_LIBS=''
WITH_AQBANKING_FALSE=''
WITH_AQBANKING_TRUE=''
WITH_DBI_FALSE=''
WITH_DBI_TRUE=''
WITH_GTKMM_FALSE=''
WITH_GTKMM_TRUE='#'
WITH_OFX_FALSE=''
WITH_OFX_TRUE=''
WITH_PYTHON_FALSE=''
WITH_PYTHON_TRUE=''
XGETTEXT='/gnu/store/wljjs4hyiqalf9a1gyc6xnpcvny7jy8c-gettext-minimal-0.19.8.1/bin/xgettext'
XSLTPROC='/gnu/store/f02wqyqqm39f1g7d7y6ajqdmz0swasy2-libxslt-1.1.29/bin/xsltproc'
ZLIB_LIBS='-lz'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
all-am: $(gsettings_SCHEMAS:.xml=.valid)
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cflags_set=''
clean-gsettings-schemas:
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_dot=''
enable_html_docs=''
enable_latex_docs=''
endif'
exec_prefix='NONE'
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
gsettingsschemadir='${datarootdir}/glib-2.0/schemas'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
ifdef gsettings_ENUM_NAMESPACE
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install-data-am: install-gsettings-schemas
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
install_sh='${SHELL} /tmp/guix-build-gnucash-with-dbi-2.6.16.drv-0/gnucash-2.6.16/install-sh'
intltool__v_merge_options_0='-q'
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
mostlyclean-am: clean-gsettings-schemas
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
prefix='/gnu/store/jk00117mi2q001ic3a3siyrpr15cbiz5-gnucash-with-dbi-2.6.16'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
uninstall-am: uninstall-gsettings-schemas
uninstall-gsettings-schemas:

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MIGRATABLE_PREFS_AQBANKING=''
MIGRATABLE_PREFS_OFX=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "GnuCash"
#define PACKAGE_TARNAME "gnucash"
#define PACKAGE_VERSION "2.6.16"
#define PACKAGE_STRING "GnuCash 2.6.16"
#define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
#define PACKAGE_URL "http://www.gnucash.org/"
#define PACKAGE "gnucash"
#define VERSION "2.6.16"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define GNUCASH_MAJOR_VERSION 2
#define GNUCASH_MINOR_VERSION 6
#define GNUCASH_MICRO_VERSION 16
#define GNUCASH_NANO_VERSION 0
#define GNUCASH_RESAVE_VERSION 19920
#define GNUCASH_LATEST_STABLE_SERIES "2.6"
#define GETTEXT_PACKAGE "gnucash"
#define HAVE_LOCALE_H 1
#define HAVE_LC_MESSAGES 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define ENABLE_NLS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define STDC_HEADERS 1
#define HAVE_LIMITS_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_STPCPY 1
#define HAVE_MEMCPY 1
#define HAVE_TIMEGM 1
#define HAVE_TOWUPPER 1
#define HAVE_SETENV 1
#define HAVE_STRUCT_TM_GMTOFF 1
#define HAVE_SCANF_LLD 1
#define ENABLE_BINRELOC /**/
#define HAVE_LIBPTHREAD 1
#define BR_PTHREAD 1
#define HAVE_GLIB_2_38 1
#define HAVE_GLIB_2_36 1
#define HAVE_GLIB_2_32 1
#define HAVE_DIRENT_H 1
#define HAVE_DLFCN_H 1
#define HAVE_UTMP_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MCHECK_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCTYPE_H 1
#define HAVE_DLERROR 1
#define HAVE_X11_XLIB_H 1
#define HAVE_GLOB_H 1
#define HAVE_CHOWN 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETPPID 1
#define HAVE_GETUID 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GETHOSTID 1
#define HAVE_LINK 1
#define HAVE_LTDL_H 1
#define HAVE_DBI_DBI_H 1

configure: exit 255

[-- Attachment #3: Type: text/plain, Size: 3797 bytes --]


The notable part appears to start on line 1890:

======================================================================

configure:21739: Search Path :/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd
configure:21741: checking Looking for at least one supported DBD module
configure:21761: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl -lpthread  >&5
configure:21761: $? = 0
configure:21761: ./conftest
configure:21761: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.16"
| #define PACKAGE_STRING "GnuCash 2.6.16"
| #define PACKAGE_BUGREPORT "https://bugzilla.gnome.org/page.cgi?id=browse.html&product=GnuCash"
| #define PACKAGE_URL "http://www.gnucash.org/"
| #define PACKAGE "gnucash"
| #define VERSION "2.6.16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define GNUCASH_MAJOR_VERSION 2
| #define GNUCASH_MINOR_VERSION 6
| #define GNUCASH_MICRO_VERSION 16
| #define GNUCASH_NANO_VERSION 0
| #define GNUCASH_RESAVE_VERSION 19920
| #define GNUCASH_LATEST_STABLE_SERIES "2.6"
| #define GETTEXT_PACKAGE "gnucash"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_STPCPY 1
| #define HAVE_MEMCPY 1
| #define HAVE_TIMEGM 1
| #define HAVE_TOWUPPER 1
| #define HAVE_SETENV 1
| #define HAVE_STRUCT_TM_GMTOFF 1
| #define HAVE_SCANF_LLD 1
| #define ENABLE_BINRELOC /**/
| #define HAVE_LIBPTHREAD 1
| #define BR_PTHREAD 1
| #define HAVE_GLIB_2_38 1
| #define HAVE_GLIB_2_36 1
| #define HAVE_GLIB_2_32 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_UTMP_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MCHECK_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_DLERROR 1
| #define HAVE_X11_XLIB_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_CHOWN 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETPPID 1
| #define HAVE_GETUID 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETHOSTID 1
| #define HAVE_LINK 1
| #define HAVE_LTDL_H 1
| #define HAVE_DBI_DBI_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
| int
| main ()
| {
| if (!dlopen("libdbdsqlite3.so", RTLD_NOW)) return -1;
|
|   ;
|   return 0;
| }

... repeat this test for libdbdmysql.so and libdbdpgsql.so ...

configure:21809: error:
Unable to find any of the supported dbd modules
(libdbdsqlite3, libdbdmysql, or libdbdpgsql) needed to actually use the SQL
backend.

If you do have them installed the problem is either that dlopen cannot
find them or that dlopen itself is not getting linked. Check config.log
to find out which.  You can add the option --with-dbi-dbd-dir pointing to
the directory in which they are located.

If you do not actually want to build with libdi add --disable-dbi
to the configure argument list and run it again.

======================================================================

So...gnucash-with-dbi's configure phase appears to be looking in the
right directory for the dbd modules, however dlopen is failing to
actually open libdbdsqlite3.so. What gives?

Help?
  Gary

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Further attempts at building GnuCash with SQLite support
  2017-12-18 21:14 Further attempts at building GnuCash with SQLite support Gary Johnson
@ 2017-12-21  5:34 ` Oleg Pykhalov
  2017-12-24 21:49   ` Gary Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2017-12-21  5:34 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 940 bytes --]

Hello Gary,

Is this issue still relevant?  I successfully builded your recipe on

    $ guix --version
    guix (GNU Guix) 57ae890fb3ae49878de9ef648d9c4dc397a99989

Gary Johnson <lambdatronic@gmail.com> writes:

[...]

> configure:21739: Search Path :/gnu/store/2clnv9i49dx33k4rr7aym5sfiryhysna-libdbi-drivers-sqlite-0.9.0/lib/dbd
> configure:21741: checking Looking for at least one supported DBD module
> configure:21761: gcc -o conftest -g -O2 -std=gnu99   conftest.c -ldl -lpthread  >&5
> configure:21761: $? = 0
> configure:21761: ./conftest
> configure:21761: $? = 255
> configure: program exited with status 255

[...]

My build log is differ from here:
--8<---------------cut here---------------start------------->8---
    checking Looking for at least one supported DBD module... SQLite3.
--8<---------------cut here---------------end--------------->8---

Build log attachment:

    guix build -f guix.scm --no-grafts --log-file


[-- Attachment #1.2: gnucash-with-dbi build log-file --]
[-- Type: application/octet-stream, Size: 93447 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 109 bytes --]


For convenience of others a recipe file.  You could build it with:

    guix build -f guix.scm --no-grafts


[-- Attachment #1.4: gnucash-with-dbi --]
[-- Type: text/plain, Size: 6834 bytes --]

(define-module (my-packages gnucash-with-dbi)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix store)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages databases)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages gnucash)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages icu4c)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages web)
  #:use-module (gnu packages webkit)
  #:use-module (gnu packages xml))

(define-public libdbi
  (package
    (name "libdbi")
    (version "0.9.0")
    (source
     (origin
       (method url-fetch)
       (uri
        (string-append "https://versaweb.dl.sourceforge.net/project/libdbi/libdbi/libdbi-"
                       version "/libdbi-" version ".tar.gz"))
       (sha256
        (base32
         "00s5ra7hdlq25iv23nwf4h1v3kmbiyzx0v9bhggjiii4lpf6ryys"))))
    (build-system gnu-build-system)
    (home-page "http://libdbi.sourceforge.net/")
    (synopsis "Database-independent abstraction layer in C")
    (description
     "The libdbi framework implements a database-independent abstraction layer in C,
similar to the DBI/DBD layer in Perl. Writing one generic set of code,
programmers can leverage the power of multiple databases and multiple
simultaneous database connections by using this framework.")
    (license license:lgpl2.1+)))

(define-public libdbi-drivers-sqlite
  (package
    (name "libdbi-drivers-sqlite")
    (version "0.9.0")
    (source
     (origin
       (method url-fetch)
       (uri
        (string-append "https://versaweb.dl.sourceforge.net/project/libdbi-drivers/libdbi-drivers/libdbi-drivers-"
                       version "/libdbi-drivers-" version ".tar.gz"))
       (sha256
        (base32
         "0m680h8cc4428xin4p733azysamzgzcmv4psjvraykrsaz6ymlj3"))))
    (build-system gnu-build-system)
    (propagated-inputs
     `(("libdbi" ,libdbi)
       ("sqlite" ,sqlite)))
    (arguments
     `(#:configure-flags '("--with-sqlite3"
                           ,(string-append "--with-dbi-libdir="
                                           (package-output (open-connection) libdbi)))))
    (home-page "http://libdbi-drivers.sourceforge.net/")
    (synopsis "Database-specific drivers for the libdbi framework")
    (description
     "The libdbi-drivers project provides the database-specific drivers for
the libdbi framework. The current version of libdbi-drivers will work
with any 0.9.x release of the framework. The drivers officially
supported by libdbi are MySQL, PostgreSQL, and SQLite3.")
    (license license:lgpl2.1+)))

(define-public gnucash-with-dbi
  (package
    (name "gnucash-with-dbi")
    (version "2.6.16")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
                           version "/gnucash-" version ".tar.bz2"))
       (sha256
        (base32
         "1088rssg9xgwi3wdfrhdcga46gby6lrd9a1fvn9zq456lscn4m9c"))
       (patches (search-patches "gnucash-price-quotes-perl.patch"))))
    (build-system gnu-build-system)
    (inputs
     `(("guile" ,guile-2.0)
       ("icu4c" ,icu4c)
       ("glib" ,glib)
       ("gtk" ,gtk+-2)
       ("goffice" ,goffice-0.8)
       ("libgnomecanvas" ,libgnomecanvas)
       ("libxml2" ,libxml2)
       ("libxslt" ,libxslt)
       ("webkitgtk" ,webkitgtk/gtk+-2)
       ("aqbanking" ,aqbanking)
       ("perl-date-manip" ,perl-date-manip)
       ("perl-finance-quote" ,perl-finance-quote)))
    (propagated-inputs
     `(("sqlite" ,sqlite)
       ("libdbi" ,libdbi)
       ("libdbi-drivers-sqlite" ,libdbi-drivers-sqlite)))
    (native-inputs
     `(("glib" ,glib "bin") ; glib-compile-schemas, etc.
       ("intltool" ,intltool)
       ("pkg-config" ,pkg-config)))
    (arguments
     `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff
                #:configure-flags '("--enable-aqbanking"
                                    ,(string-append "--with-dbi-dbd-dir="
                                                    (package-output (open-connection) libdbi-drivers-sqlite)
                                                    "/lib/dbd"))
                #:phases
                (modify-phases %standard-phases
                  (add-after
                      'install 'wrap-programs
                    (lambda* (#:key inputs outputs #:allow-other-keys)
                      (for-each (lambda (prog)
                                  (wrap-program (string-append (assoc-ref outputs "out")
                                                               "/bin/" prog)
                                    `("PERL5LIB" ":" prefix
                                      ,(map (lambda (o)
                                              (string-append o "/lib/perl5/site_perl/"
                                                             ,(package-version perl)))
                                            (if (string=? prog "gnc-fq-helper")
                                                (list
                                                 ,@(transitive-input-references
                                                    'inputs
                                                    (map (lambda (l)
                                                           (assoc l (inputs)))
                                                         '("perl-finance-quote"
                                                           "perl-date-manip"))))
                                                (list
                                                 ,@(transitive-input-references
                                                    'inputs
                                                    (map (lambda (l)
                                                           (assoc l (inputs)))
                                                         '("perl-finance-quote")))))))))
                                '("gnucash"
                                  "gnc-fq-check"
                                  "gnc-fq-helper"
                                  "gnc-fq-dump")))))))
    (home-page "http://www.gnucash.org/")
    (synopsis "Personal and small business financial accounting software")
    (description
     "GnuCash is personal and professional financial-accounting
software. It can be used to track bank accounts, stocks, income and
expenses, based on the double-entry accounting practice. It includes
support for QIF/OFX/HBCI import and transaction matching. It also
automates several tasks, such as financial calculations or scheduled
transactions.")
    (license license:gpl3+)))

gnucash-with-dbi

[-- Attachment #1.5: Type: text/plain, Size: 15 bytes --]


Thanks,
Oleg.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Further attempts at building GnuCash with SQLite support
  2017-12-21  5:34 ` Oleg Pykhalov
@ 2017-12-24 21:49   ` Gary Johnson
  2017-12-28 10:12     ` Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Johnson @ 2017-12-24 21:49 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: help-guix

Hi Oleg,

Thanks for taking the time to check my work. It looks like the missing
piece of the puzzle was adding the --no-grafts option. So now I am able
to install GnuCash with SQLite support using my recipe with this
command:

$ guix package -i gnucash-with-dbi --no-grafts

What still confuses me is why it doesn't work without --no-grafts. I'm
wondering if for some reason, the grafting stage is changing the hash
(and hence the directory name) of the libdbi-drivers-sqlite package and
thereby preventing dlopen from finding the appropriate library when
building gnucash.

If anyone can shed some light on this behavior, I'd love to understand
it. Perhaps I could then tweak my package recipe to work correctly
without --no-grafts, so that it would be ready for contribution to the
Guix project's package list.

I've included my package recipe at the bottom of this email one more
time. The key thing to watch for is the #:configure-flags list:

------8<-------------------------------------------->8----------------
#:configure-flags '("--enable-aqbanking"
                    ,(string-append "--with-dbi-dbd-dir="
                                    (package-output (open-connection) libdbi-drivers-sqlite)
                                    "/lib/dbd"))
------8<-------------------------------------------->8----------------

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.

Thanks,
  Gary

------8<-------------------------------------------->8----------------
(define-public gnucash-with-dbi
  (package
   (name "gnucash-with-dbi")
   (version "2.6.16")
   (source
    (origin
     (method url-fetch)
     (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
                         version "/gnucash-" version ".tar.bz2"))
     (sha256
      (base32
       "1088rssg9xgwi3wdfrhdcga46gby6lrd9a1fvn9zq456lscn4m9c"))
     (patches (search-patches "gnucash-price-quotes-perl.patch"))))
   (build-system gnu-build-system)
   (inputs
    `(("guile" ,guile-2.0)
      ("icu4c" ,icu4c)
      ("glib" ,glib)
      ("gtk" ,gtk+-2)
      ("goffice" ,goffice-0.8)
      ("libgnomecanvas" ,libgnomecanvas)
      ("libxml2" ,libxml2)
      ("libxslt" ,libxslt)
      ("webkitgtk" ,webkitgtk/gtk+-2)
      ("aqbanking" ,aqbanking)
      ("perl-date-manip" ,perl-date-manip)
      ("perl-finance-quote" ,perl-finance-quote)))
   (propagated-inputs
    `(("sqlite" ,sqlite)
      ("libdbi" ,libdbi)
      ("libdbi-drivers-sqlite" ,libdbi-drivers-sqlite)))
   (native-inputs
    `(("glib" ,glib "bin") ; glib-compile-schemas, etc.
      ("intltool" ,intltool)
      ("pkg-config" ,pkg-config)))
   (arguments
    `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff
               #:configure-flags '("--enable-aqbanking"
                                   ,(string-append "--with-dbi-dbd-dir="
                                                   (package-output (open-connection) libdbi-drivers-sqlite)
                                                   "/lib/dbd"))
               #:phases
               (modify-phases %standard-phases
                              (add-after
                               'install 'wrap-programs
                               (lambda* (#:key inputs outputs #:allow-other-keys)
                                 (for-each (lambda (prog)
                                             (wrap-program (string-append (assoc-ref outputs "out")
                                                                          "/bin/" prog)
                                                           `("PERL5LIB" ":" prefix
                                                             ,(map (lambda (o)
                                                                     (string-append o "/lib/perl5/site_perl/"
                                                                                    ,(package-version perl)))
                                                                   (if (string=? prog "gnc-fq-helper")
                                                                       (list
                                                                        ,@(transitive-input-references
                                                                           'inputs
                                                                           (map (lambda (l)
                                                                                  (assoc l (inputs)))
                                                                                '("perl-finance-quote"
                                                                                  "perl-date-manip"))))
                                                                       (list
                                                                        ,@(transitive-input-references
                                                                           'inputs
                                                                           (map (lambda (l)
                                                                                  (assoc l (inputs)))
                                                                                '("perl-finance-quote")))))))))
                                           '("gnucash"
                                             "gnc-fq-check"
                                             "gnc-fq-helper"
                                             "gnc-fq-dump")))))))
   (home-page "http://www.gnucash.org/")
   (synopsis "Personal and small business financial accounting software")
   (description
    "GnuCash is personal and professional financial-accounting
software. It can be used to track bank accounts, stocks, income and
expenses, based on the double-entry accounting practice. It includes
support for QIF/OFX/HBCI import and transaction matching. It also
automates several tasks, such as financial calculations or scheduled
transactions.")
   (license license:gpl3+)))
------8<-------------------------------------------->8----------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Further attempts at building GnuCash with SQLite support
  2017-12-24 21:49   ` Gary Johnson
@ 2017-12-28 10:12     ` Oleg Pykhalov
  0 siblings, 0 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2017-12-28 10:12 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix

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

Hello Gary,

Gary Johnson <lambdatronic@gmail.com> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-28 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 21:14 Further attempts at building GnuCash with SQLite support Gary Johnson
2017-12-21  5:34 ` Oleg Pykhalov
2017-12-24 21:49   ` Gary Johnson
2017-12-28 10:12     ` Oleg Pykhalov

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).