Installing root without python-devel

I am installing rootv6.16 on CentOS-7, I do not have root privileges and I would avoid to install many new libraries. I am using cmake. I get ‘Could NOT find PythonLibs’.

I read that python-devel is optional, but I cannot find which switch I should turn on/off.

I assume, in this case cmake will simply skip the building of the “python” feature (you don’t need to do anything about it).

Note: The ROOT team provides ready-to-use binary distributions for some systems, including “CentOS Cern 7 gcc4.8”, which you just need to download and unpack.

cmake does raise an error:

CMake Error at /path/to/cmake/3.11.4/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

EDIT:

I do not have gcc 4.8 and I would need to compile it

Well, gcc 4.8 is the default, system provided, compiler on CentOS 7 (try gcc --version).

1 Like

right, I hadn’t noticed about gcc outside of module environment, It works, thanks