Отсутствующий заголовок md5.h при установке скробблера cmusfm для cmus в OS X

1878
Mateusz Piotrowski

Я пытаюсь установить cmusfm, чтобы иметь возможность проверять треки в cmus.

Я на OS X 11, и когда я запускаю ../configure --enable-libnotifyкоманду из руководства по установке cmusfm, я получаю следующий вывод:

... a lot of checking here ... checking openssl/md5.h usability... no checking openssl/md5.h presence... no checking for openssl/md5.h... no configure: error: md5.h header not found 

Что я должен скачать?

Я пытался установить md5sha1sum с помощью brew, но это не помогло. Возможно, я должен был перезагрузить свой ноутбук.

1

1 ответ на вопрос

2
3353755

I just figured this exact same problem out on my own.

The steps are:

  1. Locate md5.h on your system
  2. Set the CFLAGS environment variable to include that location
  3. Run cmusfm's configure and install process

If you use homebrew or macports you can execute the following to find the path to md5.h (respectively):

find /usr/local -name md5.h # brew find /opt/local -name md5.h # macports 

You may also be able to use Finder or Spotlight to find md5.h.

Then do this to tell the compiler to look there:

export CFLAGS='-I/your/path/to/openssl/include' 

For example, mine was

export CFLAGS='-I/usr/local/Cellar/openssl/1.0.2f/include' 

Then rerun the configure script and make && make install. Good luck!

Похожие вопросы