I need to use a program called SPMRoot. It works great on Ubuntu 12.04, but somehow it can't compile without errors in ubuntu 14/04 due some libraries dependencies or anything like that. Is there a way I can compile it using a "compatibility mode" or any other workaround?


You might consider running it in a precise chroot.

There are some instructions here (although they're somewhat out of date). Hopefully you can adapt them for your needs.

Good luck

EDIT: The instructions here look a bit more up to date and you may find them easier to follow.

| improve this answer | |
  • this could produce problems on shared librarys. – LittleByBlue Oct 20 '15 at 17:07
  • Umm, I don't see how? Care to expand? – ssta Oct 20 '15 at 17:08
  • I am sorry I did misunderstand you. I thought, that you want him to compile on 12.04 and then use the compiled binary on 12.04. Your answer will hopefully work +1 – LittleByBlue Oct 20 '15 at 17:11
  • hmmm this look interesting. I will try them later. Thanks Sir – Geo Oct 20 '15 at 19:32

I've downloaded root_v6.04.06.source.tar.gz, installed libxpm-dev.

(complete build dep list is on https://root.cern.ch/build-prerequisites)

And it compiles on 15.04.

| improve this answer | |
  • that is the solution I have been waiting for (+1) – LittleByBlue Oct 21 '15 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.