mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #698 from bigchaindb/bug/694/install-ffi.h-dependency
Added installation of libffi-dev (or libffi-devel) to install docs, scripts, Dockerfiles
This commit is contained in:
commit
b3b5137e6c
@ -1,7 +1,7 @@
|
|||||||
FROM rethinkdb:2.3
|
FROM rethinkdb:2.3
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y install python3 python3-pip
|
RUN apt-get -y install python3 python3-pip libffi-dev
|
||||||
RUN pip3 install --upgrade pip
|
RUN pip3 install --upgrade pip
|
||||||
RUN pip3 install --upgrade setuptools
|
RUN pip3 install --upgrade setuptools
|
||||||
|
|
||||||
|
2
deploy-cluster-aws/fabfile.py
vendored
2
deploy-cluster-aws/fabfile.py
vendored
@ -77,7 +77,7 @@ def install_base_software():
|
|||||||
sudo('dpkg --configure -a')
|
sudo('dpkg --configure -a')
|
||||||
sudo('apt-get -y -f install')
|
sudo('apt-get -y -f install')
|
||||||
# Install the base dependencies not already installed.
|
# Install the base dependencies not already installed.
|
||||||
sudo('apt-get -y install git g++ python3-dev')
|
sudo('apt-get -y install git g++ python3-dev libffi-dev')
|
||||||
sudo('apt-get -y -f install')
|
sudo('apt-get -y -f install')
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,13 +5,13 @@ BigchainDB Server has some OS-level dependencies that must be installed.
|
|||||||
On Ubuntu 14.04 and 16.04, we found that the following was enough:
|
On Ubuntu 14.04 and 16.04, we found that the following was enough:
|
||||||
```text
|
```text
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install g++ python3-dev
|
sudo apt-get install g++ python3-dev libffi-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
On Fedora 23 and 24, we found that the following was enough:
|
On Fedora 23 and 24, we found that the following was enough:
|
||||||
```text
|
```text
|
||||||
sudo dnf update
|
sudo dnf update
|
||||||
sudo dnf install gcc-c++ redhat-rpm-config python3-devel
|
sudo dnf install gcc-c++ redhat-rpm-config python3-devel libffi-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
(If you're using a version of Fedora before version 22, you may have to use `yum` instead of `dnf`.)
|
(If you're using a version of Fedora before version 22, you may have to use `yum` instead of `dnf`.)
|
||||||
|
@ -99,13 +99,13 @@ BigchainDB Server has some OS-level dependencies that must be installed.
|
|||||||
On Ubuntu 14.04, we found that the following was enough:
|
On Ubuntu 14.04, we found that the following was enough:
|
||||||
```text
|
```text
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install g++ python3-dev
|
sudo apt-get install g++ python3-dev libffi-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
On Fedora 23, we found that the following was enough (tested in February 2015):
|
On Fedora 23, we found that the following was enough (tested in February 2015):
|
||||||
```text
|
```text
|
||||||
sudo dnf update
|
sudo dnf update
|
||||||
sudo dnf install gcc-c++ redhat-rpm-config python3-devel
|
sudo dnf install gcc-c++ redhat-rpm-config python3-devel libffi-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
(If you're using a version of Fedora before version 22, you may have to use `yum` instead of `dnf`.)
|
(If you're using a version of Fedora before version 22, you may have to use `yum` instead of `dnf`.)
|
||||||
|
@ -12,7 +12,7 @@ rethinkdb
|
|||||||
C. Ubuntu 14.04 already has Python 3.4, so you don't need to install it, but you do need to install a couple other things:
|
C. Ubuntu 14.04 already has Python 3.4, so you don't need to install it, but you do need to install a couple other things:
|
||||||
```text
|
```text
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install g++ python3-dev
|
sudo apt-get install g++ python3-dev libffi-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
D. Get the latest version of pip and setuptools:
|
D. Get the latest version of pip and setuptools:
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
- git
|
- git
|
||||||
- g++
|
- g++
|
||||||
- python3-dev
|
- python3-dev
|
||||||
|
- libffi-dev
|
||||||
- python3-setuptools # mainly for easy_install3, which is used to get latest pip3
|
- python3-setuptools # mainly for easy_install3, which is used to get latest pip3
|
||||||
|
|
||||||
# This should make both pip and pip3 be pip version >=8.1.2 (python 3.4).
|
# This should make both pip and pip3 be pip version >=8.1.2 (python 3.4).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user