[Haskell-beginners] problem installing network on windows

Emmanuel Touzery etouzery at gmail.com
Fri Dec 21 21:44:12 CET 2012


running cmd.exe as admin or marking ghc-pkg to be run as administrator does
not help.


On Fri, Dec 21, 2012 at 9:36 PM, Emmanuel Touzery <etouzery at gmail.com>wrote:

> hmm maybe a step forward...
>
> running:
> cabal install network --reinstall -v
>
> the final output lines are in fact:
>
> Registering network-2.4.0.1...
> C:\ghc\ghc-7.6.1\bin\ghc-pkg.exe update - --global --user
> cabal: permission denied
>
>
> On Fri, Dec 21, 2012 at 8:58 PM, Emmanuel Touzery <etouzery at gmail.com>wrote:
>
>>  this is using GHC 7.4.1 and using the cabal which came with the latest
>> haskell platform. I wiped clean my $HOME/cabal and $HOME/ghc, $HOME
>> being %AppData%.
>>
>> In $HOME/cabal/config I set those options:
>> library-profiling: True
>> user-install: True
>>
>> Any idea?
>>
>> emmanuel
>>
>> ...
>> [8 of 8] Compiling Network          ( Network.hs, dist\build\Network.p_o )
>>
>> Network.hs:291:13: Warning:
>>     Pattern match(es) are overlapped
>>     In a case alternative: _ -> ...
>> Registering network-2.4.0.1...
>> Installing library in
>> C:\Users\emmanuelto\AppData\Roaming\cabal\network-2.4.0.1\ghc-7.6.1
>> Registering network-2.4.0.1...
>> cabal: Error: some packages failed to install:
>> network-2.4.0.1 failed while downloading the package. The exception was:
>> DeleteFile
>>
>> "C:\\Users\\EMMANU~1\\AppData\\Local\\Temp\\network-2.4.0.1-2768\\network-2.4.0.
>> 1\\conf5576.lnk":
>> permission denied (Access is denied.)
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20121221/01b94d07/attachment.htm>


More information about the Beginners mailing list