Hi Cascardo, I had my binaries in /usr/local/sbin,/usr/local/bin, /usr/sbin and /usr/bin in the host machine as you had specified. I copied them over to my target box with Yocto, changed the $PATH variable and tried to start ovsdb-server. But, got the following error instead:
ovsdb-server: I/O error: open: /etc/openvswitch/conf.db failed (No such file or directory) I have never seen this error before. Does this have something to do with any access permissions ovsdb has ? I am running as root. Thanks, Monica -----Original Message----- From: Thadeu Lima de Souza Cascardo [mailto:casca...@redhat.com] Sent: Monday, June 20, 2016 12:16 PM To: Rajasekaran, Monica <monica.rajaseka...@us.fujitsu.com> Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] OVS executable On Mon, Jun 20, 2016 at 05:05:54PM +0000, Rajasekaran, Monica wrote: > Hi Cascardo, > > Alright, thank you. But, I need to know where to executables are in order to > write the same. Any idea on that? > > Thanks, > Monica > From the Yocto manual, you don't need to indicate the files you want to install. " Autotools and CMake: If the software your recipe is building uses Autotools or CMake, the OpenEmbedded build system understands how to install the software. Consequently, you do not have to have a do_install task as part of your recipe. You just need to make sure the install portion of the build completes with no issues. However, if you wish to install additional files not already being installed by make install, you should do this using a do_install_append function using the install command as described in the "Manual" bulleted item later in this list. " In any case, depending on how you configured and built it, ovs binaries would be in /usr/local/bin/ and /usr/local/sbin/, or /usr/bin/ and /usr/sbin/, but could be any other place if you called the ./configure script by using a different bindir, or even when calling make install, if you specified a different DESTDIR, for example. Here is another pair of manuals that could be of help. http://www.gnu.org/software/autoconf/manual/index.html http://www.gnu.org/software/automake/manual/index.html Cascardo. > > -----Original Message----- > From: Thadeu Lima de Souza Cascardo [mailto:casca...@redhat.com] > Sent: Monday, June 20, 2016 11:50 AM > To: Rajasekaran, Monica <monica.rajaseka...@us.fujitsu.com> > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] OVS executable > > On Mon, Jun 20, 2016 at 04:33:31PM +0000, Rajasekaran, Monica wrote: > > Hi, > > > > I need to get the final executable from my current OVS (Installed in > > Ubuntu) and move it to a box which does not have a compiler (Runs Yocto). > > OVS needs to be up on that box. > > > > But, I am not sure what/where the executable is and how to proceed with > > this. > > > > Any help? > > > > Thanks, > > Monica > > > > You should probably write a bitbake recipe for Yocto. That would be the best > practice here. > > http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe > > Have fun! > Cascardo. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss