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

cmake complains when PYTHONPATH is not set.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: master, 6.14/00, 6.16/00, 6.14/02, 6.14/04, 6.14/06, 6.14/08, 6.16/02
    • Fix Version/s: 6.18/00, 6.14/10, 6.16/02
    • Component/s: None
    • Labels:
      None
    • Environment:

      all
      since commit c2d0d18f9834a0a159eb8c659e35392fc22f53ed

      Description

      when PYTHONPATH is not set at all, I get:

      CMake Error at CMakeLists.txt:32 (string):
        string sub-command REPLACE requires at least four arguments.
      

      and indeed commenting the line:

      string(REPLACE "$ENV{ROOTSYS}/lib" "" ENV_PYTHONPATH $ENV{PYTHONPATH})
      

      make the problem go away.

        Attachments

          Activity

            People

            • Assignee:
              amadio Guilherme Amadio
              Reporter:
              pcanal Philippe Canal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: