Hi, I reported my full problem here: http://hackage.haskell.org/trac/gtk2hs/ticket/1272
The commands I run are: runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build and the output is: Building glib-0.12.3.1... Preprocessing library glib-0.12.3.1... [ 1 of 21] Compiling System.Glib.Attributes ( System/Glib/Attributes.hs, dist/build/System/Glib/Attributes.o ) [ 2 of 21] Compiling System.Glib.Flags ( System/Glib/Flags.hs, dist/build/System/Glib/Flags.o ) [ 3 of 21] Compiling System.Glib.FFI ( System/Glib/FFI.hs, dist/build/System/Glib/FFI.o ) [ 4 of 21] Compiling System.Glib.Types ( dist/build/System/Glib/Types.hs, dist/build/System/Glib/Types.o ) [ 5 of 21] Compiling System.Glib.GString ( dist/build/System/Glib/GString.hs, dist/build/System/Glib/GString.o ) [ 6 of 21] Compiling System.Glib.GList ( dist/build/System/Glib/GList.hs, dist/build/System/Glib/GList.o ) [ 7 of 21] Compiling System.Glib.GType ( dist/build/System/Glib/GType.hs, dist/build/System/Glib/GType.o ) [ 8 of 21] Compiling System.Glib.GValue ( dist/build/System/Glib/GValue.hs, dist/build/System/Glib/GValue.o ) [ 9 of 21] Compiling System.Glib.GParameter ( dist/build/System/Glib/GParameter.hs, dist/build/System/Glib/GParameter.o ) [10 of 21] Compiling System.Glib.GTypeConstants ( dist/build/System/Glib/GTypeConstants.hs, dist/build/System/Glib/GTypeConstants.o ) [11 of 21] Compiling System.Glib.UTFString ( System/Glib/UTFString.hs, dist/build/System/Glib/UTFString.o ) [12 of 21] Compiling System.Glib.GObject ( dist/build/System/Glib/GObject.hs, dist/build/System/Glib/GObject.o ) System/Glib/GObject.chs:130:1: Unacceptable result type in foreign declaration: IO (FunPtr (Ptr () -> IO ())) When checking declaration: foreign import ccall safe "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify The link to a workaround that fixes this problem is at https://github.com/vodik/gtk2hs-patched-ghc-7.6.1/commit/74ba88a10f578323e861f352cac09e722419be1c note that this patch is only a workaround for the error and not a proper fix. It only exists to demonstrate what ghc is expecting. I have attempted to fix this error but I just do not understand enough about the code to be able to successfully debug this. Thanks for any help! ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel