-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compilation error: Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed #66
Comments
Hey, thanks for reporting this issue! That is a strange error and seems to have nothing to do with taxator-tk itself, but the cmake build system. I currently don't have the time to test myself, so I'm guessing by the error message: The library to link to for using POSIX threads (pthreads) is not available in the search path. taxator-tk uses multiple CPU cores with threads. Can you look for the library using
? For me (Ubuntu/Debian) this yields
So the latter package contains the libary. However, it should be installed on every modern Linux system, so I suspect that the cmake check simply does not work correctly for some reason. |
Does the binary package which you can download in the releases section on GitHub work for you? |
Thanks for responding, I appreciate it. Find produces this, so the pthreads library is installed:
I don't know if there's a dpkg equivalent in CentOS that will reproduce the output you have for the second command, but glibc-devel-2.28-189.el8.x86_64 is the equivalent package for libc6-dev, and it is installed. I'm messing around with the binary (thanks, I didn't realize it was available, I usually compile from source if the conda install fails for a bioinformatic tool like this). I can get the help menu, but I don't seem to have a custom blastdb that's got a taxdump file, even though I have taxonIDs in all my custom blastdbs. So, I'll have to make one that lastal will accept as input before I test out the taxator binary otherwise I'll have to test with the entire NCBI NT, which seems excessive. I'll try this by the end of the week and report back. |
The format or repacks is pretty simple and well documented. You will find some for download here: https://nextcloud.bifo.helmholtz-hzi.de/s/kgtfteoQ9LfzQZx (it currently has a certificate error but otherwise works) and an example on how to build one in this blog post https://scienceblog.fungs.de/posts/taxator-tk-marine-refpack/ Regarding the error, I will give it a try in a CentOS environment once I've got some time. Could be, that this is an issue with the build system CMake itself. |
System: CentOS 8
uname -a
Linux xxx.xxx.xxx 4.18.0-147.5.1.el8_1.x86_64 #1 SMP Wed Feb 5 02:00:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I've got boost 1.66 (plus devel) and cmake 3.20.2, so I have my dependencies satisfied, but I'm unable to compile, seeing this in my CMakeError.log:
The text was updated successfully, but these errors were encountered: