Problems with non-oaf build



Hi,

I tried building the latest GNOME-DB on a non-oaf system (RedHat 6.1
intel, HelixCode GNOME + an RPM of bonobo 0.15 built without oaf), but I
got the following errors: 

gda-mgr-providers.o: In function `fill_provider_list':
/usr/src/bjepson/gnome/gnome-db/gda-manager/gda-mgr-providers.c:80:
undefined reference to `GDA_PROVIDER_GOAD_TYPE'
/usr/src/bjepson/gnome/gnome-db/gda-manager/gda-mgr-providers.c:81:
undefined reference to `GDA_PROVIDER_GOAD_TYPE'
/usr/src/bjepson/gnome/gnome-db/gda-manager/gda-mgr-providers.c:82:
undefined reference to `GDA_PROVIDER_GOAD_TYPE'

I commented out the reference to the gda-manager directory in the
top-level Makefile, and all went well through installation.  

However, I then tried running the sample programs, including db_login,
db_error, db_gui, and gda-rolodex.  When I run these, the login dialog
appears, but I can't get past clicking OK. When I click OK, the following
appears in my xterm, but the login dialog is not dismissed: 

  [bjepson@cx384756-a gda-clnt]$ gda-rolodex 
  gda-connection.c: 130: gda_connection_init called

  Gdk-WARNING **: shmget failed!

  ** WARNING **: MESSAGE: Registered with ID =
  IOR:013012401e00000049444c3a4744412f436f6e6e... [long id chopped]

The same thing happens with the db_* examples. In the db_* examples, I
create a connection, then a login object (and associate the login object
with the connection), and create a login dialog using that login object.
Then, I register for the connection object's open signal:

  /*
   * Connect the connection's open event to the close_dialog()
   * handler.
   */
  gtk_signal_connect_object_after(GTK_OBJECT(cnc),
                                  "open",
                                  GTK_SIGNAL_FUNC(close_dialog),
                                  GTK_OBJECT(logindlg));

And close_dialog() looks like this:

  gint close_dialog(GtkObject* dialog) {

    /* Close the dialog */
    gnome_dialog_close(GNOME_DIALOG(dialog));

    dialog = NULL;    /* destroy the dialog */
    gtk_main_quit();  /* terminate the main loop */
  }

Is my problem that the connection is never being opened? Is that what the
"shmget failed" message indicates?

Thanks,

--
Brian Jepson * (bjepson@jepstone.net)  *  http://www.jepstone.net/





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