During the generation of the PyMVA dictionary on SuSe 13.1 and OpenSuSE Leap 42.1 we get the following error.
In file included from input_line_12:6:
/home/panda/PandaSoftware/FairSoft/FairSoft_source/tools/root/build_for_ fair/include/root/TMVA/PyMethodBase.h:42:10: fatal error: 'numpy/numpyconfig.h'
file not found
Error: ../../bin/rootcling: compilation failure (/home/panda/PandaSoftware/FairSoft/FairSoft_source/tools/root/build_for _fair/lib/libPyMVA40eaf9e374_dictUmbrella.h)
The reason for this behavior is that for SuSe systems numpy is distributed in two packages python-numpy (libs) and python-numpy-devel (headers). Unfortunately the headers are not installed by default.
The FindNumPy.cmake script only checks for the existence of the libs which are present such that pymva will be build. During the build the header files are missing with the result above.
To solve the issue please check also for the existence of the needed header file in the FindNumPy.cmake script and only build pymva is headers and libs are present.