[ovs-discuss] python error while making a OVS 1.11
Ben Pfaff
blp at nicira.com
Fri Sep 13 15:09:56 UTC 2013
Guru, should we add that to the packaging?
On Fri, Sep 13, 2013 at 09:47:58AM +0300, Eugene Istomin wrote:
> Thanks Ben,
>
> adding "BuildRequires: python-xml" solve this issue.
> --
> */Best regards,/*
> /Eugene Istomin/
>
>
>
> > On Thu, Sep 12, 2013 at 03:05:52PM +0300, Eugene Istomin wrote:
> > > Hello,
> > >
> > > We have a python error while making a OVS 1.11:
> > >
> > > [ 145s] + make -j4
> > > [ 145s] PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:
> > > $PYTHONPATH /usr/bin/python ./ofproto/ipfix-gen-entities
> ofproto/ipfix.xml
> > > > ofproto/ipfix-entities.def
> > > [ 145s] PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:
> > > $PYTHONPATH /usr/bin/python ./ovsdb/ovsdb-idlc.in annotate
> > > ./vswitchd/vswitch.ovsschema ./lib/vswitch-idl.ann >
> > > lib/vswitch-idl.ovsidl.tmp [ 145s] PYTHONDONTWRITEBYTECODE=yes
> > > PYTHONPATH=./python:
> > > $PYTHONPATH /usr/bin/python ./ovsdb/ovsdb-idlc.in -C . annotate
> > > tests/idltest.ovsschema tests/idltest.ann > tests/idltest.ovsidl.tmp
> > > [ 145s] Traceback (most recent call last):
> > > [ 145s] File "./ofproto/ipfix-gen-entities", line 13, in <module>
> > > [ 145s] import xml.sax
> > > [ 145s] ImportError: No module named xml.sax
> >
> > It looks like you should install xml.sax. The Python library manual
> > seems to indicates that it is a standard part of Python. Maybe you have
> > a stripped-down version installed.
>
More information about the discuss
mailing list