> > Dave Peticolas <[EMAIL PROTECTED]> writes:
> > 
> > >  + Rob Browning's scheme reports stuff.
> > > 
> > >    Rob: Because our patches overlapped, I had to apply yours by hand.
> > >         I think I got everything in correctly, but the reports items
> > >         from the extensions menu don't work. They print a small amount
> > >         of html and then bomb due to a boolean argument being passed
> > >         to string-length, or something like that. Could you check my
> > >         patch to see if I missed something? thanks
> > 
> > Worked for me :>
> > 
> > What accounts are you running it on?  Does it work for
> > data/splitdemo.xac?  and which reports fail?
> 
> Are you running slib2c6? I just downloaded that and it appears
> (though I haven't tried it yet) that it doesn't have that error.
> I'm running slib2c5, which has a very different implementation
> of sprintf, which is where I think the problem is happening.


Ok, I finally got this working. Rob, maybe you can see an
easier way. Anyway, it seems the new reporting stuff requires
slib 2c6, right? However, if you are a RedHat user, there are
some problems. Here is how I got it to work:

1. Install latest guile (1.3.4) and guile-devel rpms.

2. Install slib-2c6 rpm.

3. The guile-1.3.4 rpm uses the slib package included with the
   umb-scheme package which appears to have slib 2c5 which won't
   work. Thus, you need to change the link /usr/share/guile/slib to
   point to /usr/share/slib (or wherever slib 2c6 is installed). You
   don't seem to need umb-scheme anymore, even though rpm will tell
   you there is a dependency.

4. It seems that guile (or slib?) needs the file slibcat in
   /usr/share/guile in order to work. This file is automatically
   generated. However, if you have guile installed in a root-owned
   directory (which is the case for the guile rpm), you will need
   to be root in order to generate the file. I found that by running
   guile as root and then loading the command:
   (primitive-load "gnucash/src/scm/srfi/srfi-8.guile.scm")
   that the slibcat file was generated. After that, I could run
   gnucash as a regular user and everything worked.

whew! I hope the packagers resolve these issues soon.

Anyway Rob, now that I have this working, can you tell me how I can
get the scheme reports to pass the html to gnome as one large string?

thanks,
dave

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to