Trying to configure wxc-0.92.3 I run into a number of cabal errors *dist/setup/setup.hs:82:33: **error:*
* • Couldn't match type ‘Distribution.Utils.IOData.IOData’* * with ‘[Char]’* * Expected type: IO (String, String, ExitCode)* * Actual type: IO* * (Distribution.Utils.IOData.IOData, String, ExitCode)* * • In the expression:* * rawSystemStdInOut v "sh" (f : as) Nothing Nothing Nothing False* * In an equation for ‘rawShellSystemStdInOut’:* * rawShellSystemStdInOut v f as* * = rawSystemStdInOut v "sh" (f : as) Nothing Nothing Nothing False* * |* *82 |* rawShellSystemStdInOut v f as = *rawSystemStdInOut v "sh" (f:as) Nothing Nothing Nothing False* *ist/setup/setup.hs:82:89: **error:* * • Couldn't match expected type ‘Distribution.Utils.IOData.IODataMode’* * with actual type ‘Bool’* * • In the 7th argument of ‘rawSystemStdInOut’, namely ‘False’* * In the expression:* * rawSystemStdInOut v "sh" (f : as) Nothing Nothing Nothing False* * In an equation for ‘rawShellSystemStdInOut’:* * rawShellSystemStdInOut v f as* * = rawSystemStdInOut v "sh" (f : as) Nothing Nothing Nothing False* * |* *82 |* rawShellSystemStdInOut v f as = rawSystemStdInOut v "sh" (f:as) Nothing Nothing Nothing *False* *dist/setup/setup.hs:439:115: **error:* * • Couldn't match expected type ‘Distribution.Utils.IOData.IODataMode’* * with actual type ‘Bool’* * • In the 7th argument of ‘rawSystemStdInOut’, namely ‘False’* * In a stmt of a 'do' block:* * (r, e, c) <- rawSystemStdInOut* * normal* * "sh"* * ["-c", "cd " ++ ph ++ "; pwd -W"]* * Nothing* * Nothing* * Nothing* * False* * In the expression:* * do (r, e, c) <- rawSystemStdInOut* * normal* * "sh"* * ["-c", "cd " ++ ph ++ "; pwd -W"]* * Nothing* * Nothing* * Nothing* * False* * unless* * (c == ExitSuccess)* * (putStrLn* * ("Error: failed to convert MSYS path to native path \n" ++ e)* * >> exitFailure)* * return . head . lines $ r* I'm using ghc 8.8.1 cabal 2.4.1.0 platform OSX, OS 10.12.6 thanks David
_______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel