mozilla-services / heka

DEPRECATED: Data collection and processing made easy.
http://hekad.readthedocs.org/
Other
3.39k stars 531 forks source link

when tried to build heka-dev on windows,I got an error of lua_sax #1864

Closed brightyang closed 8 years ago

brightyang commented 8 years ago

Enviroment: The system is: Windows - 6.1.7601 - AMD64 CMake: cmake-3.5.0-rc3-win32-x86 Git: Git-2.7.1.2-64-bit GO: go1.4.1.windows-amd64 Mercurial : mercurial-3.7.1-x64 minGW: tdm64-gcc-5.1.0-2

Error: [ 23%] Performing configure step for 'lua_sax' Not searching for unused variables given on the command line. -- The C compiler identification is GNU 5.1.0 -- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe -- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageH andleStandardArgs.cmake:148 (message): Could NOT find Lua (missing: LUA_LIBRARIES) (found version "5.1.5") Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandard Args.cmake:388 (_FPHSA_FAILURE_MESSAGE) cmake/FindLua.cmake:126 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:56 (find_package)

-- Configuring incomplete, errors occurred! See also "C:/Users/guan/heka/build/ep_base/Build/lua_sandbox/ep_base/Build/lua_s ax/CMakeFiles/CMakeOutput.log". CMakeFiles\lua_sax.dir\build.make:104: recipe for target 'ep_base/Stamp/lua_sax/ lua_sax-configure' failed mingw32-make[5]: * [ep_base/Stamp/lua_sax/lua_sax-configure] Error 1 CMakeFiles\Makefile2:327: recipe for target 'CMakeFiles/lua_sax.dir/all' failed mingw32-make[4]: * [CMakeFiles/lua_sax.dir/all] Error 2 Makefile:159: recipe for target 'all' failed mingw32-make[3]: * [all] Error 2 CMakeFiles\lua_sandbox.dir\build.make:111: recipe for target 'epbase/Stamp/lua sandbox/lua_sandbox-build' failed mingw32-make[2]: * [ep_base/Stamp/lua_sandbox/lua_sandbox-build] Error 2 CMakeFiles\Makefile2:843: recipe for target 'CMakeFiles/lua_sandbox.dir/all' fai led mingw32-make[1]: * [CMakeFiles/lua_sandbox.dir/all] Error 2 Makefile:159: recipe for target 'all' failed mingw32-make: * [all] Error 2

brightyang commented 8 years ago

Change CMake version to 3.0.2,build passed