Whenever I'm running any command that includes cabal-dev, I'm getting the following error:
cabal-dev: command not found
I've downloaded cabal-dev package from
http://hackage.haskell.org/package/cabal-dev
But there are no instructions on how to install it.
Asked
Active
Viewed 624 times
0

duplex143
- 619
- 2
- 9
- 25
-
1`cabal-dev` is deprecated. Use `cabal-install` instead of that. (Or Stack which provides a better UX in my opinion.). – Sibi Apr 10 '17 at 17:36
-
*cabal-dev* is a predecessor to the [`cabal sandbox` command of *cabal-install*](https://www.haskell.org/cabal/users-guide/installing-packages.html#developing-with-sandboxes), so any usage instructions involving one should translate to the other in a reasonably direct way. – duplode Apr 10 '17 at 17:53
-
1As mentioned in the following website, https://wiki.haskell.org/Cabal/How_to_install_a_Cabal_package when I'm trying to run the command, **runhaskell Setup configure** I'm getting the errors **Setup: Encountered missing dependencies: Cabal >=1.2 && <1.17, process >=1.0 && <1.2** OR **Setup: Encountered missing dependencies: utf8-string >=0.2 && <1.1** @Sibi – duplex143 Apr 10 '17 at 18:17
-
Using `Setup.{l,}hs` directly hasn't been typical for a long time. Download and install `cabal-install` then install Haskell packages using `cabal install
`. – Thomas M. DuBuisson Apr 10 '17 at 18:26 -
1I'm getting errors when I'm trying to run **cabal install
** command. That's the sole reason I'm trying to install packages manually and whenever I'm trying to do this I'm always getting the error **Setup: Encountered missing dependencies:** Any idea on how to correct it? @ThomasM.DuBuisson – duplex143 Apr 10 '17 at 19:04 -
You should make a new question with your full command and output. Starting from `cabal --version` to `cabal install
` then maybe `cabal install – Thomas M. DuBuisson Apr 10 '17 at 19:12-v3`. -
1It has been done at `http://stackoverflow.com/questions/43331920/installing-cabal-packages-returns-errors` @ThomasM.DuBuisson – duplex143 Apr 10 '17 at 19:57
-
1The output of `cabal install
-v3` hasn't been added since it's very huge. @ThomasM.DuBuisson – duplex143 Apr 10 '17 at 19:59
1 Answers
1
It has something to do with MacOS. This command solved the problem.
cabal install gtk -fhave-quartz-gtk

duplex143
- 619
- 2
- 9
- 25