ERROR: no such module (g-wrap)

Rob Browning
09 Feb 2001 00:19:57 -0600

Jonathan David Wheelhouse <> writes:

> lftp to

First you might want to grab the newest version.  There are important

> make[3]: Entering directory `/home/whsjnd/gnucash/src/guile'
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome   -I../register   -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include       -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wall -Werror-implicit-function-declaration  -I/usr/lib/glib/include -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -DUNICODE_USE_SYSTEM_ICONV -c gfec.c
> FLAVOR=gnome guile -c \
>           "(set! %load-path (cons \"\" %load-path)) \
>            (primitive-load \"./gnc.gwp\") \
>            (gw:generate-module \"gnc\")"
> ERROR: no such module (g-wrap)

It looks like your configure's not running right.  You need to make
sure you have /usr/local/bin in your PATH if that's where
g-wrap-config is installed.  If you've got that right, then the (set!
%load-path above should have a "/usr/local/share/guile" in there (or
wherever the g-wrap libs are).

Also, if you're running guile from an unusual location, make sure
that' in your path as well so the configure process can pick up both
the right guile and the right guile-config.

Finally, if you've changed anything since you downloaded the source
(or if you've CVS updated lately), you should make sure and re-run
./ YOUR-ARGS, but make sure and do it with your PATH and
LD_LIBRARY_PATH (if you need one) set properly.

Hope this helps.

Rob Browning <> PGP=E80E0D04F521A094 532B97F5D64E3930