[web-devel] Installing Yesod on OSX
michael at snoyman.com
Sun Apr 3 17:36:32 CEST 2011
You probably need to install alex and happy. Cabal doesn't
automatically install them, since they are executables used at compile
time and not libraries. Try:
cabal install alex happy
cabal install yesod
Let us know if you still have problems.
On Sun, Apr 3, 2011 at 6:24 PM, Tristan Sloughter
<tristan.sloughter at gmail.com> wrote:
> On OSX 10.6.6 I'm trying to install Yesod through Cabal but it fails because
> its unable to build cryptocipher.
> Has anyone seen this or know an answer?
> cabal-install version 0.8.2
> using version 126.96.36.199 of the Cabal library
> Resolving dependencies...
> Configuring cryptocipher-0.2.7...
> Preprocessing library cryptocipher-0.2.7...
> Preprocessing executables for cryptocipher-0.2.7...
> Building cryptocipher-0.2.7...
> [1 of 8] Compiling Number.Serialize ( Number/Serialize.hs,
> dist/build/Number/Serialize.o )
> [2 of 8] Compiling Number.Generate ( Number/Generate.hs,
> dist/build/Number/Generate.o )
> [3 of 8] Compiling Number.ModArithmetic ( Number/ModArithmetic.hs,
> dist/build/Number/ModArithmetic.o )
> [4 of 8] Compiling Crypto.Cipher.DSA ( Crypto/Cipher/DSA.hs,
> dist/build/Crypto/Cipher/DSA.o )
> [5 of 8] Compiling Crypto.Cipher.RSA ( Crypto/Cipher/RSA.hs,
> dist/build/Crypto/Cipher/RSA.o )
> [6 of 8] Compiling Crypto.Cipher.Camellia ( Crypto/Cipher/Camellia.hs,
> dist/build/Crypto/Cipher/Camellia.o )
> [7 of 8] Compiling Crypto.Cipher.AES ( Crypto/Cipher/AES.hs,
> dist/build/Crypto/Cipher/AES.o )
> Crypto/Cipher/AES.hs:228:30: Not in scope: `V.concat'
> Crypto/Cipher/AES.hs:229:30: Not in scope: `V.concat'
> Crypto/Cipher/AES.hs:230:30: Not in scope: `V.concat'
> cabal: happy is required but it could not be found.
> cabal: Error: some packages failed to install:
> authenticate-0.8.2.2 depends on cryptocipher-0.2.7 which failed to install.
> cryptocipher-0.2.7 failed during the building phase. The exception was:
> ExitFailure 1
> http-enumerator-0.3.1 depends on cryptocipher-0.2.7 which failed to install.
> ExitFailure 1
> tls-0.3.3 depends on cryptocipher-0.2.7 which failed to install.
> yesod-auth-0.3.2 depends on cryptocipher-0.2.7 which failed to install.
> web-devel mailing list
> web-devel at haskell.org
More information about the web-devel