From: Axel S. <Axe...@en...> - 2008-02-25 10:10:18
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Feb 25, 2008, at 10:57, Martin Grabmueller wrote: > Hello all, > > I have installed gtk2hs 0.9.12.1 from source yesterday, and had two > strange problems. > > * When using Haddock 0.9 (Haddock 2.0) didn't work at all), the make > seems to go into an infinite loop, producing tons of warnings about > undefined link targets -- after half an hour I cancelled the build. I'm afraid that's normal for now. The number of warnings reduce when you manage to point haddock to the GHC libraries, then some of the missing references are resolved. But in general there are still zillions of references that are broken and that we have to sort out. Also, haddock runs several times, namely on each subdirectory. But it's not an infinite loop... for me at least. > * When building without docs, all builds and installs fine, but > building demo programs does not work. For example, a make in > demo/actionMenu gives hundreds of warnings like the following: > > /home/user/sd/lib/gtk2hs/libHSgtk.a(VBox__1.o): In function > `s2jZ_info': > (.text+0xe7): undefined reference to > `gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_ > a284_closure' > /home/user/sd/lib/gtk2hs/libHSgtk.a(TextView__95.o):(.text+0x22): > undefined refe > rence to `gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_a376_closure' > /home/user/sd/lib/gtk2hs/libHSgtk.a(PixbufData__7.o):(.text+0x41): > undefined ref > erence to `__stginit_gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_' > /home/user/sd/lib/gtk2hs/libHSgtk.a(Description__107.o):(.text > +0x4b): undefined > reference to `__stginit_gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_' > /home/user/sd/lib/gtk2hs/libHSgtk.a(GlyphStorage__21.o):(.text > +0x4b): undefined > reference to `__stginit_gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_' > collect2: ld returned 1 exit status > make: *** [actionmenu] Fehler 1 Is it possible that you have another version of Gtk2Hs installed somewhere, possibly in a different version of ghc? Simply typing 'make' in one of the demo directories picks up the default ghc with any installed Gtk2Hs in it. If this is the case, try to do a make installcheck in the main directory. This should build all demos using the ghc into which the new Gtk2hs was installed. Let us know if this doesn't work! Axel. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHwpPfA+OhltVdZ9oRAvAgAKCnDtEMYkIBklbVU3a+R701GrLjLwCg1Tem ek0fLdC+qPawS0SlKtz8+7g= =S6xi -----END PGP SIGNATURE----- |