libX11 problem


I am trying to install root from source under Ubuntu 13.10 running cinnamon. If I run the configure script with the architecture flag i.e. ./configure linux it fails giving the message:configure: libX11 MUST be installed

If the configure script is ran without the architecture flag then it completes. However, the installation fails at the make stage with the complaint that

G__X11TTF.cxx:(.text+0xd): undefined reference to `ROOT::RegisterModule()' make: *** [lib/] Error 1

It seems that I am experiencing a problem with the X11 libraries but I have installed everything available with libx11-* from apt-get.

I should also point out that I am able to install root from the Ubuntu software centre but it does not look correct. For example, the font on the splash screen does not look as it should.

Can anyone help me with this issue?

Thanks for taking the time to read this.



do you have other (complete or incomplete) ROOT installations ath the moment you run ‘make’? I had the same problem some time ago, and if I remember well the answer was something like: Installation fails with some undefined references

Also note that Ubuntu version of ROOT is almost always different (older) than the “Pro” recommended installation from this site :wink:

Here you will see the list of prerequisites for ubuntu.