I am trying to install the Haskell gloss library, on Mac OS Catalina, but I have a lot of problems.
I download the tar.gz file from that page.
The first thing I did was follow this steps to install Haskell.
Already with cabal installed (the previous link downloads it), I used this command cabal install gloss
. But report the following error:
❯ cabal install gloss
Resolving dependencies...
cabal: Cannot build the executables in the package gloss because it does not
contain any executables. Check the .cabal file for the package and make sure
that it properly declares the components that you expect.
I already did cabal update
. And then again cabal install gloss
, but nothing.
Then I did cabal v2-update
, all okey. And cabal v2-install --lib gloss
, but here the report was: