[ovs-discuss] [installation problem] Installation of OVS 2.3.1 from the tarball on Citrix Xen Server 6.5

Ben Pfaff blp at nicira.com
Wed Apr 15 02:52:48 UTC 2015

On Tue, Apr 14, 2015 at 09:24:14PM +0800, Po-Ching Lin wrote:
>          We recently tried to install OpenvSwitch 2.3.1 on Citrix Xen Server 6.5.
> We followed the instructions in INSTALL.XenServer, and the reproduced steps
> are as follows. The main problem is that the directory /lib/modules/xen/build is
> missing. Please suggest the method to address this issue. Thanks a lot.
> [Reproduced steps]
> 1. According to INSTALL.XenServer from the OVS tarball, put the tarball package to the "/usr/src/redhat/SOURCE/" folder and extract it;
> 2. Enter the "openvswitch-2.3.1/xenserver/" folder;
> 3. Add the kernel version in line 70 of the file "openvswitch.spec";

Where did step 3 come from?  It isn't mentioned in INSTALL.XenServer.

The instructions say to use xenserver/openvswitch-xen.spec.  You mention
a different file.

> 4. Build the RPM package:
>  > rpmbuild -bb openvswitch.spec

More information about the discuss mailing list