From: José P. M. <jp...@cs...> - 2009-01-20 12:38:36
|
Hello Axel, On Tue, Jan 20, 2009 at 10:53, Axel Simon <Axe...@en...> wrote: > Hi Pedro, > > On Tue, 2009-01-20 at 10:37 +0100, José Pedro Magalhães wrote: > > Hello all, > > > > I cannot currently build gtk2Hs from the sources in the repository. I > > get a: > > > > gio/System/GIO/AsyncResult.chs:37:0: > > Failed to load interface for `System.GIO.Base': > > Use -v to see a list of the files searched for. > > make[1]: *** [gio/System/GIO/AsyncResult.o] Error 1 > > Did you just pulled the recent changes? I think there has been a change > that breaks dependency calculation. You could try a 'make distclean' and > build again to be sure. I just tried it now again, darcs pull -a && autoreconf && ./configure && make, same problem... > > > > Since I don't need gio I work around this by disabling gio in the > > configure step, but I thought I'd mention. This happens in Linux. > > > > Additionally, I'm wondering what happened to the comboBoxAppendText > > function. It was there in the 0.9.13 version, but I can't find it in > > the current sources nor any deprecation. > > This ad-hoc interface for using a ComboBox with Strings has disappeared > and is now replaced by comboBoxNewText which is incompatible with the > version of 0.9.13. Providing a backwards compatible implementation is a > bit difficult as it would need quite a lot of casting which makes it > rather unsafe. > > It is quite unfortunate that ComboBox does not live in TreeList/ and > ModelView/ and has thus been changed in a breaking way while deprecating > TreeList. > > I'm afraid that the best way to build with either Gtk2Hs version will be > to conditionally compile code. Ok, thanks for the information. Cheers, Pedro > > > Cheers, > Axel. > > > |