aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-06-14 12:52:53 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-06-14 12:52:53 -0400
commit625bb1bdfd6e1db038ea6a85fb7c342ecf4d24bb (patch)
treeecf78a310d373e8b141b5a14f9ab11d106feff35 /doc
parent7e8b1405d798467c1fb3958adc546351ba3e428d (diff)
resp
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/build_from_source_on_Linux_fails___40__out_of_memory__41__/comment_1_cd004b531ae384e134e16600b64473e0._comment18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/forum/build_from_source_on_Linux_fails___40__out_of_memory__41__/comment_1_cd004b531ae384e134e16600b64473e0._comment b/doc/forum/build_from_source_on_Linux_fails___40__out_of_memory__41__/comment_1_cd004b531ae384e134e16600b64473e0._comment
new file mode 100644
index 000000000..a6445c3e9
--- /dev/null
+++ b/doc/forum/build_from_source_on_Linux_fails___40__out_of_memory__41__/comment_1_cd004b531ae384e134e16600b64473e0._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-06-14T16:48:36Z"
+ content="""
+This is cabal trying to resolve the dependencies and failing to find any
+solution, and trying harder and harder as it leaks memory somewhere.
+
+IIRC newer versions of cabal behave better in these situations, but the
+underlying problem is that there is a problem in your set of installed
+haskell libraries that prevents cabal finding a solution.
+
+cabal configure -v3 will show you the dependency resolver at work, and can be examined
+to find the details. But, the easy solution is probably to use stackage
+which will provide cabal with a canned dependency solution. Just copy
+`standalone/linux/cabal.config` to the top of the source tree and re-run
+cabal configure.
+"""]]