diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 28 |
1 files changed, 26 insertions, 2 deletions
@@ -7,7 +7,31 @@ Recommended method (ok in Ubuntu/Debian systems): | |||
7 | Detailed installation instructions: | 7 | Detailed installation instructions: |
8 | http://code.haskell.org/hmatrix/install.html | 8 | http://code.haskell.org/hmatrix/install.html |
9 | 9 | ||
10 | INSTALLATION ON WINDOWS ---------------------------------------- | 10 | INSTALLATION ON WINDOWS (hmatrix-0.9.x.x) |
11 | |||
12 | 1) Install the Haskell Platform (tested with 2009.2.0.2). | ||
13 | |||
14 | 2) Download and unzip the following file into a stable folder %GSL% | ||
15 | |||
16 | http://code.haskell.org/hmatrix/gsl-lapack-windows.zip | ||
17 | |||
18 | 3.a) In a msys shell | ||
19 | |||
20 | $ cabal install hmatrix --extra-lib-dir=${GSL} --extra-include-dir=${GSL} | ||
21 | |||
22 | 3.b) In a windows cmd | ||
23 | |||
24 | > cabal unpack hmatrix | ||
25 | |||
26 | Change build-type to "Simple" in hmatrix.cabal, line 18 | ||
27 | |||
28 | > cabal install --extra-lib-dir=%GSL% --extra-include-dir=%GSL% | ||
29 | |||
30 | 4) If everything is ok we can run the tests: | ||
31 | |||
32 | > runhaskell examples\tests.hs | ||
33 | |||
34 | INSTALLATION ON WINDOWS (hmatrix-0.8.3.1) | ||
11 | 35 | ||
12 | 1) Install the Haskell Platform (tested with 2009.2.0.2). | 36 | 1) Install the Haskell Platform (tested with 2009.2.0.2). |
13 | 37 | ||
@@ -24,7 +48,7 @@ INSTALLATION ON WINDOWS ---------------------------------------- | |||
24 | 4) Replace hmatrix.cabal by | 48 | 4) Replace hmatrix.cabal by |
25 | 49 | ||
26 | http://code.haskell.org/hmatrix/hmatrix-0.8.3.1-windows.cabal | 50 | http://code.haskell.org/hmatrix/hmatrix-0.8.3.1-windows.cabal |
27 | 51 | ||
28 | 5) In the hmatrix folder run | 52 | 5) In the hmatrix folder run |
29 | 53 | ||
30 | > cabal install | 54 | > cabal install |