diff mbox

[ovs-dev,RFC] doc: Add some version prerequisites

Message ID 219e4a9d5fb0d5a9b274200f8cbb55581c5b6e49.1489077824.git.tredaelli@redhat.com
State Accepted
Headers show

Commit Message

Timothy Redaelli March 9, 2017, 4:44 p.m. UTC
Currently to build ovs, you need the following version:

- GCC 4.6 or later (old GCCs have some bugs with unnamed fields)
- python six library 1.4.0 or later (for six.moves.range)
- kernel 2.6.36 or later (for RTA_MARK)

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 Documentation/intro/install/general.rst | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Comments

Ben Pfaff March 17, 2017, 9:28 p.m. UTC | #1
On Thu, Mar 09, 2017 at 05:44:29PM +0100, Timothy Redaelli wrote:
> Currently to build ovs, you need the following version:
> 
> - GCC 4.6 or later (old GCCs have some bugs with unnamed fields)
> - python six library 1.4.0 or later (for six.moves.range)
> - kernel 2.6.36 or later (for RTA_MARK)
> 
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>

Thanks.  The GCC and Python prereqs seem genuine.  The kernel 2.6.36
prereq is probably just a bug.  I sent out a fix for that:
        https://patchwork.ozlabs.org/patch/740536/

So, I removed the bit about the kernel (which also duplicated another
item about the kernel in the same section) and applied this to master
and branch-2.7.  Thank you!
diff mbox

Patch

diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
index 4749832..faf6790 100644
--- a/Documentation/intro/install/general.rst
+++ b/Documentation/intro/install/general.rst
@@ -41,7 +41,7 @@  need the following software:
 
 - A C compiler, such as:
 
-  - GCC 4.x.
+  - GCC 4.6 or later.
 
   - Clang. Clang 3.4 and later provide useful static semantic analysis and
     thread-safety checks. For Ubuntu, there are nightly built packages
@@ -64,7 +64,10 @@  need the following software:
   If libcap-ng is installed, then Open vSwitch will automatically build with
   support for it.
 
-- Python 2.7. You must also have the Python ``six`` library.
+- Python 2.7. You must also have the Python ``six`` library version 1.4.0
+  or later.
+
+- On Linux, ``kernel`` version 2.6.36 or later.
 
 On Linux, you may choose to compile the kernel module that comes with the Open
 vSwitch distribution or to use the kernel module built into the Linux kernel
@@ -173,7 +176,8 @@  simply install and run Open vSwitch you require the following software:
   from iproute2 (part of all major distributions and available at
   https://wiki.linuxfoundation.org/networking/iproute2).
 
-- Python 2.7. You must also have the Python six library.
+- Python 2.7. You must also have the Python six library version 1.4.0
+  or later.
 
 On Linux you should ensure that ``/dev/urandom`` exists. To support TAP
 devices, you must also ensure that ``/dev/net/tun`` exists.