The default C compiler on newer versions of OS X is clang rather than gcc. Using clang, the bitset installation fails as it can't find the "./gmp.h" include. For now, using cabal install bitset --with-gcc=$MY_GCC works, but it would be nice if the build worked with clang as well. Thanks!