|
From: Adam C. <cim...@gm...> - 2010-01-10 00:42:32
|
Hello!
I've compiled HOC on my laptop running Snow Leopard with `runhaskell Setup.hs configure --user; ... install`
I also compiled the tests and they run fine.
when I `cd Bindings; sh make-bindings-macos.sh --user` however, I get the following long list of errors:
$ sh make-bindings-macos.sh --user
*** Processing Framework Foundation ***
NSURLError.h:62:69: kCFURLErrorCancelled undefined [ ]
NSURLError.h:62:69: Couldn't handle enum value for NSURLErrorCancelled ]
NSURLError.h:63:66: kCFURLErrorBadURL undefined [ ]
NSURLError.h:63:66: Couldn't handle enum value for NSURLErrorBadURL ]
NSURLError.h:64:68: kCFURLErrorTimedOut undefined [ ]
NSURLError.h:64:68: Couldn't handle enum value for NSURLErrorTimedOut ]
NSURLError.h:65:74: kCFURLErrorUnsupportedURL undefined [ ]
NSURLError.h:65:74: Couldn't handle enum value for NSURLErrorUnsupportedURL ]
NSURLError.h:66:74: kCFURLErrorCannotFindHost undefined [ ]
NSURLError.h:66:74: Couldn't handle enum value for NSURLErrorCannotFindHost ]
NSURLError.h:67:79: kCFURLErrorCannotConnectToHost undefined ]
NSURLError.h:67:79: Couldn't handle enum value for NSURLErrorCannotConnectToHost ]
NSURLError.h:68:81: kCFURLErrorNetworkConnectionLost undefined
NSURLError.h:68:81: Couldn't handle enum value for NSURLErrorNetworkConnectionLost
NSURLError.h:69:75: kCFURLErrorDNSLookupFailed undefined
NSURLError.h:69:75: Couldn't handle enum value for NSURLErrorDNSLookupFailed
NSURLError.h:70:80: kCFURLErrorHTTPTooManyRedirects undefined
NSURLError.h:70:80: Couldn't handle enum value for NSURLErrorHTTPTooManyRedirects
NSURLError.h:71:79: kCFURLErrorResourceUnavailable undefined
NSURLError.h:71:79: Couldn't handle enum value for NSURLErrorResourceUnavailable
NSURLError.h:72:82: kCFURLErrorNotConnectedToInternet undefined
NSURLError.h:72:82: Couldn't handle enum value for NSURLErrorNotConnectedToInternet
NSURLError.h:73:89: kCFURLErrorRedirectToNonExistentLocation undefined
NSURLError.h:73:89: Couldn't handle enum value for NSURLErrorRedirectToNonExistentLocation
NSURLError.h:74:77: kCFURLErrorBadServerResponse undefined
NSURLError.h:74:77: Couldn't handle enum value for NSURLErrorBadServerResponse
NSURLError.h:75:87: kCFURLErrorUserCancelledAuthentication undefined
NSURLError.h:75:87: Couldn't handle enum value for NSURLErrorUserCancelledAuthentication
NSURLError.h:76:86: kCFURLErrorUserAuthenticationRequired undefined
NSURLError.h:76:86: Couldn't handle enum value for NSURLErrorUserAuthenticationRequired
NSURLError.h:77:76: kCFURLErrorZeroByteResource undefined
NSURLError.h:77:76: Couldn't handle enum value for NSURLErrorZeroByteResource
NSURLError.h:78:79: kCFURLErrorCannotDecodeRawData undefined
NSURLError.h:78:79: Couldn't handle enum value for NSURLErrorCannotDecodeRawData
NSURLError.h:79:83: kCFURLErrorCannotDecodeContentData undefined
NSURLError.h:79:83: Couldn't handle enum value for NSURLErrorCannotDecodeContentData
NSURLError.h:80:79: kCFURLErrorCannotParseResponse undefined
NSURLError.h:80:79: Couldn't handle enum value for NSURLErrorCannotParseResponse
NSURLError.h:81:76: kCFURLErrorFileDoesNotExist undefined
NSURLError.h:81:76: Couldn't handle enum value for NSURLErrorFileDoesNotExist
NSURLError.h:82:75: kCFURLErrorFileIsDirectory undefined
NSURLError.h:82:75: Couldn't handle enum value for NSURLErrorFileIsDirectory
NSURLError.h:83:83: kCFURLErrorNoPermissionsToReadFile undefined
NSURLError.h:83:83: Couldn't handle enum value for NSURLErrorNoPermissionsToReadFile
NSURLError.h:85:84: kCFURLErrorDataLengthExceedsMaximum undefined
NSURLError.h:85:84: Couldn't handle enum value for NSURLErrorDataLengthExceedsMaximum
NSURLError.h:89:82: kCFURLErrorSecureConnectionFailed undefined
NSURLError.h:89:82: Couldn't handle enum value for NSURLErrorSecureConnectionFailed
NSURLError.h:90:87: kCFURLErrorServerCertificateHasBadDate undefined
NSURLError.h:90:87: Couldn't handle enum value for NSURLErrorServerCertificateHasBadDate
NSURLError.h:91:86: kCFURLErrorServerCertificateUntrusted undefined
NSURLError.h:91:86: Couldn't handle enum value for NSURLErrorServerCertificateUntrusted
NSURLError.h:92:91: kCFURLErrorServerCertificateHasUnknownRoot undefined
NSURLError.h:92:91: Couldn't handle enum value for NSURLErrorServerCertificateHasUnknownRoot
NSURLError.h:93:88: kCFURLErrorServerCertificateNotYetValid undefined
NSURLError.h:93:88: Couldn't handle enum value for NSURLErrorServerCertificateNotYetValid
NSURLError.h:94:85: kCFURLErrorClientCertificateRejected undefined
NSURLError.h:94:85: Couldn't handle enum value for NSURLErrorClientCertificateRejected
NSURLError.h:95:85: kCFURLErrorClientCertificateRequired undefined
NSURLError.h:95:85: Couldn't handle enum value for NSURLErrorClientCertificateRequired
NSURLError.h:96:81: kCFURLErrorCannotLoadFromNetwork undefined
NSURLError.h:96:81: Couldn't handle enum value for NSURLErrorCannotLoadFromNetwork
NSURLError.h:99:76: kCFURLErrorCannotCreateFile undefined
NSURLError.h:99:76: Couldn't handle enum value for NSURLErrorCannotCreateFile
NSURLError.h:100:74: kCFURLErrorCannotOpenFile undefined
NSURLError.h:100:74: Couldn't handle enum value for NSURLErrorCannotOpenFile
NSURLError.h:101:75: kCFURLErrorCannotCloseFile undefined
NSURLError.h:101:75: Couldn't handle enum value for NSURLErrorCannotCloseFile
NSURLError.h:102:77: kCFURLErrorCannotWriteToFile undefined
NSURLError.h:102:77: Couldn't handle enum value for NSURLErrorCannotWriteToFile
NSURLError.h:103:76: kCFURLErrorCannotRemoveFile undefined
NSURLError.h:103:76: Couldn't handle enum value for NSURLErrorCannotRemoveFile
NSURLError.h:104:74: kCFURLErrorCannotMoveFile undefined
NSURLError.h:104:74: Couldn't handle enum value for NSURLErrorCannotMoveFile
NSURLError.h:105:91: kCFURLErrorDownloadDecodingFailedMidStream undefined
NSURLError.h:105:91: Couldn't handle enum value for NSURLErrorDownloadDecodingFailedMidStream
NSURLError.h:106:92: kCFURLErrorDownloadDecodingFailedToComplete undefined
NSURLError.h:106:92: Couldn't handle enum value for NSURLErrorDownloadDecodingFailedToComplete
hoc-ifgen: user error ("NSObjCRuntime.h" (line 193, column 71): ]
unexpected "("
expecting "__attribute__", identifier, "=", ";", "," or "{")
Any help would be appreciated. I hope this mailing list is the right one, as google code does not mention it.
Thanks,
Adam
|