{"action":"opened","issue":{"url":"https://api.github.com/repos/brndnmtthws/conky/issues/169","labels_url":"https://api.github.com/repos/brndnmtthws/conky/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/brndnmtthws/conky/issues/169/comments","events_url":"https://api.github.com/repos/brndnmtthws/conky/issues/169/events","html_url":"https://github.com/brndnmtthws/conky/issues/169","id":118152641,"number":169,"title":"Unknown CMake command \"check_include_file\".","user":{"login":"Geyup","id":13072581,"avatar_url":"https://avatars.githubusercontent.com/u/13072581?v=3","gravatar_id":"","url":"https://api.github.com/users/Geyup","html_url":"https://github.com/Geyup","followers_url":"https://api.github.com/users/Geyup/followers","following_url":"https://api.github.com/users/Geyup/following{/other_user}","gists_url":"https://api.github.com/users/Geyup/gists{/gist_id}","starred_url":"https://api.github.com/users/Geyup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geyup/subscriptions","organizations_url":"https://api.github.com/users/Geyup/orgs","repos_url":"https://api.github.com/users/Geyup/repos","events_url":"https://api.github.com/users/Geyup/events{/privacy}","received_events_url":"https://api.github.com/users/Geyup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T23:58:51Z","updated_at":"2015-11-20T23:58:51Z","closed_at":null,"body":"Trying to compile 1.10.1 in Slackware 14.1 but getting some CMAKE error at the terminal;\r\n\r\ne):\r\n  Unknown CMake command \"check_include_file\".\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:37 (include)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeError.log\".\r\n\r\n```CMakeOutput.log```\r\n\r\n```Determining if the pthread_create exist failed with the following output:\r\nChange Dir: /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp\r\n\r\nRun Build Command:/usr/bin/gmake \"cmTryCompileExec3820755481/fast\"\r\n/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3820755481.dir/build.make CMakeFiles/cmTryCompileExec3820755481.dir/build\r\ngmake[1]: Entering directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\n/usr/bin/cmake -E cmake_progress_report /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1\r\nBuilding C object CMakeFiles/cmTryCompileExec3820755481.dir/CheckSymbolExists.c.o\r\n/usr/local/bin/cc    -o CMakeFiles/cmTryCompileExec3820755481.dir/CheckSymbolExists.c.o   -c /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c\r\nLinking C executable cmTryCompileExec3820755481\r\n/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3820755481.dir/link.txt --verbose=1\r\n/usr/local/bin/cc       CMakeFiles/cmTryCompileExec3820755481.dir/CheckSymbolExists.c.o  -o cmTryCompileExec3820755481 -rdynamic \r\nCMakeFiles/cmTryCompileExec3820755481.dir/CheckSymbolExists.c.o: In function `main':\r\nCheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'\r\ncollect2: error: ld returned 1 exit status\r\ngmake[1]: *** [cmTryCompileExec3820755481] Error 1\r\ngmake[1]: Leaving directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\ngmake: *** [cmTryCompileExec3820755481/fast] Error 2\r\n\r\nFile /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:\r\n/* */\r\n#include <pthread.h>\r\n\r\nint main(int argc, char** argv)\r\n{\r\n  (void)argv;\r\n#ifndef pthread_create\r\n  return ((int*)(&pthread_create))[argc];\r\n#else\r\n  (void)argc;\r\n  return 0;\r\n#endif\r\n}\r\n\r\nDetermining if the function pthread_create exists in the pthreads failed with the following output:\r\nChange Dir: /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp\r\n\r\nRun Build Command:/usr/bin/gmake \"cmTryCompileExec2536054887/fast\"\r\n/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2536054887.dir/build.make CMakeFiles/cmTryCompileExec2536054887.dir/build\r\ngmake[1]: Entering directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\n/usr/bin/cmake -E cmake_progress_report /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1\r\nBuilding C object CMakeFiles/cmTryCompileExec2536054887.dir/CheckFunctionExists.c.o\r\n/usr/local/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec2536054887.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c\r\nLinking C executable cmTryCompileExec2536054887\r\n/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2536054887.dir/link.txt --verbose=1\r\n/usr/local/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2536054887.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2536054887 -rdynamic -lpthreads \r\n/usr/bin/ld: cannot find -lpthreads\r\ncollect2: error: ld returned 1 exit status\r\ngmake[1]: *** [cmTryCompileExec2536054887] Error 1\r\ngmake[1]: Leaving directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\ngmake: *** [cmTryCompileExec2536054887/fast] Error 2\r\n\r\n\r\nDetermining if the pipe2 exist failed with the following output:\r\nChange Dir: /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp\r\n\r\nRun Build Command:/usr/bin/gmake \"cmTryCompileExec63981774/fast\"\r\n/usr/bin/gmake -f CMakeFiles/cmTryCompileExec63981774.dir/build.make CMakeFiles/cmTryCompileExec63981774.dir/build\r\ngmake[1]: Entering directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\n/usr/bin/cmake -E cmake_progress_report /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CMakeFiles 1\r\nBuilding C object CMakeFiles/cmTryCompileExec63981774.dir/CheckSymbolExists.c.o\r\n/usr/local/bin/cc  -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -std=c99     -o CMakeFiles/cmTryCompileExec63981774.dir/CheckSymbolExists.c.o   -c /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c\r\n/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:\r\n/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘pipe2’ undeclared (first use in this function)\r\n   return ((int*)(&pipe2))[argc];\r\n                   ^\r\n/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in\r\ngmake[1]: *** [CMakeFiles/cmTryCompileExec63981774.dir/CheckSymbolExists.c.o] Error 1\r\ngmake[1]: Leaving directory `/tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp'\r\ngmake: *** [cmTryCompileExec63981774/fast] Error 2\r\n\r\nFile /tmp/foo/conky-1.10.1/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:\r\n/* */\r\n#include <unistd.h>\r\n\r\nint main(int argc, char** argv)\r\n{\r\n  (void)argv;\r\n#ifndef pipe2\r\n  return ((int*)(&pipe2))[argc];\r\n#else\r\n  (void)argc;\r\n  return 0;\r\n#endif\r\n}```"}}