Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yesod Binary Unavailable

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?

like image 716
Abraham P Avatar asked Jul 06 '26 01:07

Abraham P


1 Answers

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.

like image 87
Zeta Avatar answered Jul 08 '26 23:07

Zeta