[Libwebsockets] Fwd: Re: v3.1 very shortly

Per Bothner per at bothner.com
Thu Nov 22 19:45:17 CET 2018


I noticed a likely documentation bug:

READMEs/README.coding.md says:

    @section gzip Serving from inside a zip file

     To use this feature, ensure LWS_WITH_ZIP_FOPS is enabled at CMake (it is by
    default).

I wanted to check if LWS_WITH_DISTRO_RECOMMENDED implies LWS_WITH_ZIP_FOPS,
but ran into a problem:

cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/lws -DLWS_WITH_DISTRO_RECOMMENDED=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:
LIBEV_LIBRARIES
     linked by target "cmTC_3ca50" in directory /home/bothner/Software/libwebsockets/build/CMakeFiles/CMakeTmp
LIBUV_LIBRARIES
     linked by target "cmTC_3ca50" in directory /home/bothner/Software/libwebsockets/build/CMakeFiles/CMakeTmp

CMake Error at /usr/share/cmake/Modules/CheckFunctionExists.cmake:72 (try_compile):
   Failed to configure test project build system.
Call Stack (most recent call first):
   CMakeLists.txt:1582 (CHECK_FUNCTION_EXISTS)


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:
LIBEV_INCLUDE_DIRS
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
LIBEV_LIBRARIES
     linked by target "websockets" in directory /home/bothner/Software/libwebsockets
     linked by target "websockets_shared" in directory /home/bothner/Software/libwebsockets
LIBUV_INCLUDE_DIRS
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
    used as include directory in directory /home/bothner/Software/libwebsockets
LIBUV_LIBRARIES
     linked by target "websockets" in directory /home/bothner/Software/libwebsockets
     linked by target "websockets_shared" in directory /home/bothner/Software/libwebsockets

-- Configuring incomplete, errors occurred!
See also "/home/bothner/Software/libwebsockets/build/CMakeFiles/CMakeOutput.log".
See also "/home/bothner/Software/libwebsockets/build/CMakeFiles/CMakeError.log".

This is on Fedora 29.
-- 
	--Per Bothner
per at bothner.com   http://per.bothner.com/


More information about the Libwebsockets mailing list