
Yes - I understand more now - thanks. -----Original Message----- From: daniel.is.fischer@web.de [mailto:daniel.is.fischer@web.de] Sent: Tuesday, June 01, 2010 10:49 AM To: haskell-cafe@haskell.org; rhodgson@topquadrant.com Cc: 'Don Stewart'; 'Henning Thielemann' Subject: Re: [Haskell-cafe] Installing Curl on Windows 7 - permissions problem On Monday 31 May 2010 23:50:58, Ralph Hodgson wrote:
Don,
More angst with Windows 7 permissions. I hope this is a simple thing for you or someone else to help me with.
I have successfully installed other packages into my private cabal area.
When it came to the Haskell curl package, I got permission errors.
Just to prove that things go to the right places, here is a successful run with the Parseargs Package.
C:\Users\Ralph>cabal install parseargs
<snip>
Now for curl.
This is what happened when I went to my windows shell:
C:\Users\Ralph\AppData\Roaming\cabal\curl-1.3.5>runhaskell setup build
Preprocessing library curl-1.3.5...
Building curl-1.3.5...
Registering curl-1.3.5...
C:\Users\Ralph\AppData\Roaming\cabal\curl-1.3.5>runhaskell setup install
setup: permission denied
I am wondering if the curl package is trying to put things in system folders?
It's not the library, it's runhaskell ./Setup.hs ... versus cabal install The previous defaults to global installs, the latter to user installs. So you can either - run cabal install in the package directory (if you don't give a package name to install, it installs [tries to install] the package from the current directory) - pass the --user flag to runhaskell ./Setup.hs, runhaskell ./Setup.hs configure --user --prefix=C:\Users\Ralph\... Getting into the habit of always using cabal install prevents such predicaments.
Help much appreciated - tight deadlines
Ralph