installing GnuCash CVS on Mandrake 9

Rik Harris rik@kawaja.net
Tue, 10 Dec 2002 17:41:47 +1100


On Mon, Dec 09, 2002 at 10:31:26PM -0800, mike wrote:
> I actually figured out on my own to remove the files that ./autogen.sh said 
> exist.
> Then ran ./autogen.sh again, and it finished!! Whooppeee!
> So I typed 'make' and got this error:
> 
> Making all in core-utils
> make[3]: Entering directory `/home/mike/gnucash/src/core-utils'
> FLAVOR=gnome guile -c \
>           "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \
>            (primitive-load \"./gw-core-utils-spec.scm\") \
>            (gw:generate-wrapset \"gw-core-utils\")"
> **** NOTE: this wrapset appears to be empty !?
> ERROR: Unbound variable: gw:new-wrapset
> make[3]: *** [gw-core-utils.scm] Error 2
> make[3]: Leaving directory `/home/mike/gnucash/src/core-utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/mike/gnucash/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mike/gnucash'
> make: *** [all-recursive-am] Error 2
> [mike@localhost gnucash]$
> 
> I know I need to install g-wrap1.3.2, but I can't.
> This is the error I get when I do "make":
> 
> Making all in g-wrap
> make[2]: Entering directory `/home/mike/Documents/g-wrap-1.3.2/g-wrap'
> source='gw-standard.c' object='gw-standard.lo' libtool=yes \
> depfile='.deps/gw-standard.Plo' tmpdepfile='.deps/gw-standard.TPlo' \
> depmode=gcc3 /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -O2 -g 
> -Wall -Wno-uninitialized -Wno-unused -Werror -I/usr/include/glib-1.2 
> -I/usr/lib/glib/include  -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g 
> -O2 -I/usr/include -c -o gw-standard.lo `test -f gw-standard.c || echo 
> './'`gw-standard.c
> rm -f .libs/gw-standard.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Wno-uninitialized -Wno-unused 
> -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -I/usr/include -c 
> gw-standard.c -MT gw-standard.lo -MD -MP -MF .deps/gw-standard.TPlo        
> -fPIC -DPIC -o .libs/gw-standard.lo
> cc1: changing search order for system directory "/usr/include"
> cc1:   as it has already been specified as a non-system directory
> make[2]: *** [gw-standard.lo] Error 1
> make[2]: Leaving directory `/home/mike/Documents/g-wrap-1.3.2/g-wrap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mike/Documents/g-wrap-1.3.2'
> make: *** [all] Error 2
> [mike@localhost g-wrap-1.3.2]$
> 
> Thanks, you guys, for your help. I am getting closer, I think?

I got around this one by removing -Werror from every file I could find
it in under g-wrap.

rik.