EricssonResearch / calvin-base

Calvin is an application environment that lets things talk to things, among other things.
Apache License 2.0
282 stars 91 forks source link

Installing Calvin on OS X El Capitan #13

Open joakimp opened 8 years ago

joakimp commented 8 years ago

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 commented 8 years ago

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

olaan commented 7 years ago

Is this still an issue?

persquare commented 7 years ago

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?

Tha-Robert commented 7 years ago

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 notifications@github.com 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.