compilation issue (missing root library)
dear all;
I have recently downloaded the last version of madanalysis (madanalysis 5 ) for my internship; and I get a problem in the compilation. Here is it:
Platform: Linux 3.8.0-19-generic [Linux mode]
Checking mandatory packages:
- python [OK]
- python library: numpy [OK]
- g++ [OK]
- GNU Make [OK]
- Root [FAILURE]
** ERROR: ROOT file called '/usr/local/
** ERROR: Please check that ROOT is properly installed.
I didn't encounter any error running root before; and I used it to plot lot of things; without encountering this error. Do you know how to solve this issue? Where can I find this "libPyROOT.so" ?
My version of root is: root_v5.34.09.
Thanks in advance, regards
Jean-Philippe
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Dear Jean-Philippe,
Thank you to use MadAnalysis 5. I do not know if it is the first time you used MadAnalysis or if this problem is related to the last release of the program.
MadAnalysis 5 requires the ROOT C++ and Python libraries. It seems that the Python libraries are missing.
To be sure, could you issue the following command line:
root-config --features
and see if 'python' appears in the list of feature.
If it is not the case, you need to build again ROOT with this feature:
./configure --enable-python
Cheers,
Eric Conte
Revision history for this message
|
#2 |
dear Eric,
Thanks a lot for your answer. It works perfectly.
I encounter now another problem (can I ask this in the same topic? ):
Building SampleAnalyzer libraries
****
How many cores for the compiling? default = max = 8
Answer: 7
=> Number of cores used for the compilation = 7
****
Library 1/1 - general SampleAnalyzer component
- Writing a Makefile ...
- Cleaning the project before building the library ...
- Compiling the source files ...
- Linking the library ...
- Checking that the library is properly built ...
- Cleaning the project after building the library ...
=> Status: [OK]
****
Test program
- Writing a Makefile ...
- Cleaning the project before building the program ...
- Compiling the source files ...
- Linking the program ...
** ERROR: impossible to link the project. For more details, see the log file:
** ERROR: /home/yoda/
** ERROR: test program building aborted.
The log file is:
g++ -Wall -O3 -I/home/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
/home/yoda/
collect2: erreur: ld a retourné 1 code d'état d'exécution
make: *** [link] Erreur 1
Thanks in advance, regards
Jean-Philippe
Revision history for this message
|
#3 |
Hi Jean-Philippe,
Can you please try with v1.1.11beta and let us know if the problem persists?
Cheers,
Benjamin
Revision history for this message
|
#4 |
hi benjamin,
I am sorry but I don't know how to dowload v1.1.11beta (from https:/
Thanks in advance,regards
Jean-Philippe
Revision history for this message
|
#5 |
hi again,
I found the beta version (v1.1.11beta), tried it and the problem is still happening:
** ERROR: impossible to link the project. For more details, see the log file:
** ERROR: /home/yoda/
** ERROR: test program building aborted.
Thanks in advance, regards
Jean-Philippe
Revision history for this message
|
#6 |
Hi Jean-Philippe,
Can you please send me the file mentioned in the error? (fuks_at_cern.ch)?
Thanks,
Benjamin
Revision history for this message
|
#7 |
Dear Jean-Philippe,
Thanks for the file. Could you please try with v1.1.10_patch1 (to be downloaded from the main webpage). if the problem still persists, maybe could you forward me your skype account so that we could work that out together.
Cheers,
Benjamin
Revision history for this message
|
#8 |
dear Benjamin,
Thank you very much for your answer.
It seems the problem is solved. Madanalysis is well-launched, without any big problem except 2 small ones:
- it tells me MadGrpah 5 not found (but maybe it comes from the fact that neither zlib library nor delphes library, FastJet are installed
- I have to rebuild root with the method described by Eric before, each time that I start my computer (as it says ROOT: failure in the Checking madatory packages).
Regards,
Jean-Philippe
Revision history for this message
|
#9 |
Hi Jean-Philippe,
> - it tells me MadGrpah 5 not found (but maybe it comes from the fact that neither zlib library nor delphes library, FastJet are installed
This is fine as this is left out for further developments of a joint usage of mg5 and ma5.
> I have to rebuild root with the method described by Eric before, each time that I start my computer (as it says ROOT: failure in the Checking madatory packages).
You should add the execution of the thisroot.sh script in your bashrc file. I am confident that this will solve the problem.
Cheers,
Benjamin
Revision history for this message
|
#10 |
Thanks Benjamin Fuks, that solved my question.