calvin-base icon indicating copy to clipboard operation
calvin-base copied to clipboard

Installing Calvin on OS X El Capitan

Open joakimp opened this issue 10 years ago • 4 comments

There are some problems installing Calvin on the latest OS X El Capitan (version 10.11.1). The requirements for libffi and OpenSSL are not fulfilled by default. Apparently, Apple is dropping support for OpenSSL in El Capitan and moving to their own library. Thus, running pip install -e . according to the wiki install instructions will fail.

A simple fix is to first install Homebrew and install the missing dependancies. With this in place, to get libffi just run:

brew install libffi

and, for OpenSSL, brew install openssl env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography

joakimp avatar Nov 13 '15 08:11 joakimp

BTW., the dependency problems described are for the DEVELOP branch.

joakimp avatar Nov 13 '15 09:11 joakimp

Is this still an issue?

olaan avatar Apr 04 '17 05:04 olaan

This is an issue on Ubuntu 16.04 LTS as well, installing libffi-dev and libssl-dev is a prerequisite.

apt-get install libffi-dev
apt-get install libssl-dev

There should probably be a "prerequisite" section in the wiki-installation page?

persquare avatar Jul 27 '17 08:07 persquare

Also merge the install scripts and the install documentation for ubuntu.

Because the prerequisite already exits in one of the paces :)

//R

On 27 Jul 2017, at 10:54, Per Persson [email protected] wrote:

This is an issue on Ubuntu 16.04 LTS as well, installing libffi-dev and libssl-dev is a prerequisite.

apt-get install libffi-dev apt-get install libssl-dev There should probably be a "prerequisite" section in the wiki-installation page?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EricssonResearch/calvin-base/issues/13#issuecomment-318301408, or mute the thread https://github.com/notifications/unsubscribe-auth/ALlyxOure2Y7LZ0SSS-aZuxa0PI3fPV6ks5sSFBGgaJpZM4GhrFh.

Tha-Robert avatar Jul 27 '17 09:07 Tha-Robert