File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,32 @@ In depth "how to" tutorials are available for each stable version at [Releases](
21
21
22
22
### Installing via Stack
23
23
24
+ First you must assure that ` stack ` is in ** version 1.6.0 or later** .
25
+ You can check the ` stack ` version with the command:
26
+
27
+ ``` bash
28
+ $ stack --version
29
+ ```
30
+ If the stack version is older, you can upgrade it by running:
31
+
32
+ ``` bash
33
+ $ stack upgrade
34
+ $ echo " export PATH=~/.local/bin:${PATH} " >> ~ /.bashrc
35
+ $ source ~ /.bashrc
36
+ ```
37
+
38
+ You may remove the previous installed stack package.
24
39
Once you have cloned this repository, install ` verigraph ` by running:
25
40
26
41
``` bash
27
42
$ stack setup # Will download and configure ghc if it is not installed yet
28
43
$ stack install
29
- $ echo " export PATH=${PATH} :~/.local/bin" >> ~ /.bashrc
30
- $ source ~ /.bashrc
31
44
```
32
45
46
+ If there is an error saying ` /usr/bin/ld: cannot find -ltinfo ` , it means you don't have ` libtinfo.so ` in your ` /usr/lib ` directory
47
+ (see https://github.com/judah/haskeline/issues/57 ).
48
+ You may install the lib package to fix this (In ubuntu the package ` libtinfo-dev ` installs this lib), and then run ` stack install ` again
49
+
33
50
If there is an error saying ` recompile with -fPIC ` , it can be fixed by the following command
34
51
(see https://github.com/commercialhaskell/stack/issues/2712 ).
35
52
You can’t perform that action at this time.
0 commit comments