Skip to content

Instantly share code, notes, and snippets.

@jgriessen
Created September 2, 2018 15:25
Show Gist options
  • Save jgriessen/64774b6933483f44db45a96677d9b6d5 to your computer and use it in GitHub Desktop.
Save jgriessen/64774b6933483f44db45a96677d9b6d5 to your computer and use it in GitHub Desktop.
compile gnucash-3.2 from tarball on debian buster
cmake -D CMAKE_INSTALL_PREFIX=/home/john/gnucash-3.2 ../gnucash-3.2
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'glib-2.0>=2.40'
-- Found glib-2.0, version 2.56.1
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.56.1
-- Checking for module 'gobject-2.0>=2.20'
-- Found gobject-2.0, version 2.56.1
-- Checking for module 'gmodule-2.0>=2.20'
-- Found gmodule-2.0, version 2.56.1
-- Checking for module 'gthread-2.0>=2.20'
-- Found gthread-2.0, version 2.56.1
-- Checking for module 'libxml-2.0>=2.7.0'
-- Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
-- Found libxslt, version 1.1.32
-- Checking for module 'webkit2gtk-4.0'
-- Found webkit2gtk-4.0, version 2.20.5
-- Checking for module 'gtk+-3.0>=3.10.0'
-- Found gtk+-3.0, version 3.22.30
-- Checking for module 'zlib'
-- Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1", minimum required is "0.19.6")
-- Using guile-2.2.x
-- Using guile SRFI-64
-- Checking for module 'gwenhywfar'
-- Found gwenhywfar, version 4.20.0
-- Checking for module 'aqbanking'
-- Found aqbanking, version 5.7.8
-- Checking for module 'ktoblzcheck'
-- Found ktoblzcheck, version 1.49
-- Checking for module 'gwengui-gtk3'
-- Found gwengui-gtk3, version 4.20.0
-- Checking for module 'libofx'
-- Found libofx, version 0.9.13
-- Performing Test HAVE_OFX_BUG_39
-- Performing Test HAVE_OFX_BUG_39 - Failed
-- Found LibXslt: xslt;xml2 (found version "1.1.32")
-- Found Perl: /usr/bin/perl (found version "5.26.2")
-- Checking for module 'icu-uc'
-- Found icu-uc, version 60.2
-- Checking for module 'icu-i18n'
-- Found icu-i18n, version 60.2
-- Checking for module 'libsecret-1>=0.18'
-- Found libsecret-1, version 0.18.6
-- Performing Test have_stringop_truncation
-- Performing Test have_stringop_truncation - Success
-- Checking for GTEST
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking for GMOCK
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file glob.h
-- Looking for include file glob.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utmp.h
-- Looking for include file utmp.h - found
-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Performing Test have_mod_mask
-- Performing Test have_mod_mask - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /mosource/gnucash3.2-build
==================next run make==================================
make
Scanning dependencies of target guile-json
[ 1%] Generating ../../lib/gnucash/scm/ccache/2.2/json.go
wrote `/mosource/gnucash3.2-build/lib/gnucash/scm/ccache/2.2/json.go'
[ 1%] Built target guile-json
Scanning dependencies of target guile-json-details
[ 1%] Generating ../../../lib/gnucash/scm/ccache/2.2/json/builder.go
.
.
.
[ 30%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/gnc-sx-instance-model.c.o
[ 30%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/gnc-state.c.o
[ 30%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/gnc-ui-util.c.o
[ 30%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/gnc-ui-balances.c.o
[ 30%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/gncmod-app-utils.c.o
[ 32%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/guile-util.c.o
[ 32%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/option-util.c.o
[ 32%] Building C object libgnucash/app-utils/CMakeFiles/gncmod-app-utils.dir/swig-app-utils-guile.c.o
[ 32%] Linking C shared library ../../lib/gnucash/libgncmod-app-utils.so
[ 32%] Built target gncmod-app-utils
Scanning dependencies of target scm-gettext
[ 33%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/gettext.go
wrote `/mosource/gnucash3.2-build/lib/gnucash/scm/ccache/2.2/gnucash/gettext.go'
[ 33%] Built target scm-gettext
Scanning dependencies of target scm-gnc-module
[ 33%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/gnc-module.go
wrote `/mosource/gnucash3.2-build/lib/gnucash/scm/ccache/2.2/gnucash/gnc-module.go'
[ 33%] Built target scm-gnc-module
Scanning dependencies of target scm-core-utils
[ 33%] Generating ../../lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go
Backtrace:
In /usr/bin/guild:
72:17 19 (main _)
In srfi/srfi-1.scm:
640:9 18 (for-each #<procedure 560ffbac3900 at scripts/compile.…> …)
In scripts/compile.scm:
259:26 17 (_ _)
In system/base/target.scm:
57:6 16 (with-target _ _)
In system/base/compile.scm:
152:6 15 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
43:4 14 (call-once _)
In ice-9/boot-9.scm:
841:4 13 (with-throw-handler _ _ _)
In system/base/compile.scm:
59:11 12 (_)
155:11 11 (_ #<closed: file 560ffbab3230>)
235:18 10 (read-and-compile #<input: core-utils.scm 13> #:from _ # …)
183:32 9 (compile-fold (#<procedure compile-tree-il (x e opts)>) …)
In ice-9/boot-9.scm:
2312:4 8 (save-module-excursion #<procedure 560ffbcec700 at lang…>)
In language/scheme/compile-tree-il.scm:
31:15 7 (_)
In ice-9/psyntax.scm:
1235:36 6 (expand-top-sequence ((re-export #)) _ _ #f c (# load …) …)
1182:24 5 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
285:10 4 (parse _ (("placeholder" placeholder)) (()) _ c&e (# #) #)
In ice-9/boot-9.scm:
2071:24 3 (call-with-deferred-observers #<procedure 560ffbcec200 …>)
260:13 2 (for-each #<procedure 560ffbcec0c0 at ice-9/boot-9.scm…> …)
In unknown file:
1 (scm-error misc-error #f "~A ~S" ("Undefined variab…" …) …)
In ice-9/boot-9.scm:
752:25 0 (dispatch-exception _ _ _)
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Undefined variable: gnc-build-userdata-path
make[2]: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/build.make:62: lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go] Error 1
make[1]: *** [CMakeFiles/Makefile2:3867: libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment