[Paraview] Python not found in paraview-superbuild cmake

Patrick Begou Patrick.Begou at legi.grenoble-inp.fr
Tue Apr 18 03:57:49 EDT 2017


I've posted this email last week but I did not reveive it via the list. May be a 
mistake of myself. I appologize if some one reveive it twice.

I'm trying to compile Paraview 5.3 on CentOS6 because I use a modified OpenMPI 
version witch is interfaced with my batch scheduler.
I've started with :
I've installed cmake-3.8.0 (in /opt) as CentOS cmake is only 2.8.12... it works
I've installed python 3.6 in /opt as CentOS6 python is only 2.6.6, and numpy, 
matplotlib... it works

I've got paraview-superbuild:
git clone --recursive https://gitlab.kitware.com/paraview/paraview-superbuild.git
cd paraview-superbuild
git fetch origin
git checkout v5.3.0
git submodule update

But running cmake is not able to find my new python install:
CMake Error at 
/opt/cmake-3.8.0-Linux-x86_64/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 
(message):
    Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

Even if I have set the python environment (but I'm not familar with python):
$python -V
Python 3.6.1
$echo $PYTHONHOME
/opt/python361

Setting:
  -DPYTHON_LIBRARIES=/opt/python361/lib/libpython3.6m.a \
  -DPYTHON_INCLUDE_DIRS=/opt/python361/include \
Doesn't help.

Thanks for your advices

Patrick

-- 
===================================================================
|  Equipe M.O.S.T.         |                                      |
|  Patrick BEGOU           | mailto:Patrick.Begou at grenoble-inp.fr |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================



More information about the ParaView mailing list