openssl/hmac.h error while installing bedGraphToBigWig
2
0
Entering edit mode
7.8 years ago
biotech ▴ 570

I'm trying to install bedGraphToBigWig into MACOSX.

I'm following this instructions:

https://github.com/ENCODE-DCC/kentUtils

I'm having this error when doing sudo make:

gcc -O -g  -Wall -Wno-unused-variable -Wno-deprecated-declarations  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_local -DUSE_SSL -DCOLOR32 -DUSE_SAMTABIX -DUSE_BAM -DUSE_TABIX -DKNETFILE_HOOKS   -Wall -Wno-unused-variable -Wno-deprecated-declarations  -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -I/include -I/usr/local/Cellar/libpng/1.6.25/include/libpng16 -I/Users/bernardo/Desktop/2017_02_13_Babitzke/whole_trimmed/kentUtils/samtabix  -o hmac.o -c hmac.c
hmac.c:12:10: fatal error: 'openssl/hmac.h' file not found
#include "openssl/hmac.h"
         ^
1 error generated.
make[2]: *** [hmac.o] Error 1
make[1]: *** [topLibs] Error 2
make: *** [libs] Error 2

What should I do?

I tried:

051894:kentUtils bernardo$ brew install openssl
Warning: openssl is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
bedGraphToBigWig • 4.3k views
ADD COMMENT
1
Entering edit mode
7.8 years ago
GenoMax 147k

Why not download pre-compiled bedGraphToBigWig executable for macOS here. Remember to do chmod u+x bedGraphToBigWig afterwards.

ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

It is the site to download data/tools from UCSC.

ADD REPLY
0
Entering edit mode
7.7 years ago

OS X doesn't use OpenSSL any longer. You can still compile things but it is more work. Use the precompiled versions of Kent utilities.

ADD COMMENT
0
Entering edit mode

What are Kent utilities?

ADD REPLY
0
Entering edit mode

They are what you are trying to install ("kentUtils").

ADD REPLY

Login before adding your answer.

Traffic: 1303 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6