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