i am new to installing and using ROOT . i am trying to build ROOT (6.08.04) on OpenSuse Leap15.1 with Xcf desktop env.
i have been getting python interpreter version mismatch error which i am unable to resolve. the error states as follows
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:587 (message): Version mismatch between Python interpreter (1.4) and libraries (2.7.14). ROOT cannot work with this configuration. Please specify only PYTHON_EXECUTABLE to CMake with an absolute path to ensure matching versions are found. Call Stack (most recent call first): CMakeLists.txt:167 (include)
i have checked the path of PYTHON_INCLUDE_DIR and PYTHON_LIBRARY which are as follows.
PYTHON_EXECUTABLE:FILEPATH=/usr/include/python2.7 PYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 PYTHON_LIBRARY:FILEPATH=/usr/lib64/libpython2.7.so
can any one guide me through thanks.
ROOT Version: 6.08.04
Platform: OpenSuse Leap15.1
Compiler: gcc version 7.4.0