<br><br><div class="gmail_quote">On Sat, Jun 4, 2011 at 1:56 AM, Ivan Lazar Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@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;">
<div class="im">On 4 June 2011 07:11, Dmitri O.Kondratiev &lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt; wrote:<br>
&gt; So, if I got this right,  I should run:<br>
&gt; &#39;cabal install -fbuildExamples gnuplot&#39;<br>
&gt; from gnuplot source root folder?<br>
<br>
</div>You can either get the gnuplot tarball from Hackage, unpack it, and<br>
then within the directory do &quot;cabal install -fbuildExamples&quot; (assuming<br>
you want the examples).  Or else you can just do &quot;cabal install<br>
-fbuildExamples gnuplot&quot; from anywhere and cabal-install will download<br>
it, unpack it, build it, install it and then remove the unpacked<br>
tarball.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>I got the gnuplot tarball from Hackage, unpacked it, and then within the directory do &quot;cabal install -fbuildExamples&quot;.<br><br>That&#39;s what I get (see below). What else should I do to install gnuplot?<br>
<br>Thanks!<br><br></div><div>~/wks/haskell-wks/gnuplot/gnuplot-0.4.2/src&gt;ghc -v Demo.hs <br>Glasgow Haskell Compiler, Version 6.12.3, for Haskell 98, stage 2 booted by GHC version 6.12.2<br>Using binary package database: /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.3/package.conf.d/package.cache<br>
Using binary package database: /Users/user/.ghc/i386-darwin-6.12.3/package.conf.d/package.cache<br>hiding package Cabal-1.8.0.6 to avoid conflict with later version Cabal-1.10.1.0<br>hiding package base-3.0.3.2 to avoid conflict with later version base-4.2.0.2<br>
wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-9df3bd825ad17ca739e158c880a25b11<br>wired-in package integer-gmp mapped to integer-gmp-0.2.0.1-72436e28c79d056c87cc0d2d2f9f3773<br>wired-in package base mapped to base-4.2.0.2-99442781c4fd10a8c30c35c9ce5fac5c<br>
wired-in package rts mapped to builtin_rts<br>wired-in package haskell98 mapped to haskell98-1.0.1.1-4d2891ad99eae334ff8234bcfbddce06<br>wired-in package template-haskell mapped to template-haskell-2.4.0.1-7f84d967c8ff6750b3d865aff2a093e1<br>
wired-in package dph-seq mapped to dph-seq-0.4.0-1df951f78b4efbc84e2534bab253505d<br>wired-in package dph-par mapped to dph-par-0.4.0-436308af1d9725eae22b56265f6035ec<br>Hsc static flags: -static<br>Created temporary directory: /var/folders/Bo/BobN2Ap5GZW51e9o-n2Ack+++TI/-Tmp-/ghc5925_0<br>
*** Checking old interface for main:Main:<br>*** Parser:<br>*** Renamer/typechecker:<br><br>Demo.hs:25:0:<br>    Failed to load interface for `Paths_gnuplot&#39;:<br>      locations searched:<br>        Paths_gnuplot.hi<br>
        Paths_gnuplot.hi-boot<br>*** Deleting temp files:<br>Deleting: /var/folders/Bo/BobN2Ap5GZW51e9o-n2Ack+++TI/-Tmp-/ghc5925_0/ghc5925_0.s<br>Warning: deleting non-existent /var/folders/Bo/BobN2Ap5GZW51e9o-n2Ack+++TI/-Tmp-/ghc5925_0/ghc5925_0.s<br>
*** Deleting temp dirs:<br>Deleting: /var/folders/Bo/BobN2Ap5GZW51e9o-n2Ack+++TI/-Tmp-/ghc5925_0<br>~/wks/haskell-wks/gnuplot/gnuplot-0.4.2/src&gt;<br>
</div></div>