You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Robert Lu (JIRA)" <ji...@apache.org> on 2017/01/19 09:10:26 UTC

[jira] [Updated] (THRIFT-4034) CMake doesn't work to build compiler

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

Robert Lu updated THRIFT-4034:
------------------------------
    External issue URL: https://github.com/apache/thrift/pull/1161

> CMake doesn't work to build compiler
> ------------------------------------
>
>                 Key: THRIFT-4034
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4034
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (General)
>    Affects Versions: 0.10.0
>         Environment: macOS Sierra + CMake 3.7.2
>            Reporter: Robert Lu
>            Assignee: Robert Lu
>              Labels: beginner
>             Fix For: 0.11.0
>
>
> AS [document|https://github.com/apache/thrift/blob/0.10.0/compiler/cpp/README.md#build-compiler-using-cmake] said.
> When I ran {{cmake ..}} in {{/thrift/compiler/cpp/cmake-build}}, CMake reports error as below:
> {quote}
> -- The C compiler identification is AppleClang 8.0.0.8000042
> -- The CXX compiler identification is AppleClang 8.0.0.8000042
> -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
> -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
> -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found FLEX: /usr/bin/flex (found version "2.5.35") 
> -- Found BISON: /usr/local/bin/bison (found version "3.0.4") 
> CMake Error at CMakeLists.txt:152 (install):
>   install TARGETS given no RUNTIME DESTINATION for executable target
>   "thrift-compiler".
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
>     cmake_minimum_required(VERSION 3.7)
>   should be added at the top of the file.  The version specified may be lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
> -- Configuring incomplete, errors occurred!
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)