gi-gtk-declarative
gi-gtk-declarative copied to clipboard
Some initial build issues re: Tom Ellis
Working on some initial build issues right now.
To my surprise, iirc, on at least 9.6.2 GHC on Windows, there were dependencies unmet in 9.6.2 GHC that meant that the library simply wouldn't attempt to compile, and iirc, this was the case for every other GHC version I tried.
On Linux, however, at least on 9.4.6, either my installed gi-cairo / gi-glib versions weren't working, or there seems to be some kind of build issue. Similar, but different build issues arise up to 9.2.8, now trying 8.10.7...
Nope.
GI/GLib/Functions.hs:5083:34: error: • Couldn't match type ‘Char’ with ‘CInt’ Expected type: Ptr CInt Actual type: Ptr Char • In the first argument of ‘g_unicode_canonical_ordering’, namely ‘string'’ In a stmt of a 'do' block: g_unicode_canonical_ordering string' len In the second argument of ‘($)’, namely ‘do let len = fromIntegral $ length string string' <- packStorableArray string g_unicode_canonical_ordering string' len freeMem string' ....’ | 5083 | g_unicode_canonical_ordering string' len | ^^^^^^^ Error: cabal: Failed to build gi-glib-2.0.25 (which is required by gi-gtk-declarative-0.7.1). See the build log above for details.
Via pacman -Ss:
. extra/haskell-gi-glib 2.0.29-8 [installed] GLib bindings extra/haskell-glib 0.13.8.2-49 [installed] Binding to the GLIB library for Gtk2Hs.
core/glib2 2.76.4-1 [installed] Low level core library core/glib2-docs 2.76.4-1 Low level core library - documentation core/glibc 2.38-3 [installed]
Not sure if you can reproduce on your side, I'm not going lower than 8.10.7...