Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest with updated compiler switches fails on Fedora 25 #257

Closed
justanenduser opened this issue Jun 15, 2017 · 1 comment · Fixed by #258
Closed

latest with updated compiler switches fails on Fedora 25 #257

justanenduser opened this issue Jun 15, 2017 · 1 comment · Fixed by #258

Comments

@justanenduser
Copy link

From the command line ...
[gary@bigboote libindi]$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindThreads.cmake:212
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:203 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/gary/Downloads/indi-master/libindi/CMakeFiles/CMakeOutput.log".
See also "/home/gary/Downloads/indi-master/libindi/CMakeFiles/CMakeError.log".

pthread.h does exist in its usual location here ...
[gary@bigboote libindi]$ whereis pthread.h
pthread: /usr/include/pthread.h
[gary@bigboote libindi]$

Addtionally, FORTIFY_SOURCE requires optimization with -O

CMakeError.txt and CMakeOutput.txt are attached.

CMakeError.txt
CMakeOutput.txt

@justanenduser
Copy link
Author

justanenduser commented Jun 16, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant