[web-devel] Installing Yesod on OSX

Max Cantor mxcantor at gmail.com
Mon Apr 4 01:44:18 CEST 2011


Probably a good idea to submit a patch to the cabal file at http://github.com/vincenthz/hs-cryptocipher with the corrected dependency
On Apr 4, 2011, at 12:21 AM, Tristan Sloughter wrote:

> Awesome! That was it. Thanks!
> 
> On Sun, Apr 3, 2011 at 11:17 AM, Michael Snoyman <michael at snoyman.com> wrote:
> Can you run:
> 
> ghc-pkg list vector
> 
> My guess is you need a newer version. If so, try "cabal install vector
> && cabal install yesod", you should be good.
> 
> Vincent: it looks like Data.Vector.Unboxed.concat was introduced in
> vector 0.7. Do you think you could add a lower bounds on cryptocipher?
> 
> Michael
> 
> On Sun, Apr 3, 2011 at 7:01 PM, Tristan Sloughter
> <tristan.sloughter at gmail.com> wrote:
> > Yeah, it does:
> > $ cabal install cryptocipher
> > 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: Error: some packages failed to install:
> > cryptocipher-0.2.7 failed during the building phase. The exception was:
> > ExitFailure 1
> > On Sun, Apr 3, 2011 at 10:57 AM, Michael Snoyman <michael at snoyman.com>
> > wrote:
> >>
> >> What do you get when you try to "cabal install cryptocipher"? Is it
> >> still complaining about V.concat?
> >>
> >> Michael
> >>
> >> On Sun, Apr 3, 2011 at 6:51 PM, Tristan Sloughter
> >> <tristan.sloughter at gmail.com> wrote:
> >> > I didn't, and added it. But it is still failing:
> >> > Installing library in /Users/tristan/.cabal/lib/hjsmin-0.0.13/ghc-6.12.3
> >> > Registering hjsmin-0.0.13...
> >> > 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.
> >> > tls-0.3.3 depends on cryptocipher-0.2.7 which failed to install.
> >> > yesod-0.7.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.
> >> > On Sun, Apr 3, 2011 at 10:40 AM, Michael Snoyman <michael at snoyman.com>
> >> > wrote:
> >> >>
> >> >> Do you have the ~/.cabal/bin folder (or wherever it is on Mac) in your
> >> >> PATH?
> >> >>
> >> >> Michael
> >> >>
> >> >> PS: If that's the problem, let me know so I can update documentation.
> >> >>
> >> >> On Sun, Apr 3, 2011 at 6:37 PM, Tristan Sloughter
> >> >> <tristan.sloughter at gmail.com> wrote:
> >> >> > I did that, I ran the command from the Yesod website:
> >> >> > cabal install happy && cabal install alex && cabal install yesod
> >> >> >
> >> >> > On Sun, Apr 3, 2011 at 10:36 AM, Michael Snoyman
> >> >> > <michael at snoyman.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> 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.
> >> >> >>
> >> >> >> Michael
> >> >> >>
> >> >> >> 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?
> >> >> >> > Thanks,
> >> >> >> > Tristan
> >> >> >> > cabal-install version 0.8.2
> >> >> >> > using version 1.8.0.6 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'
> >> >> >> > Configuring language-javascript-0.4.3...
> >> >> >> > 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
> >> >> >> > hjsmin-0.0.13 depends on language-javascript-0.4.3 which failed to
> >> >> >> > install.
> >> >> >> > http-enumerator-0.3.1 depends on cryptocipher-0.2.7 which failed
> >> >> >> > to
> >> >> >> > install.
> >> >> >> > language-javascript-0.4.3 failed during the configure step. The
> >> >> >> > exception
> >> >> >> > was:
> >> >> >> > ExitFailure 1
> >> >> >> > tls-0.3.3 depends on cryptocipher-0.2.7 which failed to install.
> >> >> >> > yesod-0.7.3 depends on language-javascript-0.4.3 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
> >> >> >> > http://www.haskell.org/mailman/listinfo/web-devel
> >> >> >> >
> >> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > ------------------------------------------
> >> >> > Q: Why is this email five sentences or less?
> >> >> > A: http://five.sentenc.es
> >> >> >
> >> >
> >> >
> >> >
> >> >
> >
> >
> >
> > --
> > ------------------------------------------
> > Q: Why is this email five sentences or less?
> > A: http://five.sentenc.es
> >
> 
> 
> 
> -- 
> ------------------------------------------
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
> 
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel




More information about the web-devel mailing list