Unable to use root within MA5
Opened this issue · 0 comments
Question
I have successfully built root from source on my Ubuntu VM Box (my previous VM crashed and got corrupt) However, it is not working in MA5. I tried installing inside MA5 but I am getting a configuration error related to python.
I am attaching the config log, bashfile and error.
P.S. to run MA5 I have to use 'python ./bin/ma5' instead './bin/ma5' . Are these two issues related
CONFIG LOG:
Checking for source directory ... /tmp/strider/MA5_root/root-6.04.08
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking whether compiler can generate dependencies ... yes
Checking whether c++11 mode is supported ... yes
Checking for string_view implementation ... <string_view>
Checking for Python version >= 2.7 ... ./configure: line 2817: -c: command not found
./configure: line 2821: test: : integer expression expected
./configure: line 2822: test: : integer expression expected
no
configure: Python >= 2.7 MUST be installed
See http://root.cern.ch/drupal/content/build-prerequisites
#######################################
##ROOT PATH
export PATH=$PATH:/root_build/bin/thisroot.sh/LHAPDF/LHAPDF-6.5.3/bin
#home/strider/root_install/bin/root
export PATH=$PATH:
export LHADIR=/LHAPDF/LHAPDF-install/LHAPDF/LHAPDF-6.5.3/lib:LD_LIBRARY_PATH
export LD_LIBRARY_PATH=
export PYTHONPATH=$PYTHONPATH:/usr/local/bin/python3
export PATH=$PATH:/usr/local/bin/python2
#export PYTHONPATH=~/LHAPDF/LHAPDF-6.5.3
alias python=python3
alias Python=python3
alias python='python3'
#######################################
install root
MA5:
MA5: **********************************************************
MA5: Installing root
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => found
MA5: Removing the previous installation ...
MA5-WARNING: Are you sure to remove the directory called '/home/strider/Documents/MG5_aMC_v3_5_3/HEPTools/madanalysis5/madanalysis5/tools/root' ? (Y/N)
Answer: y
MA5: How many cores would you like to use for the compilation ? default = max = 2
=> Answer: 2
MA5: => Number of cores used for the compilation = 2
MA5: **********************************************************
MA5: Creating a devoted folder ...
MA5: Creating a temporary folder ...
MA5: Downloading the package ...
MA5: - 1/1 https://root.cern.ch/download/root_v6.04.08.source.tar.gz ...
MA5: --> 'root.tar.gz' already exists. Package not downloaded.
MA5: Unpacking the package ...
MA5: Configuring the package ...
MA5-ERROR: impossible to configure the project. For more details, see the log file:
MA5-ERROR: /home/strider/Documents/MG5_aMC_v3_5_3/HEPTools/madanalysis5/madanalysis5/tools/root/configuration.log
MA5: Installation NOT complete.
MA5: Elapsed time = 11.12 seconds
MA5: => Status: [FAILURE]
MA5: ****************************************************