[pypy-svn] pypy default: (dmalcolm, jacob): add handy commands for installing build-time deps on Debian and Fedora boxes

dmalcolm commits-noreply at bitbucket.org
Thu Mar 17 19:04:15 CET 2011


Author: David Malcolm <dmalcolm at redhat.com>
Branch: 
Changeset: r42753:49ee2df89cf3
Date: 2011-03-14 17:07 -0400
http://bitbucket.org/pypy/pypy/changeset/49ee2df89cf3/

Log:	(dmalcolm, jacob): add handy commands for installing build-time deps
	on Debian and Fedora boxes

	Also, removed references to python-ctypes, as translation under 2.4
	no longer works

diff --git a/pypy/doc/getting-started-python.rst b/pypy/doc/getting-started-python.rst
--- a/pypy/doc/getting-started-python.rst
+++ b/pypy/doc/getting-started-python.rst
@@ -35,21 +35,27 @@
 You can translate the whole of PyPy's Python interpreter to low level C code,
 `CLI code`_, or `JVM code`_.
 
-1. Install dependencies.  You need (these are Debian package names,
-   adapt as needed):
+1. Install build-time dependencies.  On a Debian box these are::
 
-   * ``gcc``
-   * ``make``
-   * ``python-dev``
-   * ``python-ctypes`` if you are still using Python2.4
-   * ``libffi-dev``
+     [user at debian-box ~]$ sudo apt-get install \
+     gcc make python-dev libffi-dev pkg-config \
+     libz-dev libbz2-dev libncurses-dev libexpat1-dev libssl-dev libgc-dev python-sphinx
+
+   On a Fedora box these are::
+
+     [user at fedora-or-rh-box ~]$ sudo yum install \
+     gcc make python-devel libffi-devel pkg-config \
+     zlib-devel bzip2-devel ncurses-devel expat-devel openssl-devel gc-devel python-sphinx
+
+   The above command lines are split with continuation characters, giving the necessary dependencies first, then the optional ones.
+
    * ``pkg-config`` (to help us locate libffi files)
    * ``libz-dev`` (for the optional ``zlib`` module)
    * ``libbz2-dev`` (for the optional ``bz2`` module)
    * ``libncurses-dev`` (for the optional ``_minimal_curses`` module)
    * ``libexpat1-dev`` (for the optional ``pyexpat`` module)
    * ``libssl-dev`` (for the optional ``_ssl`` module)
-   * ``libgc-dev`` (Boehm: only when translating with `--opt=0, 1` or `size`)
+   * ``libgc-dev`` (for the Boehm garbage collector: only needed when translating with `--opt=0, 1` or `size`)
    * ``python-sphinx`` (for the optional documentation build)
 
 2. Translation is somewhat time-consuming (30 min to


More information about the Pypy-commit mailing list