<div dir="ltr">Good idea. And I finally got to try out Github&#39;s &quot;Edit This File&quot; feature.<div><br></div><div>Michael<br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 2:44 AM, Max Cantor <span dir="ltr">&lt;<a href="mailto:mxcantor@gmail.com">mxcantor@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Probably a good idea to submit a patch to the cabal file at <a href="http://github.com/vincenthz/hs-cryptocipher" target="_blank">http://github.com/vincenthz/hs-cryptocipher</a> with the corrected dependency<br>


<div><div></div><div class="h5">On Apr 4, 2011, at 12:21 AM, Tristan Sloughter wrote:<br>
<br>
&gt; Awesome! That was it. Thanks!<br>
&gt;<br>
&gt; On Sun, Apr 3, 2011 at 11:17 AM, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt; wrote:<br>
&gt; Can you run:<br>
&gt;<br>
&gt; ghc-pkg list vector<br>
&gt;<br>
&gt; My guess is you need a newer version. If so, try &quot;cabal install vector<br>
&gt; &amp;&amp; cabal install yesod&quot;, you should be good.<br>
&gt;<br>
&gt; Vincent: it looks like Data.Vector.Unboxed.concat was introduced in<br>
&gt; vector 0.7. Do you think you could add a lower bounds on cryptocipher?<br>
&gt;<br>
&gt; Michael<br>
&gt;<br>
&gt; On Sun, Apr 3, 2011 at 7:01 PM, Tristan Sloughter<br>
&gt; &lt;<a href="mailto:tristan.sloughter@gmail.com">tristan.sloughter@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Yeah, it does:<br>
&gt; &gt; $ cabal install cryptocipher<br>
&gt; &gt; Resolving dependencies...<br>
&gt; &gt; Configuring cryptocipher-0.2.7...<br>
&gt; &gt; Preprocessing library cryptocipher-0.2.7...<br>
&gt; &gt; Preprocessing executables for cryptocipher-0.2.7...<br>
&gt; &gt; Building cryptocipher-0.2.7...<br>
&gt; &gt; [1 of 8] Compiling Number.Serialize ( Number/Serialize.hs,<br>
&gt; &gt; dist/build/Number/Serialize.o )<br>
&gt; &gt; [2 of 8] Compiling Number.Generate  ( Number/Generate.hs,<br>
&gt; &gt; dist/build/Number/Generate.o )<br>
&gt; &gt; [3 of 8] Compiling Number.ModArithmetic ( Number/ModArithmetic.hs,<br>
&gt; &gt; dist/build/Number/ModArithmetic.o )<br>
&gt; &gt; [4 of 8] Compiling Crypto.Cipher.DSA ( Crypto/Cipher/DSA.hs,<br>
&gt; &gt; dist/build/Crypto/Cipher/DSA.o )<br>
&gt; &gt; [5 of 8] Compiling Crypto.Cipher.RSA ( Crypto/Cipher/RSA.hs,<br>
&gt; &gt; dist/build/Crypto/Cipher/RSA.o )<br>
&gt; &gt; [6 of 8] Compiling Crypto.Cipher.Camellia ( Crypto/Cipher/Camellia.hs,<br>
&gt; &gt; dist/build/Crypto/Cipher/Camellia.o )<br>
&gt; &gt; [7 of 8] Compiling Crypto.Cipher.AES ( Crypto/Cipher/AES.hs,<br>
&gt; &gt; dist/build/Crypto/Cipher/AES.o )<br>
&gt; &gt; Crypto/Cipher/AES.hs:228:30: Not in scope: `V.concat&#39;<br>
&gt; &gt; Crypto/Cipher/AES.hs:229:30: Not in scope: `V.concat&#39;<br>
&gt; &gt; Crypto/Cipher/AES.hs:230:30: Not in scope: `V.concat&#39;<br>
&gt; &gt; cabal: Error: some packages failed to install:<br>
&gt; &gt; cryptocipher-0.2.7 failed during the building phase. The exception was:<br>
&gt; &gt; ExitFailure 1<br>
&gt; &gt; On Sun, Apr 3, 2011 at 10:57 AM, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; What do you get when you try to &quot;cabal install cryptocipher&quot;? Is it<br>
&gt; &gt;&gt; still complaining about V.concat?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Michael<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Sun, Apr 3, 2011 at 6:51 PM, Tristan Sloughter<br>
&gt; &gt;&gt; &lt;<a href="mailto:tristan.sloughter@gmail.com">tristan.sloughter@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt; I didn&#39;t, and added it. But it is still failing:<br>
&gt; &gt;&gt; &gt; Installing library in /Users/tristan/.cabal/lib/hjsmin-0.0.13/ghc-6.12.3<br>
&gt; &gt;&gt; &gt; Registering hjsmin-0.0.13...<br>
&gt; &gt;&gt; &gt; cabal: Error: some packages failed to install:<br>
&gt; &gt;&gt; &gt; authenticate-0.8.2.2 depends on cryptocipher-0.2.7 which failed to<br>
&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt; cryptocipher-0.2.7 failed during the building phase. The exception was:<br>
&gt; &gt;&gt; &gt; ExitFailure 1<br>
&gt; &gt;&gt; &gt; http-enumerator-0.3.1 depends on cryptocipher-0.2.7 which failed to<br>
&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt; tls-0.3.3 depends on cryptocipher-0.2.7 which failed to install.<br>
&gt; &gt;&gt; &gt; yesod-0.7.3 depends on cryptocipher-0.2.7 which failed to install.<br>
&gt; &gt;&gt; &gt; yesod-auth-0.3.2 depends on cryptocipher-0.2.7 which failed to install.<br>
&gt; &gt;&gt; &gt; On Sun, Apr 3, 2011 at 10:40 AM, Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>
&gt; &gt;&gt; &gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Do you have the ~/.cabal/bin folder (or wherever it is on Mac) in your<br>
&gt; &gt;&gt; &gt;&gt; PATH?<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Michael<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; PS: If that&#39;s the problem, let me know so I can update documentation.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; On Sun, Apr 3, 2011 at 6:37 PM, Tristan Sloughter<br>
&gt; &gt;&gt; &gt;&gt; &lt;<a href="mailto:tristan.sloughter@gmail.com">tristan.sloughter@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt; &gt; I did that, I ran the command from the Yesod website:<br>
&gt; &gt;&gt; &gt;&gt; &gt; cabal install happy &amp;&amp; cabal install alex &amp;&amp; cabal install yesod<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; On Sun, Apr 3, 2011 at 10:36 AM, Michael Snoyman<br>
&gt; &gt;&gt; &gt;&gt; &gt; &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; You probably need to install alex and happy. Cabal doesn&#39;t<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; automatically install them, since they are executables used at<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; compile<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; time and not libraries. Try:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; cabal install alex happy<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; cabal install yesod<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; Let us know if you still have problems.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; Michael<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; On Sun, Apr 3, 2011 at 6:24 PM, Tristan Sloughter<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &lt;<a href="mailto:tristan.sloughter@gmail.com">tristan.sloughter@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; On OSX 10.6.6 I&#39;m trying to install Yesod through Cabal but it<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; fails<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; because<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; its unable to build cryptocipher.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Has anyone seen this or know an answer?<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Thanks,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Tristan<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; cabal-install version 0.8.2<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; using version 1.8.0.6 of the Cabal library<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Resolving dependencies...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Configuring cryptocipher-0.2.7...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Preprocessing library cryptocipher-0.2.7...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Preprocessing executables for cryptocipher-0.2.7...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Building cryptocipher-0.2.7...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [1 of 8] Compiling Number.Serialize ( Number/Serialize.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Number/Serialize.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [2 of 8] Compiling Number.Generate  ( Number/Generate.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Number/Generate.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [3 of 8] Compiling Number.ModArithmetic ( Number/ModArithmetic.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Number/ModArithmetic.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [4 of 8] Compiling Crypto.Cipher.DSA ( Crypto/Cipher/DSA.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Crypto/Cipher/DSA.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [5 of 8] Compiling Crypto.Cipher.RSA ( Crypto/Cipher/RSA.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Crypto/Cipher/RSA.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [6 of 8] Compiling Crypto.Cipher.Camellia (<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Crypto/Cipher/Camellia.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Crypto/Cipher/Camellia.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; [7 of 8] Compiling Crypto.Cipher.AES ( Crypto/Cipher/AES.hs,<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; dist/build/Crypto/Cipher/AES.o )<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Crypto/Cipher/AES.hs:228:30: Not in scope: `V.concat&#39;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Crypto/Cipher/AES.hs:229:30: Not in scope: `V.concat&#39;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Crypto/Cipher/AES.hs:230:30: Not in scope: `V.concat&#39;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; Configuring language-javascript-0.4.3...<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; cabal: happy is required but it could not be found.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; cabal: Error: some packages failed to install:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; authenticate-0.8.2.2 depends on cryptocipher-0.2.7 which failed to<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; cryptocipher-0.2.7 failed during the building phase. The exception<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; was:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; ExitFailure 1<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; hjsmin-0.0.13 depends on language-javascript-0.4.3 which failed to<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; http-enumerator-0.3.1 depends on cryptocipher-0.2.7 which failed<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; to<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; language-javascript-0.4.3 failed during the configure step. The<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; exception<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; was:<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; ExitFailure 1<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; tls-0.3.3 depends on cryptocipher-0.2.7 which failed to install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; yesod-0.7.3 depends on language-javascript-0.4.3 which failed to<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; yesod-auth-0.3.2 depends on cryptocipher-0.2.7 which failed to<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; install.<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; web-devel mailing list<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; --<br>
&gt; &gt;&gt; &gt;&gt; &gt; ------------------------------------------<br>
&gt; &gt;&gt; &gt;&gt; &gt; Q: Why is this email five sentences or less?<br>
&gt; &gt;&gt; &gt;&gt; &gt; A: <a href="http://five.sentenc.es" target="_blank">http://five.sentenc.es</a><br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; ------------------------------------------<br>
&gt; &gt; Q: Why is this email five sentences or less?<br>
&gt; &gt; A: <a href="http://five.sentenc.es" target="_blank">http://five.sentenc.es</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ------------------------------------------<br>
&gt; Q: Why is this email five sentences or less?<br>
&gt; A: <a href="http://five.sentenc.es" target="_blank">http://five.sentenc.es</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; web-devel mailing list<br>
&gt; <a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
<br>
<br>
_______________________________________________<br>
web-devel mailing list<br>
<a href="mailto:web-devel@haskell.org">web-devel@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/web-devel" target="_blank">http://www.haskell.org/mailman/listinfo/web-devel</a><br>
</div></div></blockquote></div><br></div></div>