ERROR: no such module (g-wrap)

Derek Atkins warlord@MIT.EDU
31 Jan 2001 12:40:22 -0500


I think the problem is that guile doesn't know where to find the
g-wrap code.  You may need to convince guile to add a new directory to
it's search-path.  I don't know how to do this.

-derek

PS: If you compile g-wrap with --prefix=/usr it all works.

Jonathan David Wheelhouse <whsjnd@globalfreeway.com.au> writes:

> First thanks to all for previous help; I got through the autogen.sh OK
> after installing g-wrap:
> 
> lftp ftp://ftp.gnucash.org/pub/g-wrap/source/g-wrap-1.1.8.tar.gz to
> /usr/local/src
> cd /usr/local/src; gunzip; tar -xvf
> ./configure --prefix=/usr/local
> make
> make check
> make install
> 
> 
> /usr/local/bin has g-wrap-config
> 
> /usr/local/lib has:
> libg-wrap-runtime-guile.la
> libg-wrap-runtime-guile.so -> libg-wrap-runtime-guile.so.2.0.0
> libg-wrap-runtime-guile.so.2 -> libg-wrap-runtime-guile.so.2.0.0
> libg-wrap-runtime-guile.so.2.0.0
> 
> (I include the above stuff on g-wrap in case it's the problem.)
> 
> Then got the latest sources; ran autogen.sh and finally make, which failed:
> 
> cd ~/gnucash
> cvs update (the latest; unstable)
> rm config.cache
> ./autogen.sh --with-g-wrap-prefix=/usr/local --prefix=/usr/local
> --prefix=/usr/local
> make
> 
> But it fails with:
> 
> 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)
> make[3]: *** [gnc.c] Error 2
> make[3]: Leaving directory `/home/whsjnd/gnucash/src/guile'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/whsjnd/gnucash/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/whsjnd/gnucash'
> make: *** [all-recursive-am] Error 2
> 
> 
> What do I do to fix?
> 
> Jonathan
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

-- 
       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@MIT.EDU                        PGP key available