Open joakimp opened 8 years ago
BTW., the dependency problems described are for the DEVELOP branch.
Is this still an issue?
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?
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.
There are some problems installing Calvin on the latest OS X El Capitan (version 10.11.1). The requirements for
libffi
andOpenSSL
are not fulfilled by default. Apparently, Apple is dropping support for OpenSSL in El Capitan and moving to their own library. Thus, runningpip 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