[g2port] compiles, fails on startup

Derek Atkins warlord at MIT.EDU
Tue Jun 17 16:32:10 CDT 2003


sams at marketing-designs.com writes:

> > > download libgnome-http-1.0.9, compile, install (needed for gnucash)
> > 
> > I presume this is GtkHTML?
> no, the code in
> ftp.gnome.org/pub/GNOME/sources/libgnome-http/libgnome-http-1.0.9.tar.gz

What the heck is this?   Oh, is this "ghttp" by another name?
We're not depending on that anymore.

> > > download cvs gnucash, change aclocal to aclocal-1.4 and automake to
> > > automake-1.4 in macros/autogen.sh., compile, install
> > 
> > are you sure you pulled down the gnucash-gnome2-dev branch from CVS?
> > There should be no reason to specify aclocal-1.4 or automake-1.4;
> > the code should work with all 1.x x=4,5,6,7.
> > 
> positive.  I have 1.7.4 right now, and it fails horribly on the autogen

How does it "fail horribly"?  I know other people are using it just
fine.  Regardless, moving to 1.4 is absolutely the wrong answer.  If
you're going to fall back, fall back to 1.6.

> > This sounds like either g-wrap isn't working right, or the Tip of the
> > Day Dialog hasn't been ported.
>
> I found the problem, and can get some sort of workingness out of the
> gnome2 port now.  I had to change gnc:totd-dialog-create-and-run to
> gnc:ui-totd-dialog-create-and-run.  Don't know if that is a g-wrap issue
> or what.  Either way, I am hanging out in #gnucash, and will try to
> submit more issues as I find and (hopefully) fix them.

No, this is a problem with scheme.  Lazy evaluation sucks.  When a
g-wrap symbol changes, it implies that every reference to that symbol
needs to change, too... But symbol reference checks are at runtime,
not compile time.

In reality, the scheme interface should not have been renamed unless
the API was changed, and even then it should be changed sparingly.
I'll go fix that in the g-wrap spec.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list