Compile help needed - "make"ing 1.8.4 on SuSE 8.2

John Reynolds gnucash at reynj.fastmail.fm
Thu Jun 5 22:08:59 CDT 2003


Derek,
Thanks for your help. I still have trouble.

> >         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 !?
>
> This implies that you probably have multiple versions of g-wrap
> installed on your system.

I'll take your word for it... my skill level says "no", but how would I check 
like a pro?

> >         gw-core-utils.c:6:34: g-wrap-compatibility.h: No such file or
>
> And this implies that you do NOT have current g-wrap installed
> properly, or at least the compiler can't find it (or is finding the
> earlier version instead).  Either that or the g-wrap-devel RPM you
> installed is broken.
>
Now again, I know better that to doubt you, I have read MANY of your posts and 
you are the de facto Oracle for this list... 
GnuCash 1.8.0 is installed (by suse system installation) and works. Perhaps 
gw-core-utils.c is only needed when compiling? ?
Now, I work from the assumption that g-wrap is NOT installed correctly...  I 
can't find RPM's, go to compile g-wrap-1.3.4, ./configure completes, make 
fails with this error:

<<Code Section>>
creating libgw-standard.la
(cd .libs && rm -f libgw-standard.la && ln -s ../libgw-standard.la 
libgw-standard.la)
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -O2 
-g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I 
/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2  -MT g-wrap-wct.lo -MD 
-MP -MF ".deps/g-wrap-wct.Tpo" \
  -c -o g-wrap-wct.lo `test -f 'g-wrap-wct.c' || echo './'`g-wrap-wct.c; \
then mv ".deps/g-wrap-wct.Tpo" ".deps/g-wrap-wct.Plo"; \
else rm -f ".deps/g-wrap-wct.Tpo"; exit 1; \
fi
rm -f .libs/g-wrap-wct.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I /usr/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT 
-I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 
-MT g-wrap-wct.lo -MD -MP -MF .deps/g-wrap-wct.Tpo -c g-wrap-wct.c  -fPIC 
-DPIC -o .libs/g-wrap-wct.lo
g-wrap-wct.c: In function `gw_wct_p':
g-wrap-wct.c:106: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `gw_wcp_p':
g-wrap-wct.c:111: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `wcp_data_print':
g-wrap-wct.c:146: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `gw_wcp_assimilate_ptr':
g-wrap-wct.c:210: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `gw_wcp_get_ptr':
g-wrap-wct.c:227: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `gw_wcp_is_of_type_p':
g-wrap-wct.c:235: warning: comparison between signed and unsigned
g-wrap-wct.c: In function `gw_wcp_coerce':
g-wrap-wct.c:247: warning: comparison between signed and unsigned
g-wrap-wct.c:248: warning: comparison between signed and unsigned
make[2]: *** [g-wrap-wct.lo] Error 1
make[2]: Leaving directory `/home/reynj/g-wrap-1.3.4/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/reynj/g-wrap-1.3.4'
make: *** [all] Error 2
<<End Code Section>>

So... do I correct this problem (and how) and then hope it will correct my 
first problem? 

I appreciate your advise and assistance.
John

> -derek



More information about the gnucash-user mailing list