compilation problems

Robert Graham Merkel rgmerk@mira.net
Sun, 16 Jul 2000 01:25:00 +1000 (EST)


Marc Evans writes:
 > OK, I have gone back and built the g-wrap-0.9.4 suite again. Looking very
 > closely at the "make install" phase I discover that the g-wrap-rs file is
 > never copied into /usr/local/libexec, which is where /usr/local/bin/g-wrap
 > expects it to be. I have therefore copied it in by hand.
 > 
 > I then returned to gnucash-1.5.0, did a "make distclean; ./configure; make"
 > and ther results though different, are still an incomplete build:
 > 
 > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome
 > -I../register    -g -O2 -Wall -I/usr/local/include -DNEED_GNOMESUPPORT_H
 > -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include
 > -I/usr/X11R6/include -I/usr/local/include/gnome-xml -I/usr/local/include
 > -I/usr/local/include -c gfec.c
 > FLAVOR=gnome g-wrap --api c --target guile gnc.gwp
 > ERROR: In expression (cdr lst):
 > ERROR: Stack overflow
 > make[3]: *** [gnc.c] Error 2
 > make[3]: Leaving directory `/home/src/gnucash/gnucash-1.5.0/src/guile'
 > make[2]: *** [all-recursive] Error 1
 > make[2]: Leaving directory `/home/src/gnucash/gnucash-1.5.0/src'
 > make[1]: *** [all-recursive] Error 1
 > make[1]: Leaving directory `/home/src/gnucash/gnucash-1.5.0'
 > make: *** [all-recursive-am] Error 2
 > 
 > I think that I better take a much closer look at the g-wrap suite, as this
 > appears to be the base of the problems...

I agree, it's definitely a problem with g-wrap.  As g-wrap is a guile
program (as well as wrapping functions for guile, it is written in
guile), it may help if you can provide us with some details of your
guile setup.

BTW, if all you want to do with gnucash is run it, rather than test
new features, stick to 1.4.2.  The 1.5.x series is a development
series - we use the linux kernel version numbering scheme.

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

------------------------------------------------------------