Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
94c39526
Commit
94c39526
authored
Jun 29, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the installation problems+solutions docs more prominent. [skip ci]
parent
b656a891
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
13 deletions
+27
-13
doc/intro.rst
doc/intro.rst
+25
-13
doc/whatsnew_1_1.rst
doc/whatsnew_1_1.rst
+2
-0
No files found.
doc/intro.rst
View file @
94c39526
...
@@ -43,19 +43,6 @@ without pre-built wheels or if wheel installation is disabled, a C compiler
...
@@ -43,19 +43,6 @@ without pre-built wheels or if wheel installation is disabled, a C compiler
`cffi`_ can optionally be installed to build the CFFI backend in
`cffi`_ can optionally be installed to build the CFFI backend in
addition to the Cython backend on CPython.
addition to the Cython backend on CPython.
.. tip:: Some Linux distributions are now mounting their temporary
directories with the ``noexec`` option. This can cause a
standard ``pip install gevent`` to fail with an error like
``cannot run C compiled programs``. One fix is to mount the
temporary directory without that option. Another may be to
use the ``--build`` option to ``pip install`` to specify
another directory. See :issue:`570` and :issue:`612` for
examples.
.. tip:: Also check for conflicts with environment variables like ``CFLAGS``. For
example, see :ref:`library_updates_label`.
Development instructions can be found `on PyPI <https://pypi.python.org/pypi/gevent#development>`_.
Development instructions can be found `on PyPI <https://pypi.python.org/pypi/gevent#development>`_.
__ http://pypi.python.org/pypi/greenlet
__ http://pypi.python.org/pypi/greenlet
...
@@ -64,6 +51,31 @@ __ http://pypi.python.org/pypi/greenlet
...
@@ -64,6 +51,31 @@ __ http://pypi.python.org/pypi/greenlet
.. _`gevent 1.1`: whatsnew_1_1.html
.. _`gevent 1.1`: whatsnew_1_1.html
.. _`cffi`: https://cffi.readthedocs.io
.. _`cffi`: https://cffi.readthedocs.io
Common Installation Issues
--------------------------
The following are some common installation problems and solutions for
those compiling gevent from source.
- Some Linux distributions are now mounting their temporary
directories with the ``noexec`` option. This can cause a
standard ``pip install gevent`` to fail with an error like
``cannot run C compiled programs``. One fix is to mount the
temporary directory without that option. Another may be to
use the ``--build`` option to ``pip install`` to specify
another directory. See :issue:`570` and :issue:`612` for
examples.
- Also check for conflicts with environment variables like ``CFLAGS``. For
example, see :ref:`library_updates_label`.
- Users of a recent SmartOS release may need to customize
the ``CPPFLAGS`` (the environment variable containing the
default options for the C preprocessor) if they are using the
libev shipped with gevent. See :ref:`operating_systems_label` for
more information.
Example
Example
=======
=======
...
...
doc/whatsnew_1_1.rst
View file @
94c39526
...
@@ -81,6 +81,8 @@ through 4.0.0 and 4.0.1, and on 32-bit ARM on Raspbian with version 4.0.1.
...
@@ -81,6 +81,8 @@ through 4.0.0 and 4.0.1, and on 32-bit ARM on Raspbian with version 4.0.1.
..
_1
.2.0
:
https
://
cffi
.
readthedocs
.
io
/
en
/
latest
/
whatsnew
.
html
#
v1
-
2
-
0
..
_1
.2.0
:
https
://
cffi
.
readthedocs
.
io
/
en
/
latest
/
whatsnew
.
html
#
v1
-
2
-
0
..
_a
bug
:
https
://
bitbucket
.
org
/
pypy
/
pypy
/
issues
/
2149
/
memory
-
leak
-
for
-
python
-
subclass
-
of
-
cpyext
..
_a
bug
:
https
://
bitbucket
.
org
/
pypy
/
pypy
/
issues
/
2149
/
memory
-
leak
-
for
-
python
-
subclass
-
of
-
cpyext
..
_operating_systems_label
:
Operating
Systems
Operating
Systems
-----------------
-----------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment