Re: [gnome-db]new version of gASQL and Libgda RPMS
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db]new version of gASQL and Libgda RPMS
- Date: 10 Aug 2001 09:54:42 +0200
On 09 Aug 2001 18:53:50 +0200, Vivien Malerba wrote:
> On Thu, Aug 09, 2001 at 12:06:04PM +0200, Rodrigo Moya wrote:
> > On 09 Aug 2001 17:56:09 +0200, Vivien Malerba wrote:
> > > On Thu, Aug 09, 2001 at 10:11:55AM +0200, Rodrigo Moya wrote:
> > > > >
> > > > >
> > > > > We only have one problem, Ismael can't create the RPMs for gASQL, he
> > > > > hasn't time to prepare the .spec file. He could create the RPM but if
> > > > > someone prepare the .spec file.
> > > > >
> > > > I just had a look to the gASQL spec file, and it looks to me ok for RH.
> > > > Is that true Vivien? if not true, what are the differences.
> > > >
> > >
> > > They should be good, but I don't remember if I have modified it for the gASQL.dtd
> > > file.
> > >
> > > BTW, I'm leaving on hollidays for the next three weeks, so I won't be able to do
> > > much during that time, except to check my mail from time to time.
> > >
> > ok, have a nice holiday
> >
>
> Thanks :)
>
> BTW, I managed to make some RPMS for the Mandrake 7.1 with Ximian Gnome but they are not
> really good (problems with the menu system), but gnomedb-fe is working well on it.
>
> However I get a bonobo error message at bonobo init:
> Bonobo-WARNING **: Can not resolve initial reference to ORB
>
> gASQL-ERROR **: Impossible d'initialiser bonobo
> aborting...
> Abort
>
> Can you check that the init of bonobo in gASQL works correctly for you, and tell me.
>
no, it does not work neither for me, but I've found the problem, which
is that you're not calling gda_init or gnome_db_init. That is, the main
function should look as follows:
/* CORBA and GNOME init */
gda_init (PACKAGE, VERSION, argc, argv);
gnome_init_with_popt_table (PACKAGE, /* app_id */
VERSION, /* app_version */
argc, argv, options, /*
options */
0, /* popt_flags */
&return_ctx); /* return_ctx */
//if (bonobo_init (gda_corba_get_orb (), NULL, NULL) == FALSE)
// g_error (_("Could not initialize bonobo"));
//bonobo_activate();
that is, you call gda_init and you don't need to call bonobo_init, which
is already called by gda_init/gnome_db_init. Doing this change made it
work for me.
cheers
--
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]