diff options
author | max.suica <max.suica@gmail.com> | 2010-04-21 02:12:08 +0000 |
---|---|---|
committer | max.suica <max.suica@gmail.com> | 2010-04-21 02:12:08 +0000 |
commit | c93a3f89c41a867f5b9bb0dda409e9dc44e76206 (patch) | |
tree | 991726a764cb024fd8a1e39c7488e79b6a54819d /INSTALL | |
parent | c562a040612f89f9866f3173f91a954513befcb8 (diff) |
Windows Install modification.
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 32 |
1 files changed, 10 insertions, 22 deletions
@@ -15,39 +15,27 @@ INSTALLATION ON WINDOWS ---------------------------------------- | |||
15 | 15 | ||
16 | 1) Install the Haskell Platform (tested with 2009.2.0.2). | 16 | 1) Install the Haskell Platform (tested with 2009.2.0.2). |
17 | 17 | ||
18 | 2) Download and uncompress in a temporary location the following file: | 18 | 2) 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 | |||
24 | 3) Move the gsl folder to | ||
25 | |||
26 | C:\Program Files\Haskell Platform\2009.2.0.2\include | ||
27 | |||
28 | 4) Move the four DLL's to any folder without spaces in the path, e.g.: | ||
29 | 21 | ||
30 | C:\path\to\dll | 22 | 3) Download and uncompress the following file into the hmatrix |
23 | directory, into a subdirectory named gsl-lapack-windows: | ||
31 | 24 | ||
32 | 5) 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 | ||
36 | 6) Edit hmatrix.cabal: | 29 | 4) 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: | 34 | 5) 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 | |||
46 | 7) Open a terminal, cd to the hmatrix folder, and run | ||
47 | 35 | ||
48 | > cabal install | 36 | > cabal install |
49 | 37 | ||
50 | 8) If everything is ok we can run the tests: | 38 | 6) If everything is ok we can run the tests: |
51 | 39 | ||
52 | > runhaskell examples\tests.hs | 40 | > runhaskell examples\tests.hs |
53 | 41 | ||