Clarify installation instructions and list dep libs (thanks ultrason)

This commit is contained in:
fr33domlover 2018-05-12 09:42:00 +00:00
parent 25f1db2941
commit 2701b4e547

View file

@ -12,9 +12,22 @@ version. If your distro has 1.1, see if you can grab 1.0 or 1.0.1 in some way,
either through the distro package or by downloading OpenSSL manually from its either through the distro package or by downloading OpenSSL manually from its
website, or some alternative package manager such as GNU Guix. website, or some alternative package manager such as GNU Guix.
Install stack. To install stack, go to its website and follow the instructions. Install dependency library development packages. It's very likely you already
If you have some old version, such as one installed from FPComplete's old have them all installed, and if you're missing some, the build process will
debian repo, you may need to upgrade it. inform you. But it's still nice to have a list here. The list below isn't a
complete list, it's just libraries that people have found missing while
building, and let me know.
- PostgreSQL client library
- ZLib
On Debian based distros, installation can be done like this:
$ sudo apt install libpq-dev zlib1g-dev
Install stack. To install stack, go to its [website](https://haskellstack.org)
and follow the instructions. If you have some old version, such as one
installed from FPComplete's old debian repo, you may need to upgrade it.
Install Darcs. You can grab it from your distro, e.g.: Install Darcs. You can grab it from your distro, e.g.:
@ -41,10 +54,13 @@ of writing, there are 4 of them (`hit-harder`, `hit-graph`, `hit-network` and
$ darcs clone https://dev.seek-together.space/s/fr33domlover/r/ssh $ darcs clone https://dev.seek-together.space/s/fr33domlover/r/ssh
Some of those extra repos are at `hub.darcs.net` and some at Those extra repos should be found at the
`dev.seek-together.space/s/fr33domlover/r`, I'm sorry I'm not just listing the [Vervis project page](https://dev.seek-together.space/s/fr33domlover/p/vervis).
URLs here. These things have been changing often, but once they stabilize I If something is missing there, try my
will update the docs, and also make releases of all these extra libraries. [Darcs Hub page](https://hub.darcs.net/fr33domlover). I'm sorry I'm not just
listing the URLs here. These things have been changing often, but once they
stabilize I will update the docs, and also make releases of all these extra
libraries.
Update `stack.yaml` to specify that path in the `packages` section if needed: Update `stack.yaml` to specify that path in the `packages` section if needed: