Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8429

Error during dictionary creation of PyMVA on SuSe 13.1 and OpenSuSE Leap 42.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.06/06
    • Fix Version/s: 6.10/00, 6.08/02
    • Component/s: Build System, TMVA
    • Labels:
      None
    • Environment:

      Suse 13.1 and OpenSuSE Leap 42.1

      Description

      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

      #include "numpy/numpyconfig.h"

      ^

      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.

      Ciao

      Florian

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              fuhlig Florian Uhlig
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual Start: