[GNC] compile stops at core-utils.go

Colin Law clanlaw at gmail.com
Sat Jul 14 16:47:36 EDT 2018


Are you aware of the build instructions at
https://wiki.gnucash.org/wiki/BuildUbuntu16.04, which should work for
Debian I think.

Colin


On 14 July 2018 at 21:24, John Griessen <john at industromatic.com> wrote:

> On 07/14/2018 03:07 AM, Colin Law wrote:
>
>> On 14 July 2018 at 01:25, John Griessen <john at industromatic.com <mailto:
>> john at industromatic.com>> wrote:
>>
>>       Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go
>>     Backtrace:
>>
>>
>> I think you need to tell us what version you are trying to build, what
>> you started with (a particular tarball, or git checkout or what), what OS
>> you are running on and what commands you have run up to that point.
>>
>
> I got the gnucash 3.2 tarball, and am installing on debian testing.
>
> First, I used  dpkg -L gnucash, then searched for some of the library
> files with locate and find,
> and wiped out all other lib bin and share dirs of previous installs, in
> places such as /usr/local
> /opt.
>
> then:
> sudo apt purge gnucash gnucash-common
>
> in preparation for installing the 3.2 compiled program and libraries.
>
> Next I followed compile instructions:
>
> bunzip2 gnucash-3.2.tar.bz2
> tar xvf gnucash-3.2.tar
> cd gnucash-3.2
> mkdir build
> cd build
> env | grep HOME
> cmake -D CMAKE_INSTALL_PREFIX=$HOME/gnucash ..
>
> Doing this again today, I see:
>
> Performing Test HAVE_OFX_BUG_39 - Failed
> -- Performing Test have_stringop_truncation - Failed
> -- Check if compiler accepts -pthread - no
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread - found
>
>
> all other messages said found or OK
>
> [ 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.0/gnucash/gettext.go
> wrote `/mosource/gnucash-3.2/build/lib/gnucash/scm/ccache/2.0/gnuc
> ash/gettext.go'
> [ 33%] Built target scm-gettext
> Scanning dependencies of target scm-gnc-module
> [ 33%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/gnc-module.go
> wrote `/mosource/gnucash-3.2/build/lib/gnucash/scm/ccache/2.0/gnuc
> ash/gnc-module.go'
> [ 33%] Built target scm-gnc-module
> Scanning dependencies of target scm-core-utils
> [ 33%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go
> Backtrace:
> In /usr/bin/guild:
>     72:17 19 (main _)
> In srfi/srfi-1.scm:
>     640:9 18 (for-each #<procedure 556edc4cf080 at scripts/compile.…> …)
> In scripts/compile.scm:
>    251: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 556edc6f1690>)
>    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 556edc929600 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 556edc929400 …>)
>    260:13  2 (for-each #<procedure 556edc929340 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
> libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/build.make:61: recipe
> for target 'lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go' failed
> make[2]: *** [lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go] Error 1
> CMakeFiles/Makefile2:3861: recipe for target 'libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all'
> failed
> make[1]: *** [libgnucash/core-utils/CMakeFiles/scm-core-utils.dir/all]
> Error 2
> Makefile:162: recipe for target 'all' failed
> make: *** [all] Error 2
> john at toolbench64 [build]
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list