Re: help with compiling



Michael Blaustein wrote:
> 
> I realize that the likes of myself shouldn't be sticking our noses
> into this project at its current stage, but in the hope that (a) I may
> be able to use this a bit and (b) my experience as a user may have
> some useful result for the developers, I ask ...
> 
> I'm making gnome-db-0.0.96, with the postgres and obdc servers, and
> can't get past the following error:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -DGNOMELOCALEDIR=\"/usr/share/locale\" -I/usr/include -I../gda-common -I../gda-clnt -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/include/gnome-xml -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -m486 -fno-strength-reduce -Wall -c  -fPIC -DPIC gda-ui.c -o .libs/gda-ui.lo
> In file included from ../gda-common/gda-common.h:29,
>                  from ../gda-clnt/gda-client.h:24,
>                  from gda-ui.h:24,
>                  from gda-ui.c:22:
> ../gda-common/gda-config.h:38: parse error before `GoadServerType'
> ../gda-common/gda-config.h:38: warning: no semicolon at end of struct or union
> ../gda-common/gda-config.h:43: parse error before `}'
> ../gda-common/gda-config.h:43: warning: type defaults to `int' in declaration of `Gda_Server'
> ../gda-common/gda-config.h:43: warning: data definition has no type or storage class
> ../gda-common/gda-config.h:51: parse error before `*'
> ../gda-common/gda-config.h:51: warning: type defaults to `int' in declaration of `gda_server_new'
> ../gda-common/gda-config.h:51: warning: data definition has no type or storage class
> ../gda-common/gda-config.h:52: parse error before `*'
> ../gda-common/gda-config.h:52: parse error before `*'
> ../gda-common/gda-config.h:52: warning: type defaults to `int' in declaration of `gda_server_copy'
> ../gda-common/gda-config.h:52: warning: data definition has no type or storage class
> ../gda-common/gda-config.h:53: parse error before `*'
> ../gda-common/gda-config.h:57: parse error before `*'
> ../gda-common/gda-config.h:57: warning: type defaults to `int' in declaration of `gda_server_find_by_name'
> ../gda-common/gda-config.h:57: warning: data definition has no type or storage class
> gda-ui.c: In function `gda_ui_get_pixmap':
> gda-ui.c:348: warning: assignment from incompatible pointer type
> make[2]: *** [gda-ui.lo] Error 1
> 
> Is there anything I can do to finish making it?
> 
the problem is because you've got OAF installed (and Bonobo compiled
with OAF), but the 0.0.96 does not work with OAF. So you've got two
solutions:

* re-compile Bonobo without OAF (--enable-oaf=no in configure)
* get the latest version of gnome-db from CVS (or the CVS snapshot from
the web page) which works with OAF.

This reminds me that we should make a new release ASAP so that we don't
get more people with these problems, as I assume lots of people have now
OAF installed because of Evolution.

Cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]