Problems with Gnucash development environment on Ubuntu 10.04

Geert Janssens janssens-geert at telenet.be
Wed May 12 04:25:49 EDT 2010


On Wednesday 12 May 2010, Valdis Vītoliņš wrote:
> == Environment ==
> I use the latest development version checked out from
> http://svn.gnucash.org/repo/gnucash/trunk
> gnucash 2.3.12 svn r19148M
> 
> I got dependencies to compile gnucash partially for stable version
> (as a lazy Ubuntu's shortcut to resolve most of dependencies for GnuCash
> stable):
> sudo apt-get build-dep gnucash
> 
> And partially bu additional packages:
> sudo apt-get install texinfo libdbi0-dev
> 
> == Problems ==
> 
> Go Business-Customers-New invice, select Customer, enter invoice No,
> save.
> Gnucash closes with following
> 
> Backtrace:
> In unknown file:
>    ?: 0* [gnc:send-options 0 #<procedure dispatch (key)>]
> In /opt/gnucash-svn/share/gnucash/scm/options.scm:
> 1565: 1* [gnc:options-for-each #<procedure #f (option)> #<procedure
> dispatch (key)>]
> 1512: 2  [options-for-each #<procedure #f (option)>]
>    ...
> 1352: 3  (hash-for-each (lambda # #) option-hash)
> 
> /opt/gnucash-svn/share/gnucash/scm/options.scm:1352:5: In expression
> (hash-for-each (lambda # #) option-hash):
> /opt/gnucash-svn/share/gnucash/scm/options.scm:1352:5: Unbound variable:
> hash-for-each
> 
> 
> Reports- Assets & liabilities- Balance sheet using eguile-gnc
> Gnucash closes with following backtrace:
> Backtrace:
> In unknown file:
>    ?: 0* [#<procedure #f (window)> #<swig-pointer GncMainWindow *
> 1e9f0c0>]
> In
>  /opt/gnucash-svn/share/gnucash/guile-modules/gnucash/report/report-gnome.s
> cm: 78: 1* (let ((report #)) (gnc-main-window-open-report report window))
>  80: 2  [gnc-main-window-open-report 0 #<swig-pointer GncMainWindow *
>  1e9f0c0>]
> In unknown file:
>    ?: 3* [gnc:send-options 0 #<procedure dispatch (key)>]
> In /opt/gnucash-svn/share/gnucash/scm/options.scm:
> 1565: 4* [gnc:options-for-each #<procedure #f (option)> #<procedure
> dispatch (key)>]
> 1512: 5  [options-for-each #<procedure #f (option)>]
>    ...
> 1352: 6  (hash-for-each (lambda # #) option-hash)
> 
> /opt/gnucash-svn/share/gnucash/scm/options.scm:1352:5: In expression
> (hash-for-each (lambda # #) option-hash):
> /opt/gnucash-svn/share/gnucash/scm/options.scm:1352:5: Unbound variable:
> hash-for-each
> 
> What can I do? Any hints are welcome.
> 
> Thanks,
> Valdis
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
Hi Valdis,

I have just rebuilt GnuCash from svn r19150 (on Mandriva). The only difference 
with your checkout are only two translation updates, which can be ignored for 
your issue.

The crashes are because guile can't find a definition of the function hash-
for-each.

r19148 has done a major cleanup in that area.

Do you have slib installed on your system ? That's where this function should 
be defined.

Note that I can't reproduce your crashes here, by the way.

Geert


More information about the gnucash-devel mailing list