diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 2d292b2..0000000 --- a/INSTALL +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | INSTALLATION | ||
2 | |||
3 | Recommended method (tested on Ubuntu/Debian systems): | ||
4 | $ sudo apt-get install libgsl0-dev liblapack-dev | ||
5 | $ cabal install hmatrix | ||
6 | |||
7 | Detailed installation instructions: | ||
8 | http://code.haskell.org/hmatrix/install.html | ||
9 | |||
10 | INSTALLATION ON WINDOWS | ||
11 | |||
12 | 1) Install the Haskell Platform (tested on 2011.2.0.1) | ||
13 | |||
14 | > cabal update | ||
15 | |||
16 | 2) Download and unzip the following file into a stable folder %GSL% | ||
17 | |||
18 | http://perception.inf.um.es/hmatrix/gsl-lapack-windows.zip | ||
19 | |||
20 | 3.a) In a msys shell installation should be fully automatic: | ||
21 | |||
22 | $ cabal install hmatrix --extra-lib-dir=${GSL} --extra-include-dir=${GSL} | ||
23 | |||
24 | 3.b) Alternatively, in a normal windows cmd: | ||
25 | |||
26 | > cabal unpack hmatrix | ||
27 | |||
28 | Edit hmatrix.cabal, in line 28 change build-type to "Simple", and then | ||
29 | |||
30 | > cabal install --extra-lib-dir=%GSL% --extra-include-dir=%GSL% | ||
31 | |||
32 | It may be necessary to put the dlls in the search path. | ||
33 | |||
34 | 4) If everything is ok we can run the tests: | ||
35 | |||
36 | > ghci | ||
37 | Prelude> Numeric.LinearAlgebra.Tests.runTests 20 | ||
38 | |||
39 | NOTE: The examples using graphics do not yet work in windows. | ||
40 | |||