Well, ROOT 6.04/12 is pretty old.
You’d better try one of the most recent ROOT versions.
The ROOT team provides ready-to-use binary distributions for some systems, including various Ubuntu versions, which you just need to download and unpack.
What concerns the “system-provided” ROOT version, see: