On Thu, Jun 26, 2014 at 09:07:52PM +0530, Sanghamitra De wrote: > Hi, > please help. I'm in Fedora 15 and as per INSTALL.Fedora, I have moved the > tarball Openvswitch-1.9.3.tar.gz into the RPM source directory of my > version of Fedora which happens to be: /usr/src/ > I have also moved Openvswitch-1.9.3 folder which i had earlier obtained > after unpacking into the src directory > > > > Next I "cd" into the Openvswitch-1.9.3 directory (which is now copied into > the src directory) & > To build Open vSwitch userspace, I run: > > > rpmbuild -bb rhel/openvswitch-fedora.spec > > This is supposed to produce one RPM: "openvswitch". > > cd /src/ > > # rpmbuild -bb rhel/openvswitch-fedora.spec > error: failed to stat /usr/src/rhel/openvswitch-fedora. > spec: No such file or directory > > # cd openvswitch-1.9.3 > > rpmbuild -bb rhel/openvswitch-fedora.spec > error: File /root/rpmbuild/SOURCES/openvswitch-1.9.3.tar.gz: No such > file or directory
Usually the rpmbuild topdir is /usr/src/<something> but it can be changed by a custom .rpmmacro file defining %_topdir. Yours seems to be at /root/rpmbuild. That's your rpm build directory. On top of it, you should have SPECS/ and SOURCES/. So, copy the tarball to /root/rpmbuild/SOURCES/ instead and run the rpmbuild command again. The result should be in /root/rpmbuild/RPMS. fbl > Kindly help me install openvswitch in Fedora 15. What are the exact > sequence of commands & inside which directory should these be written > > > Thanks > Sanghamitra De > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
