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:
Adding
ssh >= 0.4to .cabalAdding
MissingH < 1.5to .cabalAdding information to readme on obtaining submodules, optionally, adding
packages: . ./submodules/sshif needed
Modify the command in README to
-w ghc-8.10.7While 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? :)
Thanks for reporting! I'm sorry for the out of date docs; darcsden currently receives emergency maintenance only. I would be very happy to pull doc/buildability updates from your branch.
Thanks Simon, I have forked and updated the patches in my branch, 2 of them is about this issue, you can review them now!
Now merged - thank you!