
On Fri, Jun 18, 2010 at 4:48 PM, Daniel Kahlenberg < d.kahlenberg@googlemail.com> wrote:
Hello,
I recently installed HP 2010.1.0.0 within Windows 7 and wanted to upgrade the Cabal package to 1.8.0.6 today, sadly I got stuck on a failure building the "directory" package.
So I tried to isolate the messages a bit and gave the following a try in a ghci session (1st time only with path to cygwin binaries/2nd time only with path to msys binaries added on my path variable, for both times I append the logging output):
Prelude System.Cmd>
rawSystem "cabal" ["upgrade", "--constraint=base==4.*", "directory", "-v3", "--user", "--build-log=d:/temp/log/build-$$pkgid-$$compiler.log"]
Maybe we can find the cause?!
Greetz Daniel
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
I see on the gcc command line: -IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0/include On my machine, HsFFI.h is in lib/include, so maybe try with --extra-include-dirs=-IC:\\Program Files (x86)\\Haskell Platform\\2010.1.0.0\\lib\\include I also ran into problems with the directory package on windows, that I got around by making sure every thing was installed with --global -- JP Moresmau http://jpmoresmau.blogspot.com/