Created
April 26, 2015 14:47
-
-
Save ivanoats/66b2d57b953a286c5eb1 to your computer and use it in GitHub Desktop.
HDBC-Haskell error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Downloading HDBC-mysql-0.6.6.1... | |
Configuring HDBC-mysql-0.6.6.1... | |
Failed to install HDBC-mysql-0.6.6.1 | |
Build log ( /Users/ivan/.cabal/logs/HDBC-mysql-0.6.6.1.log ): | |
cabal: Error: some packages failed to install: | |
HDBC-mysql-0.6.6.1 failed during the configure step. The exception was: | |
user error ('/usr/local/bin/ghc' exited with an error: | |
/var/folders/85/c3khd5g15nq5yy8_1m0s40y00000gn/T/HDBC-mysql-0.6.6.1-3100/HDBC-mysql-0.6.6.1/dist/setup/setup.hs:31:7: | |
Couldn't match type ‘IO (Maybe FilePath)’ | |
with ‘ProgramSearchPath -> IO (Maybe FilePath)’ | |
Expected type: IO (Maybe FilePath) | |
-> (Maybe FilePath -> IO (Maybe FilePath)) | |
-> ProgramSearchPath | |
-> IO (Maybe FilePath) | |
Actual type: IO (Maybe FilePath) | |
-> (Maybe FilePath -> IO (Maybe FilePath)) -> IO (Maybe FilePath) | |
In a stmt of a 'do' block: | |
mysql_config <- findProgramOnPath "mysql_config" verbosity | |
In the expression: | |
do { mysql_config <- findProgramOnPath "mysql_config" verbosity; | |
mysql_config5 <- findProgramOnPath "mysql_config5" verbosity; | |
return (mysql_config `mplus` mysql_config5) } | |
In the ‘programFindLocation’ field of a record | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment