Re: [gnome-db] 0.2.90: compilation problems



On s_, 2001-09-15 at 06:14, Dmitry G. Mastrukov wrote:
> Hi all!
> 
> I've had some problems when compiling 0.2.90
> First of all I wasn't be able to build both libgda and gnome-db from 
> outside of the source tree. I like to build packages from separate 
> directory but sometimes developers don't care of $(TOPSRCDIR), 
> $(SRCDIR) and other similar variables in .in files and simply use 
> ../dir/file, especially when it's necessary to process such file with 
> external tool (like with orbit-idl in libgda). Two error traces are below.
>  From source directory build process is ok.
> 

Well, If you look at libgda/lib/gda-common/Makefile.am you could see:

GDA-skels.c GDA-stubs.c GDA-common.c GDA.h: $(IDLFILES) $(ORBIT_IDL)
        $(ORBIT_IDL) -I$(top_sourcedir)/idl -I`oaf-config
--prefix`/share/idl $(top_builddir)/idl/GDA.idl

so, we are using top_sourcedir && top_buildir, but I will review it
today. Could you tell us how did you execute ./configure?

Thanks.



> Next I've found many occurences of GdaServerError in some providers in 
> libgda, for example gda-mail-server. As I understood from Changelog 
> GdaServerError was meged with GdaError so I replaced GdaServerError 
> with GdaError and compilation ended ok.
> 
> Regards,

Could you send us the patch?


> Dmitry
> 
> PS. New libglade-0.17 doesn't complile with 0.2.90. Look at third 
> attachement.
> 

I will review it also. Thanks.

> --------------010101070506010309040901
> make  all-recursive
> make[1]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build'
> Making all in po
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/po'
> make[2]: Цель `all' не требует выполнения команд.
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/po'
> Making all in intl
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/intl'
> make[2]: Цель `all' не требует выполнения команд.
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/intl'
> Making all in macros
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/macros'
> make[2]: Цель `all' не требует выполнения команд.
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/macros'
> Making all in idl
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/idl'
> make[2]: Цель `all' не требует выполнения команд.
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/idl'
> Making all in lib
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/lib'
> Making all in gda-common
> make[3]: Вход в каталог `/usr/src/gnome-gtk+/libgda-build/lib/gda-common'
> /usr/local/gnome/bin/orbit-idl -I/idl -I`oaf-config --prefix`/share/idl ../../idl/GDA.idl
> 
> ** WARNING **: Parse of ../../idl/GDA.idl failed: No such file or directory
> 
> ** WARNING **: ../../idl/GDA.idl compilation failed
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../libgda/lib/gda-common -I../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include 	-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include 	-I.    -O2 -march=athlon -c GDA-common.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I../../../libgda/lib/gda-common -I../.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I. -O2 -march=athlon -c GDA-common.c  -fPIC -DPIC -o .libs/GDA-common.o
> gcc: GDA-common.c: No such file or directory
> gcc: No input files
> make[3]: *** [GDA-common.lo] Ошибка 1
> make[3]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/lib/gda-common'
> make[2]: *** [all-recursive] Ошибка 1
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build/lib'
> make[1]: *** [all-recursive] Ошибка 1
> make[1]: Выход из каталог `/usr/src/gnome-gtk+/libgda-build'
> make: *** [all-recursive-am] Ошибка 2
> 
> --------------010101070506010309040901
> make[2]: Вход в каталог `/usr/src/gnome-gtk+/gnome-db-build/components'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../gnome-db/components -I.. -I. 	-I/usr/local/gnome/include/gda -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I/usr/local/gnome/include/gnome-xml -I/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DXML_USE_BUFFER_CONTENT -DGNOMELOCALEDIR=\"/usr/local/gnome/share/locale\" 	-I../lib 	-DGNOMEDB_DATADIR=\""/usr/local/gnome/share/gnome-db"\"  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -O2 -march=athlon -c ../../gnome-db/components/gnomedb-monikers-database.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I../../gnome-db/components -I.. -I. -I/usr/local/gnome/include/gda -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I/usr/local/gnome/include/gnome-xml -I/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DXML_USE_BUFFER_CONTENT -DGNOMELOCALEDIR=\"/usr/local/gnome/share/locale\" -I../lib -DGNOMEDB_DATADIR=\"/usr/local/gnome/share/gnome-db\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=athlon -c ../../gnome-db/components/gnomedb-monikers-database.c  -fPIC -DPIC -o .libs/gnomedb-monikers-database.o
> In file included from ../../gnome-db/components/gnomedb-monikers-database.c:19:
> ../../gnome-db/components/gnomedb-monikers.h:23:22: gnome-db.h: No such file or directory
> In file included from /usr/local/gnome/include/libgnome/gnome-i18n.h:16,
>                  from ../../gnome-db/components/gnomedb-monikers.h:24,
>                  from ../../gnome-db/components/gnomedb-monikers-database.c:19:
> /usr/include/libintl.h:34: syntax error before "extern"
> In file included from ../../gnome-db/components/gnomedb-monikers.h:24,
>                  from ../../gnome-db/components/gnomedb-monikers-database.c:19:
> /usr/local/gnome/include/libgnome/gnome-i18n.h:67: parse error before '*' token
> /usr/local/gnome/include/libgnome/gnome-i18n.h:67: parse error before '*' token
> /usr/local/gnome/include/libgnome/gnome-i18n.h:67: warning: data definition has no type or storage class
> In file included from ../../gnome-db/components/gnomedb-monikers-database.c:19:
> ../../gnome-db/components/gnomedb-monikers.h:26: parse error before "BEGIN_GNOME_DECLS"
> In file included from /usr/include/glib-1.2/glib.h:66,
>                  from /usr/include/gtk-1.2/gtk/gtktypeutils.h:31,
>                  from /usr/include/gtk-1.2/gtk/gtkarg.h:31,
>                  from /usr/include/gtk-1.2/gtk/gtkobject.h:31,
>                  from /usr/local/gnome/include/bonobo/bonobo-shlib-factory.h:14,
>                  from ../../gnome-db/components/gnomedb-monikers-database.c:20:
> /usr/lib/glib/include/glibconfig.h:28: syntax error before "typedef"
> ../../gnome-db/components/gnomedb-monikers-database.c:26: parse error before '*' token
> ../../gnome-db/components/gnomedb-monikers-database.c: In function `database_moniker_resolve':
> ../../gnome-db/components/gnomedb-monikers-database.c:32: `moniker' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c:32: (Each undeclared identifier is reported only once
> ../../gnome-db/components/gnomedb-monikers-database.c:32: for each function it appears in.)
> ../../gnome-db/components/gnomedb-monikers-database.c:33: `requested_interface' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c:38: warning: assignment makes pointer from integer without a cast
> ../../gnome-db/components/gnomedb-monikers-database.c:41: warning: assignment makes pointer from integer without a cast
> ../../gnome-db/components/gnomedb-monikers-database.c: In function `database_moniker_factory':
> ../../gnome-db/components/gnomedb-monikers-database.c:54: `GnomeDbMoniker' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c:54: `new_moniker' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c:59: `GnomeDbMonikerResolveFunc' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c:59: parse error before "database_moniker_resolve"
> ../../gnome-db/components/gnomedb-monikers-database.c: In function `make_factory':
> ../../gnome-db/components/gnomedb-monikers-database.c:71: `GNOME_DB_OAFIID_MONIKER_FACTORY' undeclared (first use in this function)
> ../../gnome-db/components/gnomedb-monikers-database.c: At top level:
> ../../gnome-db/components/gnomedb-monikers-database.c:71: `GNOME_DB_OAFIID_MONIKER_FACTORY' undeclared here (not in a function)
> ../../gnome-db/components/gnomedb-monikers-database.c:71: initializer element is not constant
> ../../gnome-db/components/gnomedb-monikers-database.c:71: (near initialization for `plugin_list[0].iid')
> ../../gnome-db/components/gnomedb-monikers-database.c:71: initializer element is not constant
> ../../gnome-db/components/gnomedb-monikers-database.c:71: (near initialization for `plugin_list[0]')
> ../../gnome-db/components/gnomedb-monikers-database.c:71: initializer element is not constant
> ../../gnome-db/components/gnomedb-monikers-database.c:71: (near initialization for `plugin_list[1]')
> make[2]: *** [gnomedb-monikers-database.lo] Ошибка 1
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/gnome-db-build/components'
> make[1]: *** [all-recursive] Ошибка 1
> make[1]: Выход из каталог `/usr/src/gnome-gtk+/gnome-db-build'
> make: *** [all-recursive-am] Ошибка 2
> 
> --------------010101070506010309040901
> gcc -DHAVE_CONFIG_H -I. -I../../libglade/glade -I.. -I../../libglade/glade/.. -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I/usr/local/gnome/include/gda -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/usr/local/gnome/include/gconf/1 -I/usr/local/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/local/gnome/include/gnome-xml -DXML_USE_BUFFER_CONTENT -I/gnome/include -I/usr/local/gnome/include/gnome-xml -I/gnome/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/gnome/include -DNEED_GNOMESUPPORT_H -I/usr/local/gnome/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DXML_USE_BUFFER_CONTENT -DGNOMELOCALEDIR=/usr/local/gnome/share/locale -I/usr/local/gnome/include/gnome-db -O2 -march=athlon -Wall -Wunused -c ../../libglade/glade/glade-gnomedb.c -MT glade-gnomedb.lo -MD -MP -MF .deps/glade-gnomedb.TPlo  -fPIC -DPIC -o .libs/glade-gnomedb.lo
> ../../libglade/glade/glade-gnomedb.c: In function `dblogin_new':
> ../../libglade/glade/glade-gnomedb.c:47: too many arguments to function `gnome_db_login_new'
> ../../libglade/glade/glade-gnomedb.c: In function `dblogindlg_new':
> ../../libglade/glade/glade-gnomedb.c:58: too many arguments to function `gnome_db_login_new'
> ../../libglade/glade/glade-gnomedb.c: In function `dberror_new':
> ../../libglade/glade/glade-gnomedb.c:153: too many arguments to function `gnome_db_error_new'
> ../../libglade/glade/glade-gnomedb.c: In function `dberrordlg_new':
> ../../libglade/glade/glade-gnomedb.c:163: warning: implicit declaration of function `gnome_db_errordlg_new'
> ../../libglade/glade/glade-gnomedb.c:163: warning: assignment makes pointer from integer without a cast
> ../../libglade/glade/glade-gnomedb.c: In function `glade_gnome_db_init':
> ../../libglade/glade/glade-gnomedb.c:208: warning: implicit declaration of function `glade_gnome_init'
> make[2]: *** [glade-gnomedb.lo] Ошибка 1
> make[2]: Выход из каталог `/usr/src/gnome-gtk+/libglade-build/glade'
> make[1]: *** [all-recursive] Ошибка 1
> make[1]: Выход из каталог `/usr/src/gnome-gtk+/libglade-build'
> make: *** [all] Ошибка 2
-- 
Carlos PerellС MarМn
mailto:carlos gnome-db org
mailto:carlos hispalinux es
http://www.gnome-db.org
http://www.Hispalinux.es
Valencia - Spain





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