Not able to install Delphes inside MadAnalysis 5 1.7

Asked by Esteban Chalbaud

Hi, I am having problems installing Delphes inside the MadAnalysis 5 with root5.

Basically, I run install delphes after the./bin/ma5 and while installing delphes:

MA5-ERROR: impossible to build the project. For more details, see the log file:
MA5-ERROR: /home/esteban/madanalysis5/tools/delphes/compilation.log

Therefore, I go to the file compilation.log and at the end I get:

>> Compiling tmp/modules/FastJetDict.cc
>> Building libDelphesNoFastJet.so
>> Building libDelphes.so
>> Building hepmc2pileup
>> Building lhco2root
>> Building pileup2root
>> Building root2lhco
>> Building root2pileup
>> Building stdhep2pileup
>> Building CaloGrid
>> Building Example1
>> Building DelphesValidation
>> Building DelphesHepMC
tmp/examples/CaloGrid.o: In function `main':
CaloGrid.cpp:(.text.startup+0xd29): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CaloGrid.cpp:(.text.startup+0xdb6): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:2351: recipe for target 'CaloGrid' failed
make: *** [CaloGrid] Error 1
make: *** Waiting for unfinished jobs....

How can I overcome this issue?

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi

Have you tried with root v6? If i remember correctly delphes does not support root v5 anymore. Also please make sure that ma5 can see the correct root, this can be seen when ma5 runs in debug mode.

Cheers

--
Jack Y. Araz

> On 4 Jul 2021, at 4:15 pm, Esteban Chalbaud <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> New question #697838 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/697838
>
> Hi, I am having problems installing Delphes inside the MadAnalysis 5 with root5.
>
> Basically, I run install delphes after the./bin/ma5 and while installing delphes:
>
> MA5-ERROR: impossible to build the project. For more details, see the log file:
> MA5-ERROR: /home/esteban/madanalysis5/tools/delphes/compilation.log
>
> Therefore, I go to the file compilation.log and at the end I get:
>
>>> Compiling tmp/modules/FastJetDict.cc
>>> Building libDelphesNoFastJet.so
>>> Building libDelphes.so
>>> Building hepmc2pileup
>>> Building lhco2root
>>> Building pileup2root
>>> Building root2lhco
>>> Building root2pileup
>>> Building stdhep2pileup
>>> Building CaloGrid
>>> Building Example1
>>> Building DelphesValidation
>>> Building DelphesHepMC
> tmp/examples/CaloGrid.o: In function `main':
> CaloGrid.cpp:(.text.startup+0xd29): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> CaloGrid.cpp:(.text.startup+0xdb6): undefined reference to `TString::TString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> collect2: error: ld returned 1 exit status
> Makefile:2351: recipe for target 'CaloGrid' failed
> make: *** [CaloGrid] Error 1
> make: *** Waiting for unfinished jobs....
>
> How can I overcome this issue?
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask Esteban Chalbaud for more information if necessary.

To post a message you must log in.