Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Installing Calvin on OS X El Capitan #13

Open
joakimp opened this issue Nov 13, 2015 · 4 comments
Open

Installing Calvin on OS X El Capitan #13

joakimp opened this issue Nov 13, 2015 · 4 comments

Comments

@joakimp
Copy link
Contributor

joakimp commented Nov 13, 2015

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
Copy link
Contributor Author

joakimp commented Nov 13, 2015

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

@olaan
Copy link

olaan commented Apr 4, 2017

Is this still an issue?

@persquare
Copy link
Contributor

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
Copy link
Contributor

Tha-Robert commented Jul 27, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants