I have installed the Mac OS X Haskell PLatform from here:
http://www.haskell.org/platform/mac.html
> which ghc
/usr/bin/ghc
> which ghci
/usr/bin/ghci
>cabal update
-----
>cabal install cabal-install
-----
>cabal install yesod
-----
>yesod init
-bash: yesod: command not found
>which yesod
>ghc-pkg list
....
yesod-1.2.5.2
yesod-auth-1.3.0.4
yesod-core-1.2.13
yesod-form-1.3.8.2
yesod-persistent-1.2.2.3
yesod-routes-1.2.0.6
Why did cabal fail to create a yesod binary? How do I fix this install? How do I check where yesod is installed to manually create a symlink?
Why did cabal fail to create a yesod binary? How do I fix this install?
The yesod binary isn't part of the yesod package anymore. Instead, it has been extracted into the yesod-bin package:
cabal install yesod-bin
The binary should be in ~/Library/Haskell/bin, however, I'm not an OSX user.
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