[ovs-discuss] Building Openvswitch 2.5 and DPDK2.2 RPMs for RHEL 7.x
Boaron, Yossi (Nokia - IL)
yossi.boaron at nokia.com
Tue May 3 09:47:19 UTC 2016
Hi All,
I'm trying to build OPENVSWITCH 2.5 (with DPDK support) and DPDK 2.2 RPMs for Rhel7 ,
For DPDK2.2, I have used the following centos RPM (Extras packages for CentOS 7.2.1511 for x86_64 , dpdk-2.2.0-2.el7 RPM for x86_64 ).
for the openvswitch RPM , I followed the INSTALL.Fedora.md instructions and manage to create OVS RPMS.
Attached file with output of : "rpmbuild -bb --with dpdk rhel/openvswitch-fedora.spec" command.
when trying to install openvswitch RPM (After installing the dpdk2.2 RPM ) , I got dependency ERRORS (libdpdk.so) although libdpdk.so exist.
the output of RPM installation :
"
# yum install openvswitch-2.5.0-1.el7.x86_64.rpm
Examining openvswitch-2.5.0-1.el7.x86_64.rpm: openvswitch-2.5.0-1.el7.x86_64
Marking openvswitch-2.5.0-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package openvswitch.x86_64 0:2.5.0-1.el7 will be installed
--> Processing Dependency: libdpdk.so(DPDK_2.0)(64bit) for package: openvswitch-2.5.0-1.el7.x86_64
--> Processing Dependency: libdpdk.so(DPDK_2.1)(64bit) for package: openvswitch-2.5.0-1.el7.x86_64
--> Processing Dependency: libdpdk.so(DPDK_2.2)(64bit) for package: openvswitch-2.5.0-1.el7.x86_64
--> Processing Dependency: libdpdk.so()(64bit) for package: openvswitch-2.5.0-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: openvswitch-2.5.0-1.el7.x86_64 (/openvswitch-2.5.0-1.el7.x86_64)
Requires: libdpdk.so(DPDK_2.0)(64bit)
Error: Package: openvswitch-2.5.0-1.el7.x86_64 (/openvswitch-2.5.0-1.el7.x86_64)
Requires: libdpdk.so()(64bit)
Error: Package: openvswitch-2.5.0-1.el7.x86_64 (/openvswitch-2.5.0-1.el7.x86_64)
Requires: libdpdk.so(DPDK_2.1)(64bit)
Error: Package: openvswitch-2.5.0-1.el7.x86_64 (/openvswitch-2.5.0-1.el7.x86_64)
Requires: libdpdk.so(DPDK_2.2)(64bit)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
openstack-neutron-openvswitch-2015.1.2-9.el7ost.noarch has missing requires of openvswitch
[root at compute-0-0 ~]# locate libdpdk
/usr/lib/libdpdk.so
[root at compute-0-0 ~]#
"
Any help would be highly appreciated
Regards
Yossi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160503/92cfef48/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build_rpm.txt
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160503/92cfef48/attachment-0002.txt>
More information about the discuss
mailing list