Problems with Gnucash development environment on Ubuntu 10.04

Valdis Vītoliņš valdis.vitolins at odo.lv
Wed May 12 05:12:01 EDT 2010


Hm..
Maybe there are version incompatibility, or wrong one is found and used?

root at studio:/home/valdis# which slib
/usr/bin/slib

root at studio:/home/valdis# ls -la /usr/bin/slib
-rwxr-xr-x 1 root root 5053 2010-04-07 15:58 /usr/bin/slib
root at studio:/home/valdis# 

root at studio:/home/valdis# find / -name "slib*"
/var/lib/dpkg/info/slib.prerm
/var/lib/dpkg/info/slib.list
/var/lib/dpkg/info/slib.preinst
/var/lib/dpkg/info/slib.postinst
/var/cache/apt/archives/slib_3b1-3ubuntu1_all.deb
/usr/bin/slib
/usr/share/info/slib.info.gz
/usr/share/lintian/overrides/slib
/usr/share/doc-base/slib
/usr/share/guile/1.6/slibcat
/usr/share/guile/1.6/slib
/usr/share/guile/1.6/ice-9/slib.scm
/usr/share/guile/1.6/ice-9/slib-old.scm
/usr/share/guile/1.8/ice-9/slib.scm
/usr/share/doc/slib
/usr/share/slib
/usr/share/man/man1/slib.1.gz

Valdis


> 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