You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/16 09:14:00 UTC

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

    [ https://issues.apache.org/jira/browse/PROTON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215280#comment-17215280 ] 

ASF GitHub Bot commented on PROTON-2169:
----------------------------------------

jiridanek opened a new pull request #274:
URL: https://github.com/apache/qpid-proton/pull/274


   Without the module present, the build would fail with a
   somewhat cryptic final error saying
   
   ```
   CMake Error at python/CMakeLists.txt:139 (install):
     install FILES given no DESTINATION!
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>
> 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