From: <cod...@go...> - 2009-01-13 14:31:42
|
Comment #3 on issue 12 by james.c...@usma.edu: Can't build with cabal install http://code.google.com/p/hoc/issues/detail?id=12 There are 2 ways I've found to achieve that goal. One is to run 'cabal build -v' with the modified HOC.cabal (no c-sources line), noting the 'ld' and 'ar' commands executed, copying, pasting and adding dist/build/HOC_cbits.o to both commands. Then mv dist/build/HSHOC- 1.0.o.tmp dist/build/HSHOC-1.0.o before running cabal install. Another solution I came up with is to (temporarily!) modify the ghc script ($prefix/bin/ghc) - removing the 'exec' from the last line and adding 'true' on the line after, so that no matter what happens inside GHC it reports success to cabal. Then, just build with an unmodified HOC.cabal (ie, with the c-sources line). Obviously, neither of these is a "good" solution, but they both seem to work. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings |