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 0000000000..a6445c3e93 --- /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. +"""]]