compilation problems
Marc Evans
marc@destek.net
Sat, 15 Jul 2000 06:27:41 -0400 (EDT)
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...
- Marc
On Sat, 15 Jul 2000, Robert Graham Merkel wrote:
> OK, I've found the problem - something's wrong with your configuration
> of g-wrap.
>
> Open up /usr/local/bin/g-wrap (it's a guile script).
> Go to about line number 52 (NB: the lines are added by me)
> and you'll see something like the following:
>
> 50 (let ((executable
> 51 (case target-language
> 52 ((guile) "/usr/share/g-wrap/g-wrap-guile")
> 53 ((rscheme) "/usr/share/g-wrap/g-wrap-rs")
> 54 (else #f))))
> 55
>
> The paths should point to g-wrap-guile and g-wrap-rs wherever you
> installed them, and are obviously pointing to the wrong places.
>
> Locate g-wrap-guile and g-wrap-rs and edit the paths to the right
> values (eg if g-wrap-guile is actually in /usr/local/share/g-wrap
> line 52 would become
> ((guile) "/usr/local/share/g-wrap/g-wrap-guile")
>
> Like Dave said, something got screwed up when you installed g-wrap.
>
> ------------------------------------------------------------
> Robert Merkel rgmerk@mira.net
>
> ------------------------------------------------------------
>