Bug in Cabal?

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Tue Jan 20 11:56:15 EST 2009

I couldn't seem to logon to the trac to report this. I'm working on windows 
(not linux as the chmod might suggest).

zlib->runghc Setup.hs
configure --package-db=..\..\ghc\ghc-6.10.1\fpf.package.conf 
Configuring zlib-

zlib->runghc Setup.hs build
Preprocessing library zlib-
Building zlib-
ghc-6.10.1\bin\ar.exe: creating dist\build\libHSzlib-

zlib->runghc Setup.hs
Setup.hs: ..\..\haskell_packages\doc\zlib-\.copyFile920.tmp: copyFile: 
permission denied (Access is denied.)

Cabal seesm to create certain things as read only. I can work around this by

chmod a+w ..\ThirdParty\haskell_packages\zlib-\ghc-6.10.1\include\*

chmod a+w ..\ThirdParty\haskell_packages\doc\zlib-\*

rm ..\ThirdParty\haskell_packages\doc\zlib-\*

I suspect most people haven't tripped over this as once something is installed 
they don't tend to install it again.


More information about the Libraries mailing list