[Haskell-cafe] Windows 7 Permission Denied Problem on Cabal

Ralph Hodgson rhodgson at topquadrant.com
Mon May 17 03:50:38 EDT 2010

Providing more evidence of the issue by running cabal with -v flag:





C:\Program Files (x86)\Haskell Platform\2009.2.0.2\bin\ar.exe -r
dist\build\libHSCabal- dist\build\Distribution\Compiler.o




Registering Cabal-

C:\Program Files (x86)\Haskell Platform\2009.2.0.2\bin\ghc-pkg.exe update -
--global --no-user-package-conf --package-conf=dist\package.conf.inplace

p(and its parents)

p\setup.exe install --verbose=2

directory dist\doc\html\Cabal does exist: False

Creating C:\Program Files (x86)\Haskell\doc\Cabal- (and its parents)

setup.exe: permission denied

cabal: Error: some packages failed to install:

Cabal- failed during the final install step. The exception was:

exit: ExitFailure 1

cabal-install-0.8.2 depends on Cabal- which failed to install.




From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Ralph Hodgson
Sent: Monday, May 17, 2010 12:18 AM
To: haskell-cafe at haskell.org
Subject: [Haskell-cafe] Windows 7 Permission Denied Problem on Cabal


Following a successful install of the Haskell Platform on MAC OSX,  I
proceed to update my Windows PC. 


Frustration followed. I am blocked by a "Permission Denied" error when I do
a "Setup install":


>ghc --make Setup

[58 of 58] Compiling Main             ( Setup.hs, Setup.o )

Linking Setup.exe ...


>Setup configure

Configuring Cabal-


>Setup build

Preprocessing library Cabal-

Building Cabal-

Registering Cabal-


>Setup install

Setup: permission denied




I changed the permission on folders in the "Haskell Platform" directories to
"full control", without any effect.


I have searched the web for help but  could not find my problem. Can't help
but think it is something trivial but what?


Help appreciated.


Ralph Hodgson, @ralphtq <http://twitter.com/ralphtq> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100517/b8895dcf/attachment.html

More information about the Haskell-Cafe mailing list