Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some initial build issues re: Tom Ellis #110

Open
liamzee opened this issue Aug 26, 2023 · 0 comments
Open

Some initial build issues re: Tom Ellis #110

liamzee opened this issue Aug 26, 2023 · 0 comments

Comments

@liamzee
Copy link

liamzee commented Aug 26, 2023

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant