On Fri, Sep 13, 2013 at 8:09 AM, Ben Pfaff <[email protected]> wrote: > Guru, should we add that to the packaging?
I am finding this a little tricky. Centos does not have a package called python-xml. So if I add this to BuildRequires for the general rpm spec file, it will fail. We do not have a separate INSTALL file for suse linux. I am not sure adding a note in INSTALL.RHEL is the right way here. > > 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. >> _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
