You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to install some modules that depend (indirectly, in most cases) on old-time on windows today, and the install fails. It can be reproduced by attempting a cabal install old-time in by itself, but does not occur in a cabal sandbox. The crux of the issue seems to arise form missing interfaces in old-locale as follows:
Preprocessing library old-time-1.1.0.3...
[1 of 1] Compiling System.Time ( dist\build\System\Time.hs, dist\build\System\Time.o )
System\Time.hsc:117:1: error:
Failed to load interface for `System.Locale'
There are files missing in the `old-locale-1.0.0.7' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
This is occurring on a fresh install of Haskell Platform. It looks like the version of old-locale bundled with the platform is the same version number (1.0.0.7) as is downloaded into a sandbox, but not the same contents. Indeed, forcing a ghc-pkg unregister old-locale --force, cabal install old-locale before trying cabal install old-time again fixes the issue.
Let me know if there is any additional information I can provide that will be helpful. I'm not really sure what you can do yourself to fix this, but I figured I'd report it anyway.
The text was updated successfully, but these errors were encountered:
iamrecursion
changed the title
Unable to Install old-time-1.1.0.3 on Windows
Unable to Install old-time-1.1.0.3 on Windows under Haskell Platform
May 28, 2017
I've been trying to install some modules that depend (indirectly, in most cases) on
old-time
on windows today, and the install fails. It can be reproduced by attempting acabal install old-time
in by itself, but does not occur in acabal
sandbox. The crux of the issue seems to arise form missing interfaces inold-locale
as follows:This is occurring on a fresh install of Haskell Platform. It looks like the version of
old-locale
bundled with the platform is the same version number (1.0.0.7
) as is downloaded into a sandbox, but not the same contents. Indeed, forcing aghc-pkg unregister old-locale --force
,cabal install old-locale
before tryingcabal install old-time
again fixes the issue.Let me know if there is any additional information I can provide that will be helpful. I'm not really sure what you can do yourself to fix this, but I figured I'd report it anyway.
The text was updated successfully, but these errors were encountered: