Kerberos installation error, error: Setup script exited with error: command 'i686-linux-gnu-gcc' failed with exit status 1

Based on the output here:

i686-linux-gnu-gcc: error: sh:: No such file or directory
i686-linux-gnu-gcc: error: 1:: No such file or directory
i686-linux-gnu-gcc: error: krb5-config:: No such file or directory
i686-linux-gnu-gcc: error: not: No such file or directory
i686-linux-gnu-gcc: error: found: No such file or directory

it looks like you're missing krb5-config. You can install it from the libkrb5-dev package in Ubuntu or Debian.


Just install the package (Ubuntu):

apt-get install libkrb5-dev

Short and sweet.


I had to install a few pre-reqs

krb5-config
libkrb5-dev
libssl-dev
libsasl2-dev
libsasl2-modules-gssapi-mit

Credit: Sonal and Romain, please follow the link below, to get all information. https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/6pXQWH9OSO4