Installing ROOT on Ubuntu 11.04
UPDATE: There has been some discussion on the ROOT support forum about this issue. According to this thread, the solution is to install the latest version of ROOT, available from the subversion repository. After successfully installing, I still had a problem having to do with the some Adobe Helvetica font error. A solution was posted in this thread.
The latest version of Ubuntu was released this week, version 11.04. Installing ROOT proved to be a bit of a problem. On the previous version, it was available with apt-get, but for some reason it isn’t included in the repositories in 11.04. So, I downloaded the source and tried compile it the usual way. After installing the prerequisites listed here, I tried to do this:
./configure linux --prefix=/usr/local
Unfortunately, I got this:
configure: Checking for libX11 ... no configure: libX11 MUST be installed
Evidently, it failed to find libX11, even though it was installed. It turns out that the library isn’t installed in the usual /usr/lib/X11, but instead in /usr/lib/i386-linux-gnu. Fix the configure script by adding the —with-x11-libdir option:
./configure linux --prefix=/usr/local --with-x11-libdir=/usr/lib/i386-linux-gnu
There were a few other libraries installed in this odd directory, so I had to add a few more of these options. In the end this command succeeded:
./configure linux --prefix=/usr/local --with-x11-libdir=/usr/lib/i386-linux-gnu --with-xext-libdir=/usr/lib/i386-linux-gnu --with-xft-libdir=/usr/lib/i386-linux-gnu
Finish up with a:
make sudo make install
and you’re good to go. Now get back to work analyzing data!
