OK.

It seems likely, then, that the Fedora RPM spec files are not suitable
for Oracle Linux.  If so, then you can install OVS without the RPM
packaging, or create some new spec files for Oracle Linux.

On Tue, Oct 01, 2019 at 11:55:20PM +0000, Gilbert Standen wrote:
> I've tried all that - that was of course the first thing I tried.
> 
> I've tried everything I can think of:
> 
> [ubuntu@oracle8 ~]$ sudo yum install python-six python-sphinx
> [sudo] password for ubuntu:
> Last metadata expiration check: 0:27:33 ago on Tue 01 Oct 2019 06:20:33 PM 
> CDT.
> No match for argument: python-six
> No match for argument: python-sphinx
> Error: Unable to find a match
> [ubuntu@oracle8 ~]$
> 
> and the above is with all repos enabled AND epel installed and enabled:
> 
> [ubuntu@oracle8 yum.repos.d]$ sudo yum install python-six python-sphinx
> Extra Packages for Enterprise Linux 8 - Playground - x86_64                   
>                                                                               
>                                                   463 kB/s | 2.6 MB     00:05
> Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Debug           
>                                                                               
>                                                   589 kB/s | 1.6 MB     00:02
> Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Source          
>                                                                               
>                                                   130 kB/s | 374 kB     00:02
> Extra Packages for Enterprise Linux 8 - x86_64                                
>                                                                               
>                                                    35 kB/s |  18 kB     00:00
> Extra Packages for Enterprise Linux 8 - x86_64 - Debug                        
>                                                                               
>                                                   295 kB/s | 656 kB     00:02
> Extra Packages for Enterprise Linux 8 - x86_64 - Source                       
>                                                                               
>                                                   239 kB/s | 390 kB     00:01
> No match for argument: python-six
> No match for argument: python-sphinx
> Error: Unable to find a match
> [ubuntu@oracle8 yum.repos.d]$
> 
> [ubuntu@oracle8 yum.repos.d]$ sudo yum install python-six python-sphinx
> Oracle Linux 8 Addons (x86_64)                                                
>                                                                               
>                                                   2.6 kB/s | 3.2 kB     00:01
> Oracle Linux 8 Application Stream (x86_64)                                    
>                                                                               
>                                                    29 kB/s | 2.9 kB     00:00
> Oracle Linux 8 BaseOS Latest (x86_64)                                         
>                                                                               
>                                                    18 kB/s | 2.7 kB     00:00
> Oracle Linux 8 CodeReady Builder (x86_64) - Unsupported                       
>                                                                               
>                                                    27 kB/s | 2.7 kB     00:00
> Oracle Linux 8 BaseOS GA (x86_64)                                             
>                                                                               
>                                                    26 kB/s | 2.7 kB     00:00
> No match for argument: python-six
> No match for argument: python-sphinx
> Error: Unable to find a match
> [ubuntu@oracle8 yum.repos.d]$
> 
> I've also tried setting up a python virtual environment within the script - 
> that doesn't work either:
> 
>                                 sudo alternatives --set python 
> /usr/bin/python3
>                                 python3 -m venv py36env
>                                 source py36env/bin/activate
>                                 python3 -m pip install six
>                                 python3 -m pip install --upgrade pip
>                                 python3 -m pip install six
>                                 python3 -m pip install sphinx
> 
> all those commands work, but openvswitch build doesn't see sphinx or six - do 
> I need to set some switch on the build command ?
> 
> 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
> 
> 
> ________________________________
> From: Ben Pfaff <b...@ovn.org>
> Sent: Tuesday, October 1, 2019 6:40 PM
> To: Gilbert Standen <gilstan...@hotmail.com>
> Cc: ovs-discuss@openvswitch.org <ovs-discuss@openvswitch.org>
> Subject: Re: [ovs-discuss] Build OpenvSwitch on Oracle Linux 8
> 
> 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