Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2169

Build fails with ModuleNotFoundError when python3-distutils is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • proton-c-0.30.0
    • None
    • build
    • None

    Description

      Compile as in PROTON-2145, that means

      mkdir _build
      cd _build
      cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local\
        -DSYSINSTALL_BINDINGS=ON\
        -DBUILD_STATIC_LIBS=ON\
        -DBUILD_TESTING=OFF\
        -DBUILD_WITH_CXX=ON\
        -DENABLE_FUZZ_TESTING=OFF\
        -DFUZZ_REGRESSION_TESTS=OFF
      
      make -j4
      make install
      

      When I don't have python3-distutils installed, I get

      -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
      ModuleNotFoundError: No module named 'distutils.sysconfig'
      -- Looking for Python module sphinx - not found
      -- Looking for Python module sphinx_automodapi - not found
      -- Sphinx modules not found; doc generation disabled.
      CMake Error at python/CMakeLists.txt:139 (install):
        install FILES given no DESTINATION!
      
      
      CMake Error at python/CMakeLists.txt:145 (install):
        install TARGETS given no LIBRARY DESTINATION for module target "_cproton".
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: