You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/01/21 14:07:00 UTC

[jira] [Created] (PROTON-2169) Build fails with ModuleNotFoundError when python3-distutils is missing

Jiri Daněk created PROTON-2169:
----------------------------------

             Summary: Build fails with ModuleNotFoundError when python3-distutils is missing
                 Key: PROTON-2169
                 URL: https://issues.apache.org/jira/browse/PROTON-2169
             Project: Qpid Proton
          Issue Type: Bug
          Components: build
    Affects Versions: proton-c-0.30.0
            Reporter: Jiri Daněk


Compile as in PROTON-2145, that means

{noformat}
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
{noformat}

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

{noformat}
-- 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".
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org