[ovs-discuss] python error while making a OVS 1.11

Eugene Istomin e.istomin at edss.ee
Fri Sep 13 06:47:58 UTC 2013


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130913/aef6698a/attachment.html>


More information about the discuss mailing list