"Normal" RHEL doesn't come with python 2.7.1, that can explain why the rpms you built have dependancies on python in /tools that no RPMs provides. If I were you, I would try to redo all the steps whitout any references to the python in /tools (remove it from your $PATH etc). Not sure it will fix everything, but at least should fix the RPMs depandancies. If you just type the command "python -V" what's the output? Should be 2.6.6 on RHEL. You should ask your IT dep what else they have changed in your RHEL.
2013/6/7 K.R Kishore <krkish...@yahoo.com> > I am not sure what is "normal". > > I am running on "standard issue" RHEL install from my company's IT dept. I > (and they) don't know if they have changed anything that would break the > normally accepted assumptions. > > I can verify that: > - perl and python are installed (according to instmodsh) > - /tools/.. and /usr/.. have different versions, not clear if this matters. > > [root@lab-sj1-140 ~]# /usr/local/bin/perl --version > This is perl 5, version 14, subversion 1 (v5.14.1) built for > x86_64-linux-thread-multi > > [root@lab-sj1-140 ~]# /tools/local/bin/perl --version > This is perl, v5.8.8 built for i686-linux > > [root@lab-sj1-140 ~]# /usr/bin/python --version > Python 2.6.6 > > [root@lab-sj1-140 ~]# /tools/bin/python --version > Python 2.7.1 > > > thx, > Kishore > > > > > > > ------------------------------ > *From:* Madko <madk...@gmail.com> > *To:* Kyle Mestery (kmestery) <kmest...@cisco.com> > *Cc:* K.R Kishore <krkish...@yahoo.com>; "discuss@openvswitch.org" < > discuss@openvswitch.org> > *Sent:* Friday, June 7, 2013 2:41 AM > > *Subject:* Re: [ovs-discuss] Problems getting OVS to work on RHEL/KVM > > is the /tools normal? where does it come from? Nothing in RHEL (and > clones) is using this kind of path. But not sure if it's the root cause of > your build problems. Just my 2 cents. > > + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var > --enable-ssl > checking for a BSD-compatible install... /tools/bin/install -c > > checking for fgrep... /tools/bin/grep -F > checking for egrep... /tools/bin/grep -E > > error: Failed dependencies: > /tools/bin/python is needed by openvswitch-1.10.0-1.x86_64 > > > > > 2013/6/6 Kyle Mestery (kmestery) <kmest...@cisco.com> > > Kishore: > > I'll look at these logs later tonight/tomorrow morning and get back to > you. It's unclear to me why this is working just fine for me with CentOS > 6.4 and not for your with RHEL 6.4. Maybe I'll try loading a fresh CentOS > VM and see if that makes a difference. > > Thanks, > Kyle > > On Jun 6, 2013, at 12:11 PM, K.R Kishore <krkish...@yahoo.com> wrote: > > > Hi Kyle > > Thanks for trying out in your setup. I followed your and INSTALL.RHEL > instructions to the tee and unfortunately I got the same results as before. > > > > I tried it once more all over again and captured the entire screen log > with typescript and I have attached it to this message. I have "echo-ed" > the step numbers corresponding to the INSTALL.RHEL for easy reference. I > perl-processed the typescript log to remove the control characters. After > the errors, I continued on with my modified spec files and the rpms built > correctly and installed correctly (with the same dependency problem - which > I got around by --nodeps). > > thx > > Kishore > > > > > > > > From: Kyle Mestery (kmestery) <kmest...@cisco.com> > > To: Ben Pfaff <b...@nicira.com> > > Cc: K.R Kishore <krkish...@yahoo.com>; "discuss@openvswitch.org" < > discuss@openvswitch.org> > > Sent: Wednesday, June 5, 2013 7:34 PM > > Subject: Re: [ovs-discuss] Problems getting OVS to work on RHEL/KVM > > > > On Jun 5, 2013, at 4:52 PM, Ben Pfaff <b...@nicira.com> wrote: > > > > > On Wed, Jun 05, 2013 at 09:48:49PM +0000, Kyle Mestery (kmestery) > wrote: > > >> On Jun 5, 2013, at 4:26 PM, Ben Pfaff <b...@nicira.com> wrote: > > >> > > >>> Kyle, you know more about Red Hat and Fedora than me, does any of > this > > >>> make sense? Do you have any INSTALL.RHEL updates to suggest? > > >> > > >> I'm right in the middle of something else right now. Let me load a > fresh CentOS system and try this on master late tonight or tomorrow morning > and see what might be going on here. I build OVS Fedora RPMs almost > everyday, and I've had no issues like this recently on either master or > branch-1.10. > > > > > > Thanks! I very much appreciate your help with these distros. > > > > So I just tried this with a CentOS 6.4 system with the exact same kernel > version as Kishore was using, and everything built just fine. I downloaded > the 1.10 tar file from the OVS site and followed the instructions in > INSTALL.RHEL. I was able to produce both the 2 userspace RPMs and the > single kernel RPM just fine. > > > > Kishore, I suggest you do the following to start fresh: > > > > rm -rf ~/rpmbuild > > mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} > > > > Then follow the instructions exactly as they are in INSTALL.RHEL and let > us know how it goes. > > > > Thanks, > > Kyle > > > > > <ovs-install-ctlremoved.txt><openvswitch.spec><openvswitch-kmod-rhel6.spec> > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > > > > > -- > Edouard Bourguignon > > > -- Edouard Bourguignon
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss