I've been provided with a Setup.hs file, along with another .hs file that contains the source code. Whenever I try to configure the install by the following:
runhaskell Setup.hs configure
I get the error:
Setup: At least the following dependencies are missing: binary >=0.4.0 && <0.6.0, haskeline ==0.6.*
I've since installed these dependencies using cabal, but when I try to run the Setup configure command again, I get the same error. I'm completely new to Haskell - is there another step I'm missing after doing a cabal install before trying to run Setup again?
How did you install the packages? If you installed them with the --user
flag, then you also need to configure with the --user
flag.
You can verify that the packages are installed by running ghc-pkg list binary
and ghc-pkg list haskeline
. It will list the installed package versions matching that name along with where they are installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With