How do I install Cloudera Hue on Mac OS X Lion?
We wrote a guide about this topic: http://gethue.com/start-developing-hue-on-a-mac-in-a-few-minutes/
The Hue release download you're trying to compile, works only until CDH3u1 onwards, after which CDH3 had some internal API method changes, over some methods that Hue depends on.
The following works for me, to compile Hue 1.2.0 against CDH3u1:
$ wget http://archive.cloudera.com/cdh/3/hadoop-0.20.2-cdh3u1.tar.gz$ tar xf hadoop-0.20.2-cdh3u1.tar.gz; export HADOOP_HOME=hadoop-0.20.2-cdh3u1$ cd hue-1.2.0/$ make apps
You'd of course need some dependencies to compile all components successfully. I use Homebrew to manage mine, and this is my currently installed list (you do not need all of these, but may need some of these):
$ brew listautoconf gd jpeg pango rrdtoolautomake gettext libffi pidof snappycairo glib libtool pixman wgetcmake gnu-sed lua pkg-config xzcoreutils gnuplot mysql protobufexpat intltool p7zip readline
For a release of Hue that works with your CDH3 version, you can pick the right download from the CDH3 archives: http://archive.cloudera.com/cdh/3/.
So, for your CDH3u2 version, download and use http://archive.cloudera.com/cdh/3/hue-1.2.0.0-cdh3u2.tar.gz which carries 1.2.0 version of Hue with some backports on it from master that fix compilation for CDH3u2.