summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authormax.suica <max.suica@gmail.com>2010-04-21 02:12:08 +0000
committermax.suica <max.suica@gmail.com>2010-04-21 02:12:08 +0000
commitc93a3f89c41a867f5b9bb0dda409e9dc44e76206 (patch)
tree991726a764cb024fd8a1e39c7488e79b6a54819d /INSTALL
parentc562a040612f89f9866f3173f91a954513befcb8 (diff)
Windows Install modification.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL32
1 files changed, 10 insertions, 22 deletions
diff --git a/INSTALL b/INSTALL
index 8711ed5..91397d3 100644
--- a/INSTALL
+++ b/INSTALL
@@ -15,39 +15,27 @@ INSTALLATION ON WINDOWS ----------------------------------------
15 15
161) Install the Haskell Platform (tested with 2009.2.0.2). 161) Install the Haskell Platform (tested with 2009.2.0.2).
17 17
182) Download and uncompress in a temporary location the following file: 182) Download and uncompress hmatrix-x.y.z.tar.gz from Hackage:
19 19
20 http://code.haskell.org/hmatrix/gsl-lapack-windows.zip 20 http://hackage.haskell.org/package/hmatrix
21
22 It contains a gsl folder, and four DLL's.
23
243) Move the gsl folder to
25
26 C:\Program Files\Haskell Platform\2009.2.0.2\include
27
284) Move the four DLL's to any folder without spaces in the path, e.g.:
29 21
30 C:\path\to\dll 223) Download and uncompress the following file into the hmatrix
23 directory, into a subdirectory named gsl-lapack-windows:
31 24
325) Download and uncompress hmatrix-x.y.z.tar.gz from Hackage: 25 http://code.haskell.org/hmatrix/gsl-lapack-windows.zip
33 26
34 http://hackage.haskell.org/package/hmatrix 27 It contains a gsl folder, and four DLL's.
35 28
366) Edit hmatrix.cabal: 294) Edit hmatrix.cabal:
37 30
38 line 17: build-type: Custom 31 line 17: build-type: Custom
39 change to: build-type: Simple 32 change to: build-type: Simple
40 33
41 and at the end of the file add: 345) Open a terminal, cd to the hmatrix folder, and run
42
43 extra-libraries: libgsl-0 blas lapack
44 extra-lib-dirs: C:\path\to\dll
45
467) Open a terminal, cd to the hmatrix folder, and run
47 35
48 > cabal install 36 > cabal install
49 37
508) If everything is ok we can run the tests: 386) If everything is ok we can run the tests:
51 39
52 > runhaskell examples\tests.hs 40 > runhaskell examples\tests.hs
53 41