[
https://issues.apache.org/jira/browse/THRIFT-5271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188925#comment-17188925
]
Zezeng Wang commented on THRIFT-5271:
-------------------------------------
Hi,please see the log about software installation.
{code}
winflexbison3 v2.5.23.20200829 [Approved]
winflexbison3 package files install completed. Performing other installation
steps.
The install of winflexbison3 was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
{code}
The real reason should be that the software is installed in the wrong directory.
This software installed by chocolatey install.
The code in MSVC-appveyor-install.bat.
{code}
cinst -y winflexbison3
{code}
I try to install the chocolatey in my computer but it is failed.
Can you try it ?
[https://chocolatey.org/install|https://chocolatey.org/install]
> appveyor-ci:Configuring incomplete, errors occurred!
> ----------------------------------------------------
>
> Key: THRIFT-5271
> URL: https://issues.apache.org/jira/browse/THRIFT-5271
> Project: Thrift
> Issue Type: Bug
> Reporter: Zezeng Wang
> Priority: Major
>
> The machine about MSVC2017 and MSVC2015 Configuring incomplete .
> such as:
> [https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/34959432/job/xo2vrekn3vw8t3df|https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/34959432/job/xo2vrekn3vw8t3df]
> -- Found clang-tidy: C:/Program Files/LLVM/bin/clang-tidy.exe
> -- Found clang-apply-replacements: C:/Program
> Files/LLVM/bin/clang-apply-replacements.exe
> -- Could NOT find run-clang-tidy (missing: run-clang-tidy_BINARY)
> -- Looking for pthread.h
> -- Looking for pthread.h - not found
> -- Found Threads: TRUE
> -- Building with unittests
> CMake Error at C:/Program Files
> (x86)/CMake/share/cmake-3.16/Modules/FindFLEX.cmake:125 (message):
> Command "C:/ProgramData/chocolatey/lib/winflexbison3/tools/win_flex.exe
> --version" failed with output:
>
> Call Stack (most recent call first):
> compiler/cpp/CMakeLists.txt:26 (find_package)
> -- Found FLEX: C:/ProgramData/chocolatey/lib/winflexbison3/tools/win_flex.exe
>
> CMake Error at C:/Program Files
> (x86)/CMake/share/cmake-3.16/Modules/FindBISON.cmake:103 (message):
> Command "C:/ProgramData/chocolatey/lib/winflexbison3/tools/win_bison.exe
> --version" failed with output:
> Call Stack (most recent call first):
> compiler/cpp/CMakeLists.txt:27 (find_package)
> -- Found BISON:
> C:/ProgramData/chocolatey/lib/winflexbison3/tools/win_bison.exe
> -- Found libevent:
> C:/projects/thrift/thirdparty/libevent-2.1.8-stable/lib/libevent.lib
> -- Found ZLIB: C:/projects/thrift/thirdparty/zlib-inst/lib/zlib.lib (found
> version "1.2.11")
> -- Locating boost libraries required by sources in
> C:/projects/thrift/lib/cpp/test
> -- Found Boost: C:/Libraries/boost_1_67_0 (found suitable version "1.67.0",
> minimum required is "1.56") found components: chrono date_time filesystem
> random thread unit_test_framework system atomic
> -- Locating boost libraries required by sources in C:/projects/thrift/test/cpp
> -- Found Boost: C:/Libraries/boost_1_67_0 (found suitable version "1.67.0",
> minimum required is "1.56") found components: filesystem program_options
> random system
> -- Found OpenSSL:
> optimized;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib
> (found version "1.0.2u")
> -- Found libevent:
> C:/projects/thrift/thirdparty/libevent-2.1.8-stable/lib/libevent.lib
> -- ----------------------------------------------------------
> -- Thrift version: 0.14.0 (0.14.0)
> -- Thrift package version: 0.14.0
> --
> -- Build configuration summary
> -- Build compiler: ON
> -- Build libraries: ON
> -- Build tests: ON
> -- Build type: Release
> --
> -- Language libraries:
> --
> -- Build as3 library: ON
> --
> -- Build with OpenSSL: ON
> -- Version: 1.0.2u
> --
> -- Build C++ library: ON
> -- C++ Language Level: C++11 [compiler must support
> it]
> -- Build shared libraries: ON
> -- Build with libevent support: ON
> -- Build with Qt5 support: ON
> -- Build with ZLIB support: ON
> --
> -- Build C (GLib) library: OFF
> -- - GLib missing
> --
> -- Build Java library: ON
> -- Build Javascript library: OFF
> -- Build NodeJS library: ON
> --
> -- Build Python library: ON
> --
> -- Build Haskell library: ON
> --
> -- ----------------------------------------------------------
> -- Configuring incomplete, errors occurred!
> See also "C:/projects/build/MSVC2017/x64/CMakeFiles/CMakeOutput.log".
> See also "C:/projects/build/MSVC2017/x64/CMakeFiles/CMakeError.log".
> C:\projects\thrift>set lastexitcode=1
> C:\projects\thrift>set 1>C:\Users\appveyor\AppData\Local\Temp\tmp502D.tmp
> C:\projects\thrift>echo C:\projects\thrift
> 1>C:\Users\appveyor\AppData\Local\Temp\tmp502E.tmp
> C:\projects\thrift>exit /b 1
> Command exited with code 1
--
This message was sent by Atlassian Jira
(v8.3.4#803005)