0

For the past day and a bit I have been trying to install CERN's root program on Xubuntu (16.04.1) following their README (https://github.com/root-project/root/blob/master/README.md).

I am doing everything in my home folder (I hope this is not a problem), but when I type:

$ cmake ../root

After about a minute of cmake running it will return the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
     PYTHON_LIBRARY (ADVANCED)
linked by target "PyROOT" in directory /home/MYNAME/root/bindings/pyroot
3
  • Is there any particular reason you don't want one of their prebuilt binaries? Commented May 29, 2018 at 15:32
  • @roaima Those exist and I won't have to build them? I checked their website just now and it seems you are right but I tried following this: askubuntu.com/questions/25961/… to no avail though. I try using "./configure" but it doesn't work. Neither does make. There is no makefile and no such file.
    – user293086
    Commented May 29, 2018 at 16:24
  • If you're trying to configure a package you've downloaded source (again). Commented May 29, 2018 at 16:46

1 Answer 1

0

I would recommend you use the prebuilt packages available from https://root.cern/content/release-61206 and side-step all the problems you're having trying to build the package from source.

2
  • As in the comments before, I get a tar.gz and then I have no idea how to install it from that. I tried following the link provided in my comment and again, encounter the issue where after extraction none of the commands suggested work. Could you elabourate on what I have to do after downloading this file?
    – user293086
    Commented May 29, 2018 at 17:01
  • Did you follow the instructions in the README file? Commented May 29, 2018 at 22:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .