vincenthz / hs-cryptohash

efficient and practical cryptohashing in haskell. DEPRECATED in favor of cryptonite
Other
30 stars 24 forks source link

unable to build on os x #1

Closed urso closed 13 years ago

urso commented 13 years ago

OS: Mac OS X 10.6

cryptohash version: 0.5.2 and latest github

problem: can not build cryptohash. It fails with error:

In file included from cbits/sha1.c:27:0:

cbits/bitfn.h:165:23: error: endian.h: No such file or directory cabal: Error: some packages failed to install: cryptohash-0.5.2 failed during the building phase. The exception was: ExitFailure 1

In bitfn.h there is a defined for MACOSX including the correct header file, but the flag MACOSX seems mot to be defined

vincenthz commented 13 years ago

Hi Urso, thanks for the bug report. Can you confirm it's fixed in the latest version 0.5.3 (either on hackage or github) ? thanks.

urso commented 13 years ago

yes, it's fixed now.