You're using two different packaging systems here.  The RPM spec file
requires the RPMs it mentions to be installed (for Python 2), but you
used pip to install them (for Python 3).

My guess is that "yum install python-six python-sphinx
selinux-policy-devel unbound-devel" or its Oracle equivalent will fix
the problem.

On Tue, Oct 01, 2019 at 11:17:18PM +0000, Gilbert Standen wrote:
> For example:
> 
> [ubuntu@oracle8 anylinux]$ python3 -m pip install six
> Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages
> [ubuntu@oracle8 anylinux]$ python3 -m pip install sphinx
> Requirement already satisfied: sphinx in 
> /usr/local/lib64/python3.6/site-packages
> Requirement already satisfied: requests>=2.5.0 in 
> /usr/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: babel!=2.0,>=1.3 in 
> /usr/local/lib64/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-serializinghtml in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-jsmath in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: snowballstemmer>=1.1 in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages 
> (from sphinx)
> Requirement already satisfied: alabaster<0.8,>=0.7 in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: imagesize in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: packaging in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: Pygments>=2.0 in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-htmlhelp in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-applehelp in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: docutils>=0.12 in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: Jinja2>=2.3 in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-devhelp in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: sphinxcontrib-qthelp in 
> /usr/local/lib/python3.6/site-packages (from sphinx)
> Requirement already satisfied: chardet<3.1.0,>=3.0.2 in 
> /usr/lib/python3.6/site-packages (from requests>=2.5.0->sphinx)
> Requirement already satisfied: idna<2.8,>=2.5 in 
> /usr/lib/python3.6/site-packages (from requests>=2.5.0->sphinx)
> Requirement already satisfied: urllib3<1.25,>=1.21.1 in 
> /usr/lib/python3.6/site-packages (from requests>=2.5.0->sphinx)
> Requirement already satisfied: pytz>=2015.7 in 
> /usr/lib/python3.6/site-packages (from babel!=2.0,>=1.3->sphinx)
> Requirement already satisfied: pyparsing>=2.0.2 in 
> /usr/local/lib/python3.6/site-packages (from packaging->sphinx)
> Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages 
> (from packaging->sphinx)
> Requirement already satisfied: MarkupSafe>=0.23 in 
> /usr/local/lib64/python3.6/site-packages (from Jinja2>=2.3->sphinx)
> [ubuntu@oracle8 anylinux]$ sudo alternatives --config python
> 
> There are 3 programs which provide 'python'.
> 
>   Selection    Command
> -----------------------------------------------
> *  1           /usr/libexec/no-python
>  + 2           /usr/bin/python3
>    3           /usr/bin/python2
> 
> Enter to keep the current selection[+], or type selection number: 2
> [ubuntu@oracle8 anylinux]$
> 
> But still when I go to build openvswitch, I get:
> 
> error: Failed build dependencies:
> python-six is needed by openvswitch-2.11.1-1.x86_64
> python-sphinx is needed by openvswitch-2.11.1-1.x86_64
> selinux-policy-devel is needed by openvswitch-2.11.1-1.x86_64
> unbound-devel is needed by openvswitch-2.11.1-1.x86_64
> 
> I guess it's going to be obvious I'm not much good with python ... they seem 
> to be installed so why can't openvswitch use/see them?
> 
> 
> ________________________________
> From: Gilbert Standen <gilstan...@hotmail.com>
> Sent: Tuesday, October 1, 2019 5:32 PM
> To: Ben Pfaff <b...@ovn.org>
> Cc: ovs-discuss@openvswitch.org <ovs-discuss@openvswitch.org>
> Subject: Re: [ovs-discuss] Build OpenvSwitch on Oracle Linux 8
> 
> Thanks Ben. I've tried that too. When I try to install openvswitch 2.11.x I 
> run into needing python-six and python-sphinx and I've been trying for a 
> couple days to figure out how to get those installed on Oracle Linux 8 to no 
> avail ...
> 
> 
> "If BlackBerrys were as plentiful as Apples, upon compulsions, no man seven 
> reasons would I give, for BlackBerry 10 reasons hath one to give, I."
> 
> Gilbert Standen after William Shakespeare, Henry IV‎ . Sent from my 
> BlackBerry 10 Classic.
>   Original Message
> From: Ben Pfaff
> Sent: Tuesday, October 1, 2019 4:57 PM
> To: Gilbert Standen
> Cc: ovs-discuss@openvswitch.org
> Subject: Re: [ovs-discuss] Build OpenvSwitch on Oracle Linux 8
> 
> 
> On Tue, Oct 01, 2019 at 09:46:41PM +0000, Gilbert Standen wrote:
> > Hi, when I try to build OpenvSwitch 2.0.5 on Oracle Linux 8 I get the
> > following errors.  Any ideas on how to address this ?  Thanks!
> 
> OVS 2.0 was released in 2013.  Use a newer version.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to