From 93a3c9960617cfaf1535e8a53fde21b49f2898f5 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Mon, 19 Jan 2015 08:16:21 -0800 Subject: README.rst: Add notes about OS X and Red Hat/etc --- README.rst | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 40a5a62..c96b9f8 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,10 @@ Therefore, installation requires any programs required to build jq. This includes: * The normal C compiler toolchain, such as gcc and make. - Installable on Debian, Ubuntu and relatives by installing the package ``build-essential``. + + - Installable on Debian, Ubuntu and relatives by installing the package ``build-essential``. + - Installable on Red Hat/Fedora/CentOS/etc. with ``yum groupinstall "Development Tools"``. + - On Mac OS X, you probably want to install `Xcode `_. * Autoconf @@ -21,17 +24,28 @@ This includes: * Bison + - At least some versions of Mac OS X ship a version of ``bison`` that is too old for ``jq`` to use. + If you have `Homebrew `_, try ``brew install bison``. + * libtool * Python headers. Installable on Debian, Ubuntu and relatives by installing the package ``python-dev``. - + If on Debian, Ubuntu or relatives, running the following packages should be sufficient: .. code-block:: sh apt-get install build-essential autoconf flex bison libtool python-dev +If on Red Hat, Fedora, CentOS, etc., try: + +.. code-block:: sh + + yum groupinstall "Development Tools" + yum install autoconf flex bison libtool python + + Usage ----- -- cgit v1.2.3