making on a fresh install

Robert Graham Merkel rgmerk@mira.net
Sat, 12 May 2001 10:35:39 +1000


> 
> Hello again, some of you may remember me.
> 
Yes, we remember everyone, we're like the Borg . . . :)

> I'm not sure if I'll have time to get into devlopment again.  I'm not
> quite as busy at work, but I'm taking a ballroom dancing instructor's
> course, and that's eating up almost 20 hours a week.
>
> But it'd sure be fun to do some scheme coding again...
>
You know you want to . . . but seriously, even just compiling CVS
every so often and reporting the bugs you find is a massive assistance.
 
> I wanted to check out to see how you guys were doing, so I tried
> building on a fairly fresh debian machine, with a task-ximian-gnome
> installed from red carpet.
> 
> Here are the packages I would recommend adding to task-gnucash-devel:
> 
> autoconf 
> automake
> m4 
> gettext
> libgal-dev
> libunicode-dev
> liboaf-dev
> libbonobo-dev
> the guppi deb's on the server
> the g-wrap deb's on the server
> texinfo
> 
> Then for the tough one.  I got an error about a missing require.scm.
> When I did a find on require.scm, I found two of them in the system.
> However, a mailing list search did get me something.
> 
> So I also had to do a:
> 
> ln -s /usr/share/slib /usr/share/guile/slib
> 
> I tried to run gnucash without a "make install" but I gave up.
> 
> then I got the 
> 
> ERROR: Permission denied: "/usr/share/guile/slibcat"
> 
> so I ran it as root once.
> 
Hmm, that's odd.  Debian's guile/slib setup should "just work".
Did you install libguile6-slib (or guile1.4-slib if you're running
unstable)?

> I created a set of accounts (using the wizard).  Before I added any
> transactions or opening balances, I tried to save.  This crashed it.
> 
Yep, I can confirm that crash.  You might want to file the bug on the
bug tracker at http://www.gnumatic.com/bugs for maximum convenience.

> I did much the same thing, and it crashed again.
> 
> Then when I tried to run it, I got:
> 
> gnucash: [D] "Running functions on hook "ui-startup-hook
>   #<procedure ()>
>   #<procedure gnc:extensions-menu-setup ()>
>   #<procedure gnc:report-menu-setup ()>
> gnucash: [D] "Running functions on hook "book-closed-hook
>   #<procedure gnc:main-window-book-close-handler (book-url)>
> Backtrace:
>  0* [gnc:main]
>  1* (letrec ((handle-batch-mode-item (lambda # #))) (gnc:startup) ...)
>  2* (if (null? gnc:*batch-mode-things-to-do*) (begin # # ...) ...)
>  3  (begin # # # ...)
>  4* (if (and # # #) (begin # #) (begin # # # ...))
>  5  (begin (gnc:load-account-file) (gnc:default-ui-start) ...)
>  6* [gnc:load-account-file]
>  7  (let ((file #)) (if file (and # #) ...))
>     ...
>  8  (and (not #) (gnc:hook-run-danglers gnc:*book-opened-hook* #f))
>  9* [not ...
> 10* [gnc:ui-open-file "/home/blarsen/b2"]
> 11* [gnc:hook-run-danglers # #f]
> 12* [for-each #<procedure #> #]
> 13* [#<procedure #> #<procedure gnc:main-window-book-close-handler #>]
> 14* [apply #<procedure gnc:main-window-book-close-handler (book-url)>
> (#f)]
> 15  [gnc:main-window-book-close-handler #f]
> 16  (let* (# # #) (if # #) (if conf-file-name #) ...)
> 17* (if (not (access? file-dir X_OK)) (mkdir file-dir 448))
> 18  [mkdir "/home/blarsen/.gnucash/books" 448]
> 
> /usr/local/share/gnucash/scm/main-window.scm:126:39: In procedure
> mkdir in expression (mkdir file-dir 448):
> /usr/local/share/gnucash/scm/main-window.scm:126:39: No such file or
> directory


> I fixed that one by doing a "mkdir ~/.gnucash".

> that'll be a trivial bug to fix, but I'm not sure what the first two
> crashes were, and the info is gone now.

Luckily, I can reproduce it here, so it shouldn't be too hard to track
down.

Thanks for your input, and if you want to contribute we're always
open to contributions.  We're feature-frozen for 1.6 at the moment,
but there's quite a bit of stuff planned when the tree opens up again 
:)


-- 
------------------------------------------------------------
Robert Merkel	                           rgmerk@mira.net

Go You Big Red Fire Engine
-- Unknown Audience Member at Adam Hills standup gig
------------------------------------------------------------