Re: [gnome-db] Libgda 4.1.11, last before 4.2

Vivien Malerba <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
On 20 September 2010 22:15, Shawn Ferris <[email protected]> wrote:
> Hey Vivien - It's been a while since I've had a chance to play with libgda
> but I'm very excited about the upcoming 4.2 release. Great work as always!
> (And thanks for the SQLCipher addition. I've been playing with that for
> quite a while now.)
>
> Anwyay, I decided to grab the 4.1.11 tarball and compile it. Unfortunately,
> I'm having some trouble...
>
> Firstly.. The gir files are missing? (I checked git too) I don't know much
> about gobject-introspection, so perhaps there's something I'm missing? EG:
>
> make[2]: *** No rule to make target `Gda-4.0.gir', needed by `all-am'.
> Stop.

Can you send me you config.log file?

>
> This happens for the typelib files too and in both, the ligbda and libgda-ui
> directories. (I just touched them to get past the errors)
>
> Also, libgda-ui fails to compile on my machine which is running gtk-2.18:
> (Fedora 12)
>
> ../../libgda-ui/.libs/libgda-ui-4.0.so: undefined reference to
> `gtk_widget_get_realized'
> ../../libgda-ui/.libs/libgda-ui-4.0.so: undefined reference to
> `gtk_widget_set_realized'
>
> Which I believe isn't available until gtk-2.20? and autoconfig is only
> checking for gtk-2.12 or higher. Is the intention to support earlier
> versions?

The earliest supported version of GTK+ is 2.12, but compiling with
this version will disable some corner features. However it should
compile and work.

This is a bug from me, as the current check for that symbol is for
version 2.18.0 when in fact it appeared in version 2.20. I'll correct
this ASAP. In the meanwhile, you can replace the checks in the
libgda-ui/data-entries/widget-embedder.[ch] files by:
GTK_CHECK_VERSION(2,20,0)

Regards,

Vivien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.