g++ -v
You should have version 4.2 or higher
tar xzf hidex.[version].tgz
make index
You should now change a line in the file Makefile, in particular you would like to change the variable BINDIR. It should looke like:
#BINDIR=~/bin BINDIR=/usr/local/bin
sudo make install
By now you should be done.