darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)

#199Version bounds needed for building with cabal, readme.md contains outdated info

Good morining,

I tried to build the repository in default status, using the command from README.md

cabal build -w ghc-8.6.5

won't work, as the bounds require base>=4.14, the oldest version we can use should is ghc-8.10.7.

Building with

cabal build -w ghc-8.10.7

we met some other issues: in default status the library won't compile with ssh-0.3.2.

It turns out that we need a submodule from https://hub.darcs.net/simon/ssh, which gives us a custom version ssh-0.4.

After adding the submodule, the library can't build with MissingH-1.6.0.2. We need an upper bound fot it.

Suggestions:

  1. Adding ssh >= 0.4 to .cabal

  2. Adding MissingH < 1.5 to .cabal

  3. Adding information to readme on obtaining submodules, optionally, adding

    packages:
      .
      ./submodules/ssh

    if needed

  4. Modify the command in README to -w ghc-8.10.7

  5. While building HsOpenSSL, we are met with gcc errors, maybe we can also add (or adding it in README.md)

    package HsOpenSSL
      ghc-options: -optc=-Wno-error -optc=-Wno-error=deprecated-declarations -optc=-Wno-error=incompatible-pointer-types

These are the problems I met when I tried to build darcsden. I hope this can be helpful for people who tries to build the library, correct me if I did anything wrong.

If making edits to the .project file isn't appropriate, maybe we can add a Building Information sections in README? :)