Closed emmanueltouzery closed 11 years ago
I've been trying to make it build, this patch achieves this: https://dl.dropbox.com/u/22600720/missingh_makeitbuild.txt
honestly i didn't test it besides checking that it builds. I THINK it's probably the right fix but who knows. I assume you'll know right away when looking at this patch whether it's the right fix or not.
I based this fix on this here: http://haskell.1045720.n5.nabble.com/getModificationTime-and-directory-1-2-td5717458.html
Same problem, windows 7, cygwin...
cabal update cabal install MissingH
[21 of 47] Compiling System.IO.WindowsCompat ( src\System\IO\WindowsCompat.hs, dist\build\System\IO\WindowsCompat.o )
src\System\IO\WindowsCompat.hs:123:41:
Couldn't match expected type System.Time.ClockTime' with actual type
time-1.4.0.1:Data.Time.Clock.UTC.UTCTime'
In the first argument of clockTimeToEpoch', namely
modct'
In the expression: clockTimeToEpoch modct
In an equation for `epochtime': epochtime = clockTimeToEpoch modct
Failed to install MissingH-1.2.0.1
cabal.exe: Error: some packages failed to install:
MissingH-1.2.0.1 failed during the building phase. The exception was:
ExitFailure 1
Can you all try the version in the master branch now? I merged a patch that says it fixes this.
Awesome, works for me now! Thanks :)
Thanks, closing.
i may have a misconfigured setup, but i think it's OK.
I get this error when attempting to build (using cabal install missingh) 1.2.0.0 on windows 7:
[21 of 47] Compiling System.IO.WindowsCompat ( src\System\IO\WindowsCompat.hs, d ist\build\System\IO\WindowsCompat.o )
src\System\IO\WindowsCompat.hs:123:41: Couldn't match expected type
System.Time.ClockTime' with actual type
time-1.4.0.1:Data.Time.Clock.UTC.UTCTime' In the first argument ofclockTimeToEpoch', namely
modct' In the expression: clockTimeToEpoch modct In an equation for `epochtime': epochtime = clockTimeToEpoch modct cabal: Error: some packages failed to install: MissingH-1.2.0.0 failed during the building phase. The exception was: ExitFailure 1