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

Problem installing hmmers #287

Closed
edzeta opened this issue Oct 12, 2022 · 3 comments
Closed

Problem installing hmmers #287

edzeta opened this issue Oct 12, 2022 · 3 comments

Comments

@edzeta
Copy link

edzeta commented Oct 12, 2022

Hi,

I am trying to install hmmer-3.3.2 using cygwim on windows. Unfortunately, there is a problem whenever I use made. I get the following error message:

$ make SUBDIR easel SUBDIR miniapps SUBDIR libdivsufsort SUBDIR src SUBDIR impl_sse CC makehmmerdb.o makehmmerdb.c: In function ‘main’: makehmmerdb.c:378:14: error: storage size of ‘ts1’ isn’t known 378 | struct tms ts1, ts2; | ^~~ makehmmerdb.c:378:19: error: storage size of ‘ts2’ isn’t known 378 | struct tms ts1, ts2; | ^~~ makehmmerdb.c:473:8: warning: implicit declaration of function ‘times’; did you mean ‘time’? [-Wimplicit-function-declaration] 473 | t1 = times(&ts1); | ^~~~~ | time make[1]: *** [Makefile:278: makehmmerdb.o] Error 1 make: *** [Makefile:92: all] Error 2

Does anybody know what could be the issue here?

Thanks in advance!

@cryptogenomicon
Copy link
Member

This looks like a portability problem (times() and struct tms are not defined on your system) that may be limited to makehmmerdb, because our configure script checks for these automatically and the rest of the code should be using our configure-time HAVE_TIMES flag. So a workaround might be to comment out makehmmerdb in src/Makefile, and I bet the rest of the code should compile.

Meanwhile we'll fix this in a future release. Let me know if the workaround works in the meantime. Thanks for reporting it!

@npcarter
Copy link
Member

npcarter commented Oct 12, 2022 via email

@edzeta
Copy link
Author

edzeta commented Oct 13, 2022

This looks like a portability problem (times() and struct tms are not defined on your system) that may be limited to makehmmerdb, because our configure script checks for these automatically and the rest of the code should be using our configure-time HAVE_TIMES flag. So a workaround might be to comment out makehmmerdb in src/Makefile, and I bet the rest of the code should compile.

Meanwhile we'll fix this in a future release. Let me know if the workaround works in the meantime. Thanks for reporting it!

Thanks it solved the problem! The code compile without any problem, including the Tutorial.

@edzeta edzeta closed this as completed Oct 13, 2022
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

No branches or pull requests

3 participants