Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
Fix troubleshooting instructions for fatal error "Python.h: No such f…
Browse files Browse the repository at this point in the history
…ile or directory"
  • Loading branch information
riccardomurri committed Feb 1, 2017
1 parent d609deb commit f549485
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@ long error report that ends with lines like these::
compilation terminated.
error: command 'gcc' failed with exit status 1

To fix the issue on Debian/Ubuntu computers, please install package
``gcc`` and ``libc6-dev`` prior to attempting to install ElastiCluster::
To fix the issue on Debian/Ubuntu computers, please install packages
``libc6-dev`` and ``python-dev`` prior to attempting to install ElastiCluster::

sudo apt-get install gcc libc6-dev
sudo apt-get install libc6-dev python-dev

To fix the issue on RHEL/CentOS computers, please install package
``gcc``::
To fix the issue on RHEL/CentOS computers, please install packages
``glibc-devel`` and ``python-devel``::

yum install gcc # run this as root
yum install glibc-devel python-devel # run this as root

After installing the GCC packages, repeat the installation steps for ElastiCluster.
After installing the packages, repeat the installation steps for ElastiCluster.

(*Note:* this error comes from missing or badly installed dependency software
for ElastiCluster; you might want to repeat the steps in section `Install
Expand Down Expand Up @@ -270,7 +270,7 @@ To fix the issue on Debian/Ubuntu computers, please install package
To fix the issue on RHEL/CentOS computers, please install package
``gcc``::

yum install gcc # run this as root
yum install gcc glibc-devel # run this as root

After installing the GCC packages, repeat the installation steps for ElastiCluster.

Expand Down Expand Up @@ -378,6 +378,7 @@ see `issue #304 <https://github.com/gc3-uzh-ch/elasticluster/issues/304>`_

.. __: http://summit.ubuntu.com/uos-1511/meeting/22568/python3-only-on-the-images/


Issues when installing from source on MacOSX
--------------------------------------------

Expand Down

0 comments on commit f549485

Please sign in to comment.