Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
3.0
-
Security Level: Public
-
master and 3.0.0 windows-32 and windows-64 production builds
Description
When running cmake.exe, first there are some configuration errors – netinet/in.h, inttypes.h, unistd.h not found – followed by a CMake Error:
--------
C:\bs\cs-win2008-x86-20-builder-master\build\build\cmake>cmake.exe -G "NMake Makefiles" -D INSTALL_ROOT=C:\cygwin\opt\couchbase -D CMAKE_INSTALL_PREFIX=C:\cygwin\opt\couchbase -D DEPS_INCLUDE_DIR=C:\cygwin\opt\couchbase/include .
– The C compiler identification is MSVC 16.0.30319.1
– The CXX compiler identification is MSVC 16.0.30319.1
– Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
– Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
– Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Searching for headerfiles in C:\cygwin\opt\couchbase/include
– Searching for libs in c:\compile\deps\lib
– Installing to C:/cygwin/opt/couchbase
– Extra dependency include directory: C:\cygwin\opt\couchbase/include
– Extra dependency library directory: c:\compile\deps\lib
– Found libevent in C:/cygwin/opt/couchbase/include : C:/cygwin/opt/couchbase/lib/event_core.lib
– Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
– Found cURL in C:/cygwin/opt/couchbase/include : C:/cygwin/opt/couchbase/lib/libcurl_imp.lib
– Found ICU headers in /compile/couchbase/deps/include
– Found ICU libraries in /compile/couchbase/deps/lib
– Found v8 in C:/cygwin/opt/couchbase/include : C:/cygwin/opt/couchbase/lib/v8.lib
– Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
– Found PythonInterp: C:/cygwin/bin/python (found version "1.4")
– You should upgrade python so you can run tests!!!!!
– Linking with network libraries: Ws2_32
– Looking for include file netinet/in.h
– Looking for include file netinet/in.h - not found
– Looking for include file inttypes.h
– Looking for include file inttypes.h - not found
– Looking for include file unistd.h
– Looking for include file unistd.h - not found
– Looking for fdatasync
– Looking for fdatasync - not found
– Configuring incomplete, errors occurred!
C:\bs\cs-win2008-x86-20-builder-master\build\build\cmake>set RC=1
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SNAPPY_LIBRARIES (ADVANCED)
linked by target "couchstore" in directory C:/bs/cs-win2008-x86-20-builder-master/build/build/cmake/couchstore
linked by target "couchstore_testapp" in directory C:/bs/cs-win2008-x86-20-builder-master/build/build/cmake/couchstore
Makefile:166: recipe for target `cmake/Makefile' failed
make[2]: Leaving directory `/cygdrive/c/bs/cs-win2008-x86-20-builder-master/build/build'
Makefile:260: recipe for target `win32-cross' failed
make[1]: Leaving directory `/cygdrive/c/bs/cs-win2008-x86-20-builder-master/build/build'
Makefile:151: recipe for target `build-win' failed
make[2]: *** [cmake/Makefile] Error 1
make[1]: *** [win32-cross] Error 2
make: *** [build-win] Error 2