summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-03-29 17:26:23 +0000
committerAlberto Ruiz <aruiz@um.es>2010-03-29 17:26:23 +0000
commitbc5cb922434daef2e4e1dd910479d2c4af37b44c (patch)
tree85be50af523229589d979a5fcf4cbd9bc10909ee /INSTALL
parent47a3c55318a7eb5fa131c28a6548ed8643e6d6d1 (diff)
updated INSTALL file
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL28
1 files changed, 13 insertions, 15 deletions
diff --git a/INSTALL b/INSTALL
index e4e1b7d..8711ed5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -13,29 +13,27 @@ Detailed installation instructions:
13 13
14INSTALLATION ON WINDOWS ---------------------------------------- 14INSTALLATION ON WINDOWS ----------------------------------------
15 15
161) Install a recent ghc (e.g. ghc-6.10.3) 161) Install the Haskell Platform (tested with 2009.2.0.2).
17 17
182) Install cabal-install. A binary for windows can be obtained from: 182) Download and uncompress in a temporary location the following file:
19 19
20 http://www.haskell.org/cabal/release/cabal-install-0.6.2/cabal.exe 20 http://code.haskell.org/hmatrix/gsl-lapack-windows.zip
21
22 Put it somewhere in the path, for instance in c:\ghc\ghc-6.10.3\bin
23 21
243) Download and uncompress in a temporary location the following file: 22 It contains a gsl folder, and four DLL's.
25 23
26 http://code.haskell.org/hmatrix/gsl-lapack-windows.zip 243) Move the gsl folder to
27 25
28 It contains a folder, gsl, and four DLL's. 26 C:\Program Files\Haskell Platform\2009.2.0.2\include
29 27
304) Move the gsl folder to C:\ghc\ghc-6.10.3\include 284) Move the four DLL's to any folder without spaces in the path, e.g.:
31 29
325) Move the four DLL's to C:\ghc\ghc-6.10.3\bin 30 C:\path\to\dll
33 31
346) Download and uncompress hmatrix-x.y.z.tar.gz from Hackage: 325) Download and uncompress hmatrix-x.y.z.tar.gz from Hackage:
35 33
36 http://hackage.haskell.org/package/hmatrix 34 http://hackage.haskell.org/package/hmatrix
37 35
387) Edit hmatrix.cabal: 366) Edit hmatrix.cabal:
39 37
40 line 17: build-type: Custom 38 line 17: build-type: Custom
41 change to: build-type: Simple 39 change to: build-type: Simple
@@ -43,13 +41,13 @@ INSTALLATION ON WINDOWS ----------------------------------------
43 and at the end of the file add: 41 and at the end of the file add:
44 42
45 extra-libraries: libgsl-0 blas lapack 43 extra-libraries: libgsl-0 blas lapack
46 extra-lib-dirs: c:\ghc\ghc-6.10.3\bin 44 extra-lib-dirs: C:\path\to\dll
47 45
488) Open a terminal, cd to the hmatrix folder, and run 467) Open a terminal, cd to the hmatrix folder, and run
49 47
50 > cabal install 48 > cabal install
51 49
529) If everything is ok we can run the tests: 508) If everything is ok we can run the tests:
53 51
54 > runhaskell examples\tests.hs 52 > runhaskell examples\tests.hs
55 53