Tried to create make-file with commands/arguments mentioned by README.md:
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
Output/Error:
-- Found LibMPDClient: /usr/lib/libmpdclient.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.0/Modules/FindOpenSSL.cmake:328 (find_package_handle_standard_args)
CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
See also "/opt/ympd/build/CMakeFiles/CMakeOutput.log".
See also "/opt/ympd/build/CMakeFiles/CMakeError.log".
The phrase Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) pointed out, that some OpenSSL-dependency is missing and given I'm trying to build it with SSL-fucntionality it probably is a development package.
And indeed, after installing libssl-dev it works flawlessly (I installed libssl-dev from jessie-backports, but it probably works just fine installing it from jessie):
OS: Debian 8.0, amd64 ympd-version: 1.3.0
Tried to create make-file with commands/arguments mentioned by README.md:
Output/Error:
The phrase
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
pointed out, that some OpenSSL-dependency is missing and given I'm trying to build it with SSL-fucntionality it probably is a development package.And indeed, after installing
libssl-dev
it works flawlessly (I installed libssl-dev from jessie-backports, but it probably works just fine installing it from jessie):Didn't really cost me any time to figure it out, but it might be worth mentioning in your README.md :)