On Tue, 2009-11-17 at 02:32 +0800, Andy Stewart wrote: > Axel Simon <axel.si...@ens.fr> writes: > > As I said above, do a 'make clean' first. > > I describe my install step: > > 1-> Download source code: darcs get --partial > http://code.haskell.org/gtk2hs/ > 2-> Configure: autoreconf && ./configure --with-hcflags=-O0 > 3-> make > 4-> make clean (I'm not understand why need `make clean`, but still do > that like you said) > 5-> sudo make install > > Then i compile my project: > > 6-> Clean my project first: runhaskell Setup clean > 7-> Compile my project: runhaskell Setup configure --user && runhaskell > Setup build && runhaskell Setup install > > And i still got below error: > > ------------------------------> error start <------------------------------ > -*- mode: compilation; default-directory: > "~/Projects/Haskell/Manatee/manatee-0.9.6/" -*- > Compilation started at Tue Nov 17 02:27:27 > > runhaskell Setup configure --user && runhaskell Setup build && runhaskell > Setup install > Configuring Manatee-0.9.6... > Warning: 'license: GPL3' is not a recognised license. > Preprocessing executables for Manatee-0.9.6... > Building Manatee-0.9.6... > [ 1 of 43] Compiling Manatee.Event.Key ( Manatee/Event/Key.hs, > dist/build/Manatee/Manatee-tmp/Manatee/Event/Key.o ) > [ 2 of 43] Compiling Manatee.Event.Event ( Manatee/Event/Event.hs, > dist/build/Manatee/Manatee-tmp/Manatee/Event/Event.o ) > [ 3 of 43] Compiling Manatee.Data.TypeId ( Manatee/Data/TypeId.hs, > dist/build/Manatee/Manatee-tmp/Manatee/Data/TypeId.o ) > Loading package ghc-prim ... linking ... done. > Loading package integer ... linking ... done. > Loading package base ... linking ... done. > Loading package mtl-1.1.0.2 ... linking ... done. > Loading package glib-0.10.1 ... linking ... done. > Loading package bytestring-0.9.1.4 ... linking ... done. > ghc: /usr/local/lib/gtk2hs/HScairo.o: unknown symbol > `arrayzm0zi2zi0zi0_DataziArrayziBase_zddmunsafeNewArrayzu_closure' > Loading package cairo-0.10.1 ... linking ... ghc: unable to load package > `cairo-0.10.1' > > Compilation exited abnormally with code 1 at Tue Nov 17 02:27:30 > ------------------------------> error end <------------------------------ > > I have an old repo (at Oct 11) haven't above problem. > > Any idea?
I see. I added an dependency of Cairo on array which I haven't put into the package file. I don't quite understand why this dependency is only in the .package.in file and not in the cabal.in file but I guess only Duncan knows about this. So I push this patch now. Please check if that fixes your issue. Cheers, Axel. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel