I found some asked the same question .but i still dont know how to solve this problem,
problem:
Checking mandatory packages:
- python [OK]
- python library: numpy [OK]
- g++ [OK]
- Root [OK]
- PyRoot libraries [OK]
Checking optional packages:
- gfortran [OK]
- zlib library [OK]
- delphes library [DISABLED]
** WARNING: Library called 'delphes' not found. Delphes ROOT format will be disabled.
** WARNING: To enable this format, please type 'install delphes'.
- FastJet [OK]
- pdflatex [OK]
- latex [OK]
- dvipdf [OK]
- MCatNLO-utilities [DISABLED]
** WARNING: MCatNLO-utilities not found. Showering aMCatNLO events deactivated.
** WARNING: To install the utilities, please type 'install MCatNLO-utilities'.
Checking the MadAnalysis library:
=> First use of MadAnalysis (or the library is missing).
Creating a 'Makefile'...
Compiling the MadAnalysis library...
=> How many cores for the compiling? default = max = 8
Answer:
Number of cores used for the compilation = 8
** ERROR: errors occured during compilation. For more details, see the file :
** ERROR: /home/ui/MG5_aMC_v2_1_0/madanalysis5/tools/SampleAnalyzer/compilation.log
** ERROR: library building aborted.
compilation.log:
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Analyzer/AnalyzerManager.o Analyzer/AnalyzerManager.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Analyzer/MergingPlots.o Analyzer/MergingPlots.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/castorstream.o Core/castorstream.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/Configuration.o Core/Configuration.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/gz_streambase.o Core/gz_streambase.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/ProgressBar.o Core/ProgressBar.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/SampleAnalyzer.o Core/SampleAnalyzer.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Core/xdr_istream.o Core/xdr_istream.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Counter/CounterManager.o Counter/CounterManager.cpp
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/Analyzer/MergingPlots.h:37,
from Analyzer/AnalyzerManager.cpp:29:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/Analyzer/MergingPlots.h:37,
from Analyzer/MergingPlots.cpp:27:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o DataFormat/PdgDataFormat.o DataFormat/PdgDataFormat.cpp
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/DataFormat/EventFormat.h:35,
from ./../SampleAnalyzer/Core/SampleAnalyzer.h:39,
from Core/SampleAnalyzer.cpp:26:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o DataFormat/PdgTable.o DataFormat/PdgTable.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Detector/DetectorDelphes.o Detector/DetectorDelphes.cpp
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/DataFormat/EventFormat.h:35,
from ./../SampleAnalyzer/Writer/WriterBase.h:36,
from ./../SampleAnalyzer/Writer/WriterTextBase.h:39,
from ./../SampleAnalyzer/Writer/SAFWriter.h:39,
from ./../SampleAnalyzer/Counter/CounterManager.h:38,
from Counter/CounterManager.cpp:26:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Detector/DetectorManager.o Detector/DetectorManager.cpp
g++ -Wall -O3 -pthread -m64 -I/home/ui/root/include -I./../ -DZIP_USE -DFASTJET_USE -I/usr/local/include -c -o Filter/FilterManager.o Filter/FilterManager.cpp
make: *** [Counter/CounterManager.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Analyzer/AnalyzerManager.o] Error 1
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/DataFormat/EventFormat.h:35,
from ./../SampleAnalyzer/Detector/DetectorBase.h:29,
from ./../SampleAnalyzer/Detector/DetectorManager.h:30,
from Detector/DetectorManager.cpp:26:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
make: *** [Analyzer/MergingPlots.o] Error 1
make: *** [Detector/DetectorManager.o] Error 1
In file included from ./../SampleAnalyzer/DataFormat/MCParticleFormat.h:35:0,
from ./../SampleAnalyzer/DataFormat/MCEventFormat.h:35,
from ./../SampleAnalyzer/DataFormat/EventFormat.h:35,
from ./../SampleAnalyzer/Filter/FilterBase.h:29,
from ./../SampleAnalyzer/Filter/FilterManager.h:29,
from Filter/FilterManager.cpp:29:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h: In member function ‘MA5::ParticleBaseFormat MA5::ParticleBaseFormat::operator*(const MA5::ParticleBaseFormat&) const’:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: error: no matching function for call to ‘MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t)’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:207:57: note: candidates are:
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const TLorentzVector&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:81:3: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const TLorentzVector&’
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat(Double_t, Double_t, Double_t, Double_t)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:77:3: note: candidate expects 4 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: MA5::ParticleBaseFormat::ParticleBaseFormat()
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:73:3: note: candidate expects 0 arguments, 1 provided
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: MA5::ParticleBaseFormat::ParticleBaseFormat(const MA5::ParticleBaseFormat&)
./../SampleAnalyzer/DataFormat/ParticleBaseFormat.h:50:7: note: no known conversion for argument 1 from ‘Double_t {aka double}’ to ‘const MA5::ParticleBaseFormat&’
make: *** [Core/SampleAnalyzer.o] Error 1
make: *** [Filter/FilterManager.o] Error 1
make: *** wait: No child processes. Stop.
plz help me if someone solved this problem.
and i dont know why the Error reported by compilation.log changes sometimes after another try.
system: ubuntu 12.04
python 2.7.3
the README of madanalysis let me to do this,
./configure --with-python
but i get a mistake...
ui@ui-ubuntu:~/root$ ./configure --with-python
Checking for source directory ... /home/ui/root
Configuring for linuxx8664gcc
Invalid option '--with-python'. Try ./configure --help