[Haskell-cafe] .a files not found

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sat May 30 21:52:58 UTC 2015


If I use a sandbox inside C:\temp, I get the same error message again.

Henk-Jan


On Sat, 30 May 2015 19:18:22 +0200, <mantkiew at gsd.uwaterloo.ca> wrote:

> The location is not that ‎important. In any folder where cabal install  
> fails, I can do cabal get + cabal install and it works. So it's probably  
> related to cabal's own temp folder names which get too long.
>
> Michal
>
>   Original Message From: Henk-Jan van Tuyl
> Sent: Saturday, May 30, 2015 1:04 PM
> To: haskell-cafe at haskell.org; Matej Borovec
> Subject: Re: [Haskell-cafe] .a files not found
>
>
> That works!
>
> Thanks,
> Henk-Jan van Tuyl
>
>
> On Sat, 30 May 2015 18:45:00 +0200, Matej Borovec
> <matej.borovec at yahoo.com> wrote:
>
>> Try this for every package:
>>
>> mkdir c:\temp
>> cd c:\temp
>> cabal unpack data-default-instances-base
>> cabal install ./data-default-instances-base
>>
>>
>> -----Original Message----- From: Henk-Jan van Tuyl
>> Sent: Saturday, May 30, 2015 11:39 AM
>> To: haskell-cafe at haskell.org
>> Subject: [Haskell-cafe] .a files not found
>>
>>
>> L.S.,
>>
>> I get messages about .a files not being found, when I try to install
>> package data-default-instances-base, data-default-instances-containers,
>> data-default-instances-dlist or data-default-instances-old-locale. How
>> can
>> I solve this? I am using GHC 7.10.1 on Windows.
>>
>> Sample output:
>>
>> C:\X\data-default-instances-old-locale-0.0.1> cabal install
>> Resolving dependencies...
>> Configuring data-default-instances-old-locale-0.0.1...
>> Building data-default-instances-old-locale-0.0.1...
>> Failed to install data-default-instances-old-locale-0.0.1
>> Build log (
>> C:\Users\X\AppData\Roaming\cabal\logs\data-default-instances-old-locale-0.0.1.log
>> ):
>> Building data-default-instances-old-locale-0.0.1...
>> Preprocessing library data-default-instances-old-locale-0.0.1...
>> [1 of 1] Compiling Data.Default.Instances.OldLocale (
>> Data\Default\Instances\OldLocale.hs,
>> dist\build\Data\Default\Instances\OldLocale.o )
>> C:\Programs\Haskell\MinGHC-7.10.1\ghc-7.10.1\mingw\bin\ar.exe:
>> dist\build\libHSdata-default-instances-old-locale-0.0.1-6jcjjaR25tK4x3nJhHHjFM.a-2192\libHSdata-default-instances-old-locale-0.0.1-6jcjjaR25tK4x3nJhHHjFM.a:
>> No such file or directory
>> cabal: Error: some packages failed to install:
>> data-default-instances-old-locale-0.0.1 failed during the building  
>> phase.
>> The
>> exception was:
>> ExitFailure 1
>>
>>
>> Regards,
>> Henk-Jan van Tuyl

-- 
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--


More information about the Haskell-Cafe mailing list