<div dir="ltr"><div><div>Thank you for the correction, Ivan. I've pushed that change to IHaskell.cabal so that this doesn't trip anyone up in the future. <br><br></div>IHaskell assumes that when you run 'cabal install', your IHaskell executable will be on the $PATH. (In order to run 'IHaskell setup', both your shell and IHaskell itself must be able to detect where the IHaskell executable is, because it needs to put that information into the IPython configuration it generates.)<br>

<br></div>-- Andrew<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 2:18 AM, Triwanto Simanjuntak <span dir="ltr"><<a href="mailto:simanjuntak.triwanto@gmail.com" target="_blank">simanjuntak.triwanto@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrew,<br>
<br>
The solution from Ivan made the installation of IHaskell successful.<br>
However when creating IPython profile by invoking, "IHaskell setup",<br>
gave error, "IHaskell: command not found".  Is it because the<br>
installation didn't make IHaskell on $Path ?<br>
<br>
Triwanto<br>
<a href="mailto:simanjuntak.triwanto@gmail.com">simanjuntak.triwanto@gmail.com</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Oct 23, 2013 at 2:39 PM, Ivan Lazar Miljenovic<br>
<<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>> wrote:<br>
> On 23 October 2013 16:53, Andrew Gibiansky <<a href="mailto:andrew.gibiansky@gmail.com">andrew.gibiansky@gmail.com</a>> wrote:<br>
>> Triwanto,<br>
>><br>
>> IHaskell depends on the 'uuid' package and requires version 1.2.*. Check to<br>
>> make sure you have uuid installed. I build it with 1.2.13, and it looks like<br>
>> the most recent one is 1.2.14, which should also have that module [1]. So,<br>
>> before building, make sure you have uuid==1.2.* installed - I'm sort of new<br>
>> to cabal packaging, so perhaps my dependencies are not specified quite<br>
>> correctly, but that is the issue that message seems to point to.<br>
>><br>
>> Let me know how it goes. The full list of dependencies from the *.cabal file<br>
>> is as follows, in case you have other problems:<br>
>>   build-depends:       base ==4.6.*,<br>
>>                        zeromq3-haskell ==0.5.*,<br>
>>                        aeson ==0.6.*,<br>
>>                        MissingH ==1.2.*,<br>
>>                        basic-prelude ==0.3.*,<br>
>>                        classy-prelude ==0.6.*,<br>
>>                        bytestring ==0.10.*,<br>
>>                        uuid ==1.2.*,<br>
>>                        containers ==0.5.*,<br>
>>                        haskell-src-exts ==1.14.*,<br>
>>                        ghc ==7.6.*,<br>
>>                        ghc-paths ==0.1.*,<br>
>>                        random ==1.0.*,<br>
>>                        strict ==0.3.*,<br>
>>                        shelly ==1.3.*,<br>
>>                        text ==0.11.*<br>
>><br>
>> Note that zeromq3-haskell will require zmq3 installed, and in saucy that is<br>
>> provided via 'apt-get install libzmq3-dev', I think.<br>
><br>
> The .V4 module only seems to have appeared in version 1.2.6; as such<br>
> you'll need to change the appropriate line to "uuid >= 1.2.6 && < 1.3"<br>
> (assuming you have indeed tested and found that your code won't work<br>
> with the 1.3.x versions).<br>
><br>
>><br>
>> Andrew<br>
>><br>
>> [1]<br>
>> <a href="http://haddocks.fpcomplete.com/fp/7.4.2/20130922-179/uuid/Data-UUID-V4.html" target="_blank">http://haddocks.fpcomplete.com/fp/7.4.2/20130922-179/uuid/Data-UUID-V4.html</a><br>
>><br>
>><br>
>> On Tue, Oct 22, 2013 at 10:11 PM, Triwanto Simanjuntak<br>
>> <<a href="mailto:simanjuntak.triwanto@gmail.com">simanjuntak.triwanto@gmail.com</a>> wrote:<br>
>>><br>
>>> Andrew,<br>
>>><br>
>>> I tried to install IHaskell on Ubuntu 13.10 (Saucy 64 bit) and recieved<br>
>>> the following error<br>
>>><br>
>>> Resolving dependencies...<br>
>>> Configuring IHaskell-0.1.0.0...<br>
>>> Building IHaskell-0.1.0.0...<br>
>>> Preprocessing executable 'IHaskell' for IHaskell-0.1.0.0...<br>
>>><br>
>>> IHaskell/Message/UUID.hs:10:8:<br>
>>>     Could not find module `Data.UUID.V4'<br>
>>>     Perhaps you meant<br>
>>>       Data.UUID.V1 (from uuid-1.2.3)<br>
>>>       Data.UUID.V3 (from uuid-1.2.3)<br>
>>>       Data.UUID.V5 (from uuid-1.2.3)<br>
>>>     Use -v to see a list of the files searched for.<br>
>>> Failed to install IHaskell-0.1.0.0<br>
>>> cabal: Error: some packages failed to install:<br>
>>> IHaskell-0.1.0.0 failed during the building phase. The exception was:<br>
>>> ExitFailure 1<br>
>>><br>
>>> Any idea how to solve it?<br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Triwanto<br>
>>><br>
>>><br>
>>> On Tuesday, October 22, 2013 4:32:10 AM UTC+7, Andrew Gibiansky wrote:<br>
>>>><br>
>>>> Hey everyone!<br>
>>>><br>
>>>> I'm excited to announce the initial release of IHaskell, a Haskell<br>
>>>> language kernel for IPython:<br>
>>>><br>
>>>> <a href="http://gibiansky.github.io/IHaskell" target="_blank">http://gibiansky.github.io/IHaskell</a><br>
>>>><br>
>>>> IHaskell allows IPython to communicate with the kernel and evaluate<br>
>>>> Haskell code. This enables using IPython interfaces such as console,<br>
>>>> qtconsole, and most importantly, IPython notebook with Haskell. The IPython<br>
>>>> Notebook supports image, HTML, and LaTeX output, which enables things such<br>
>>>> as Javascript viewers for complex data structures or embedded graphs and<br>
>>>> makes it a great platform for interactive computing.<br>
>>>><br>
>>>> You can take a look at the code and install instructions here:<br>
>>>><br>
>>>> <a href="https://github.com/gibiansky/IHaskell" target="_blank">https://github.com/gibiansky/IHaskell</a><br>
>>>><br>
>>>> A general overview of the architecture is available as well:<br>
>>>><br>
>>>> <a href="http://andrew.gibiansky.com/blog/ipython/ipython-kernels/" target="_blank">http://andrew.gibiansky.com/blog/ipython/ipython-kernels/</a><br>
>>>><br>
>>>> Contributing: IHaskell is a very young project, but one that I think<br>
>>>> would make a great contribution to the Haskell community. There's still tons<br>
>>>> and tons left to do before it's on par with what IPython notebook is capable<br>
>>>> of, so if you're at all interested in contributing, please get in touch!<br>
>>>> I've tried to keep everything well-documented and readable, but I will also<br>
>>>> be happy to answer questions about the code myself.<br>
>>>><br>
>>>> If you find any bugs or edge cases or installation difficulties, please<br>
>>>> send me an email or create a Github issue for it!<br>
>>>><br>
>>>> Thanks,<br>
>>>> -- Andrew Gibiansky<br>
>>>><br>
>>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Ivan Lazar Miljenovic<br>
> <a href="mailto:Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>
> <a href="http://IvanMiljenovic.wordpress.com" target="_blank">http://IvanMiljenovic.wordpress.com</a><br>
</div></div></blockquote></div><br></div>