ExRootAnalysis trouble at compilation

Asked by Olivier Mattelaer on 2011-10-05

(asked by Murugeswaran Duraisamy)

When I try install Extrootanalysis, I am getting message

murugesh@murugesh-OptiPlex-960:~/MadGraph5_v1_3_17/ExRootAnalysis$ make
Makefile:10: /test/Makefile.arch: No such file or directory
make: *** No rule to make target `/test/Makefile.arch'. Stop.
murugesh@murugesh-OptiPlex-960:~/MadGraph5_v1_3_17/ExRootAnalysis$

I already installed root.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2011-10-05
Last query:
2011-10-05
Last reply:

The problem is that the environment variable ROOTSYS is not configure.

the way to do it is the following:
export ROOTSYS = PATH

The correct path can be found (at least on my computer this is working) by doing
which root
and takes two directory above.
i.e. on my computer
[@olivier-mattelaers-macbook ~]$ which root
/Users/omatt/programme/root/bin/root
[@olivier-mattelaers-macbook ~]$ echo $ROOTSYS
/Users/omatt/programme/root

Cheers,

Olivier

David Yaylali (yaylali) said : #2

Hello Olivier,

I have this same exact problem, and my environment variable IS set up correctly. i,e,

$ echo $ROOTSYS
/home/davey/root

This may be an issue with Ubuntu 11.10, because I had to jump through some hoops to get root to compile on this OS. The error I get is similar to the error in the original post:

Makefile:10: /home/davey/root/test/Makefile.arch: No such file or directory
make: *** No rule to make target `/home/davey/root/test/Makefile.arch'. Stop.

Indeed, there is no "Makefile.arch" in this directory, only a "Makefile" and a "Makefile.win32".

Any ideas on what could be the issue?

Hi David,

Which version of Root did you install?

By looking on the svn of root. It seems that this files doesn't exists. but that they are the equivalent
on /home/davey/root/etc/Makefile.arch
Could you try with a symbolic link to point from /home/davey/root/test/Makefile.arch
to this new file and see if this works.

If not I'll forward the question to the original author of ExRootAnalysis.

Cheers,

Olivier

David Yaylali (yaylali) said : #4

Hello Olivier,

Thank you very much! Creating a symbolic link to the new location of Makefile.arch worked, and ExRootAnalysis seems to be working fine. I will email Pavel Demin about this issue to let him know.

And to answer your question, I am running the most recent version of root from the trunk... I believe r41775.

Thanks again,
David Yaylali

Great that my guess was the solution.

I'll contact Pavel on this anyway,

Cheers,

Olivier