making on a fresh install

Bryan Larsen blarsen@AnalogSynthesis.com
Fri, 11 May 2001 02:12:35 -0400


Hello again, some of you may remember me.

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...

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.

I created a set of accounts (using the wizard).  Before I added any
transactions or opening balances, I tried to save.  This crashed it.

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.

have fun
Bryan

-- 
-------------
Bryan Larsen, Senior Software Engineer & Gate Man

(613) 239-3830 x237, fax: (613) 239-0104
Analog Design Automation:  Analog Circuit Synthesis?  Problem Solved.