FWIW, removing libmozjs-dev and installing xulrunner-1.9-dev in karmic allowed me to build gnome-shell.
FWIW, removing libmozjs-dev and installing xulrunner-1.9-dev in karmic allowed me to build gnome-shell.