From: Duncan C. <dun...@wo...> - 2005-04-07 20:27:45
|
On Thu, 2005-04-07 at 21:01 +0200, Gour wrote: > Duncan Coutts (dun...@wo...) wrote: > > > So configure could not find 'ghc-6.4'. > > > > Looks like you specified ./configure --with-hc=ghc-6.4 or something. Or > > configure cached which version of ghc it was previously using. > > Right. > > The problem was old cached version. > > > autoreconf > > ./configure --with-hc={whichever version you have working atm} --with-hcflags=-H180m > > rm */*.deps (I would say use make distclean but that will delete > > the .precomp files too, and if you're still on amd64 then that would be > > a pain, if you're on x86 then make distclean is fine) > > make > > if test -f gtk/gtk.precomp; then :; else make gtk/gtk.precomp; fi; > ./tools/c2hs/c2hsLocal +RTS -H350m -M400m -RTS -iglib:gtk > --precomp=gtk/gtk.precomp -o gtk/Graphics/UI/Gtk/Types.hs > gtk/Graphics/UI/Gtk/Types.chs > c2hsLocal: Errors during expansion of binding hooks: > > gtk/Graphics/UI/Gtk/Types.chs:1149: (column 23) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `gtk_about_dialog_get_type' in the > header file. This is because we now include Gtk+ 2.6 modules. I assume you're still building on an amd64 and using the .precomp overlay right? The .precomp files are for Gtk+ 2.4 It would be possible to temporarily hack it by editing the generated Makefile but that's just going to become a pain. I'll put up a set of overlay files for Gtk+ 2.6. It's up here: http://gtk2hs.sourceforge.net/gtk2hs-0.9.7-lowmem-overlay-gtk-2.6.tar.bz2 Duncan |