You are not logged in.
When compile conky-cli i got error:
CMake Error at cmake/ConkyPlatformChecks.cmake:29 (check_include_files):
Unknown CMake command "check_include_files".
Call Stack (most recent call first):
CMakeLists.txt:37 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeError.log".
CMakeError.log content
Determining if the pthread_create exist failed with the following output: Change Dir: /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a7488/fast" /usr/bin/make -f CMakeFiles/cmTC_a7488.dir/build.make CMakeFiles/cmTC_a7488.dir/build make[1]: Entering directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o -c /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_a7488 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a7488.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o -o cmTC_a7488 -rdynamic CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference topthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a7488.dir/build.make:97: recipe for target 'cmTC_a7488' failed make[1]: *** [cmTC_a7488] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a7488/fast' failed make: *** [cmTC_a7488/fast] Error 2
File /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
include <pthread.h>
int main(int argc, char** argv) { (void)argv;
ifndef pthread_create
return ((int*)(&pthread_create))[argc];
else
(void)argc; return 0;
endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cd1b4/fast" /usr/bin/make -f CMakeFiles/cmTC_cd1b4.dir/build.make CMakeFiles/cmTC_cd1b4.dir/build make[1]: Entering directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_cd1b4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd1b4.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o -o cmTC_cd1b4 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_cd1b4.dir/build.make:97: recipe for target 'cmTC_cd1b4' failed make[1]: *** [cmTC_cd1b4] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_cd1b4/fast' failed make: *** [cmTC_cd1b4/fast] Error 2
Offline
Did you read the comments on the AUR page?
Offline
Yes, and nothing look same with my error, I also posted on AUR package comment.
Offline
I poste a PKGBUILD in the AUR comments that builds for me.
Offline
Yes, and nothing look same with my error, I also posted on AUR package comment.
There are two users who commented there with the exact same error which led to the posted new PKGBUILD as a solution.
Are you sure you checked the AUR page for the correct package?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I poste a PKGBUILD in the AUR comments that builds for me.
I used your PKGBUILD with version 1.10.1 and everything work fine. Thank you so much.
Offline