Installing packages with Ubuntu root

Asked by William Shepherd

Hello,

I'm trying to install Delphes and ExRootAnalysis on a new installation of Ubuntu 14.04. I've installed root through aptitude, set up $ROOTSYS appropriately, but I'm still not able to compile successfully. Are there necessary files missing from the debian package Ubuntu uses that are needed here, or is there an additional flag somewhere I need? The error text follows:

Downloading http://madgraph.hep.uiuc.edu/Downloads/ExRootAnalysis/ExRootAnalysis_V1.0.12.tar.gz
--2014-08-14 10:06:20-- http://madgraph.hep.uiuc.edu/Downloads/ExRootAnalysis/ExRootAnalysis_V1.0.12.tar.gz
Resolving madgraph.hep.uiuc.edu (madgraph.hep.uiuc.edu)... 128.174.118.75
Connecting to madgraph.hep.uiuc.edu (madgraph.hep.uiuc.edu)|128.174.118.75|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 526362 (514K) [application/x-gzip]
Saving to: ‘ExRootAnalysis.tgz’

100%[======================================>] 526,362 452KB/s in 1.1s

2014-08-14 10:06:21 (452 KB/s) - ‘ExRootAnalysis.tgz’ saved [526362/526362]

compile ExRootAnalysis. This might takes a while.
>> Generating tmp/src/ExRootAnalysisDict.cc
>> Compiling tmp/src/ExRootAnalysisDict.cc
tmp/src/ExRootAnalysisDict.cc: In function ‘void ROOT::delete_ExRootClassifier(void*)’:
tmp/src/ExRootAnalysisDict.cc:2549:37: warning: deleting object of abstract class type ‘ExRootClassifier’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
       delete ((::ExRootClassifier*)p);
                                     ^
tmp/src/ExRootAnalysisDict.cc: In function ‘int G__ExRootAnalysisDict_670_0_2(G__value*, const char*, G__param*, int)’:
tmp/src/ExRootAnalysisDict.cc:5803:35: warning: deleting object of abstract class type ‘ExRootClassifier’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
        delete (ExRootClassifier*) soff;
                                   ^
>> Generating tmp/modules/ModulesDict.cc
>> Compiling tmp/modules/ModulesDict.cc
In file included from ./CDFCones/PhysicsTower.hh:5:0,
                 from ./modules/MadGraphConeJetFinder.h:6,
                 from tmp/modules/ModulesDict.cc:6:
./CDFCones/CalTower.hh: In constructor ‘CalTower::CalTower(double, double, double)’:
./CDFCones/CalTower.hh:34:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if(iEta >= 8 && iEta < 14 || iEta >= 38 && iEta < 44)
                    ^
>> Compiling src/ExRootFilter.cc
>> Compiling src/ExRootConfReader.cc
src/ExRootConfReader.cc: In constructor ‘ExRootConfReader::ExRootConfReader()’:
src/ExRootConfReader.cc:33:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   Tcl_CreateObjCommand(fTclInterp, "module", ModuleObjCmdProc, this, 0);
                                                                       ^
src/ExRootConfReader.cc: In function ‘int ModuleObjCmdProc(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
src/ExRootConfReader.cc:185:100: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
 rp, "wrong # args: should be \"module className moduleName arg ?arg...?\"", 0);
                                                                              ^
src/ExRootConfReader.cc:198:78: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    Tcl_ListObjAppendElement(interp, object, Tcl_NewStringObj("namespace", -1));
                                                                             ^
src/ExRootConfReader.cc:199:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     Tcl_ListObjAppendElement(interp, object, Tcl_NewStringObj("eval", -1));
                                                                         ^
>> Compiling src/ExRootFactory.cc
>> Compiling src/ExRootTreeWriter.cc
>> Compiling src/ExRootResult.cc
>> Compiling src/ExRootModule.cc
>> Compiling src/ExRootClasses.cc
>> Compiling src/ExRootTreeBranch.cc
>> Compiling src/ExRootTreeReader.cc
>> Compiling src/ExRootTask.cc
>> Compiling src/ExRootAnalysis.cc
>> Compiling src/ExRootProgressBar.cc
>> Compiling src/ExRootUtilities.cc
>> Compiling modules/MadGraphAnalysis.cc
modules/MadGraphAnalysis.cc:14:28: fatal error: TLorentzVector.h: No such file or directory
 #include "TLorentzVector.h"
                            ^
compilation terminated.
make: *** [tmp/modules/MadGraphAnalysis.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

Thanks for your help,

Will

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
William Shepherd
Solved:
Last query:
Last reply:
Revision history for this message
William Shepherd (will-shepherd) said :
#1

Hello,

I've confirmed that with a built-from-scratch copy of ROOT the installation is trouble-free. Perhaps this issue should really be moved over to the Cannonical support forum instead, but it's worth knowing that the debian package version of ROOT definitely seems to be missing important files.

Will