lib/htslib/hfile_s3.c:70:2: error: #error No HMAC() routine found by configure
error No HMAC() routine found by configure
^~~~~
lib/htslib/hfile_s3.c: In function ‘s3_rewrite’:
lib/htslib/hfile_s3.c:335:30: error: ‘DIGEST_BUFSIZ’ undeclared (first use in this function); did you mean ‘_G_BUFSIZ’?
unsigned char digest[DIGEST_BUFSIZ];
^~~~~
_G_BUFSIZ
lib/htslib/hfile_s3.c:335:30: note: each undeclared identifier is reported only once for each function it appears in
lib/htslib/hfile_s3.c:336:29: warning: implicit declaration of function ‘s3_sign’; did you mean ‘strsignal’? [-Wimplicit-function-declaration]
size_t digest_len = s3_sign(digest, &secret, &message);
^~~
strsignal
lib/htslib/hfile_s3.c:335:23: warning: unused variable ‘digest’ [-Wunused-variable]
unsigned char digest[DIGEST_BUFSIZ];
^~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
I'm not sure what to do. Can you help me out? Thanks in advance
I'm doing
python setup.py test
and I'm getting the following errors
lib/htslib/hfile_s3.c:70:2: error: #error No HMAC() routine found by configure
error No HMAC() routine found by configure
^~~~~ lib/htslib/hfile_s3.c: In function ‘s3_rewrite’: lib/htslib/hfile_s3.c:335:30: error: ‘DIGEST_BUFSIZ’ undeclared (first use in this function); did you mean ‘_G_BUFSIZ’? unsigned char digest[DIGEST_BUFSIZ]; ^
~~~~ _G_BUFSIZ lib/htslib/hfile_s3.c:335:30: note: each undeclared identifier is reported only once for each function it appears in lib/htslib/hfile_s3.c:336:29: warning: implicit declaration of function ‘s3_sign’; did you mean ‘strsignal’? [-Wimplicit-function-declaration] size_t digest_len = s3_sign(digest, &secret, &message); ^~~ strsignal lib/htslib/hfile_s3.c:335:23: warning: unused variable ‘digest’ [-Wunused-variable] unsigned char digest[DIGEST_BUFSIZ]; ^~error: command 'x86_64-linux-gnu-gcc' failed with exit status 1I'm not sure what to do. Can you help me out? Thanks in advance