You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2020/04/09 09:13:00 UTC

[jira] [Updated] (THRIFT-5174) In py module, compilation fails when using cmake to execute make

     [ https://issues.apache.org/jira/browse/THRIFT-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zezeng Wang updated THRIFT-5174:
--------------------------------
    Description: 
In the py module, the compilation fails when using cmake to execute make, but using make alone can build successfully

 

~/workspace/pzw/pzw_git/test/lib/py/build2 # make
 Scanning dependencies of target python_build
 [100%] Building Python library
 /bin/sh: 1: setup.py: not found
 CMakeFiles/python_build.dir/build.make:57: recipe for target 'CMakeFiles/python_build' failed
 make[2]: *** [CMakeFiles/python_build] Error 127
 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/python_build.dir/all' failed
 make[1]: *** [CMakeFiles/python_build.dir/all] Error 2
 Makefile:83: recipe for target 'all' failed
 make: *** [all] Error 2

 

  was:
 

~/workspace/pzw/pzw_git/test/lib/py/build2 # make
Scanning dependencies of target python_build
[100%] Building Python library
/bin/sh: 1: setup.py: not found
CMakeFiles/python_build.dir/build.make:57: recipe for target 'CMakeFiles/python_build' failed
make[2]: *** [CMakeFiles/python_build] Error 127
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/python_build.dir/all' failed
make[1]: *** [CMakeFiles/python_build.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


> In py module, compilation fails when using cmake to execute make
> ----------------------------------------------------------------
>
>                 Key: THRIFT-5174
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5174
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>            Reporter: Zezeng Wang
>            Priority: Major
>
> In the py module, the compilation fails when using cmake to execute make, but using make alone can build successfully
>  
> ~/workspace/pzw/pzw_git/test/lib/py/build2 # make
>  Scanning dependencies of target python_build
>  [100%] Building Python library
>  /bin/sh: 1: setup.py: not found
>  CMakeFiles/python_build.dir/build.make:57: recipe for target 'CMakeFiles/python_build' failed
>  make[2]: *** [CMakeFiles/python_build] Error 127
>  CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/python_build.dir/all' failed
>  make[1]: *** [CMakeFiles/python_build.dir/all] Error 2
>  Makefile:83: recipe for target 'all' failed
>  make: *** [all] Error 2
>  



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