You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install gi-gtk, but on package gi-glib, i get this error:
GI/GLib/Flags.hs:509:5: error:
‘boxedFlagsType’ is not a (visible) method of class ‘BoxedFlags’
|
509 | boxedFlagsType _ = c_g_io_condition_get_type
| ^^^^^^^^^^^^^^
Is this a bug or something I can fix?
The text was updated successfully, but these errors were encountered:
Thanks for the report. I would need some more information to diagnose what's going on. Perhaps you are trying to install an old version of the bindings?
I just ran into this. I think I know the cause and a possible solution.
Yes, this is the result of trying to install a really old gi-cairo. Like, pre-1.0 old
The reason that happens is that the cabal solver rejects all the post-1.0 versions due to pkg-config not finding things.
In my case, the final step of the problem was solved by sudo apt install libgirepository1.0-dev
The difficulty for me was that I had to figure out which OS packages to install one at a time (when cabal dependency solving came up with something ridiculous or outright failed)
The most important step of the solution is documenting which OS packages are needed for the entire dependency tree, and maybe giving the command line for some common distributions. If possible, it might also be good to deprecate some of the older versions on hackage so cabal constraint solving doesn't try them.
I'm trying to install gi-gtk, but on package gi-glib, i get this error:
Is this a bug or something I can fix?
The text was updated successfully, but these errors were encountered: