RE: Error compiling gda/gda.idl



Hi Bria.. if you're trying to compile with packaes from Redhat 6.1,
then everuthing is installed in /usr/share/...
When you ran the configure script
I guess you didn't specify any prefix, so that /usr/local/ was assu,es
instead of
/usr/
try again to run the configure script with --prefix=/usr..
(or copy eveything from /usr/share to /usr/local/share but I suppose the
first way is muech better)
And then it should compile just fine.

Good luck..

Olivier.

-----Mensaje original-----
De: Brian Jepson <bjepson@ids.net>
Para: gnome-db-list@gnome.org <gnome-db-list@gnome.org>
Fecha: Domingo, 12 de Diciembre de 1999 02:48 p.m.
Asunto: Error compiling gda/gda.idl


>
>I'm trying to compile gnome-db on a RedHat 6.1 with the latest RedHat
>GNOME packages (which I believe are based on October GNOME).  However, I
>get the following errors during compilation:
>
>  ../gda/gda.idl:21: Warning: `LOCK_READONLY' underscores within
>   identifiers are discouraged for use with C-language IDL mappings
>  ../gda/gda.idl:198: Error: `GNOME' undeclared identifier
>
>  ** WARNING **: ../gda/gda.idl compilation failed
>
>And then I get the following error:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.
>    -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include
>    -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
>    -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include
>    a-I/usr/lib/glib/include -g -O2 -Wall -Wp,-MD,.deps/gda-common.pp -c
>    -fPIC -DPIC gda-common.c -o .libs/gda-common.lo
>    gcc: gda-common.c: No such file or directory
>
>I tried this with the latest snapshot (gnome-db-0.0.27.tar.gz) and the
>version that is currently in CVS. I get the error in both cases.
>
>I tried putting #include "gnome-factory.idl" in gda.idl, but that didn't
>seem to help.
>
>The offending line seems to be the first one in this block below:
>
>  interface ConnectionFactory : GNOME::GenericFactory {
>                Object create_connection(in string goad_id)
>                        raises (CannotActivate);
>        };
>
>Thanks,
>
>Brian Jepson * (bjepson@ids.net)  *  http://users.ids.net/~bjepson
>
>
>--
>To unsubscribe: mail gnome-db-list-request@gnome.org with "unsubscribe"
>as the Subject.



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