Patch work needed to make "cabal install haskakafka" work
Opened this issue · 1 comments
Deleted user commented
I am using ubuntu 14.04 with ghc - 7.8.4. When i ran cabal install haskakafka, it didn't work straight out of the box.
First, i had to do "sudo apt-get install librdkafka-dev" to solve, "* Missing C library: rdkafka" error.
Then i got the next error,
dist/build/Haskakafka/InternalRdKafka.chs.h:2:21: fatal error: rdkafka.h: No such file or directory
#include "rdkafka.h"
I had to add librdkafka include path to my shell environment as,
export C_INCLUDE_PATH=/usr/include/librdkafka
If these two steps can be added in README page, then it will save other people's time. thanks.
turtlesoupy commented
Should be clarified in @jsermeno's update