On Tue, Jun 4, 2013 at 4:44 PM, Nagi Reddy Jonnala <[email protected]>wrote:
> It was not precise. I upgrade to the latest hence the delay in reply**** > > ** ** > > lsb_release -a**** > > No LSB modules are available.**** > > Distributor ID: Ubuntu**** > > Description: Ubuntu 12.04.2 LTS**** > > Release: 12.04**** > > Codename: precise**** > > ** ** > > apt-get install openvswitch-controller command was successful. It claimed > it has installed 1.4 version which is not what I want because it is too > old. However, I just wanted to check whether 1.4 was installed correctly – > I don’t see any OVS components installed. “which ovs-controller” and “which > ovs-ofctl” replied no binary files / links to the bin directories. I am > primarily looking for the OVS active and passive controllers**** > > Hence moved onto the the other installation option**** > > ** > ovs-controller should have been installed in /usr/bin/. "dpkg -l | grep openvswitch" should you all the openvswitch packages you have installed. You can always do a "dpkg -c openvswitch-controller*.deb" to see all the files inside that package and their paths. ovs-ofctl needs openvswitch-switch and openvswitch-common packages. You will also need openvswitch-datapath-dkms*.deb for the kernel module. > ** > > **Ø **I suppose your development environment is Ubuntu?**** > > yes**** > > **Ø **For 12.04, I need the following packages (or a smaller subset of > it)**** > > ** ** > > I installed all of the packages you recommend but didn’t help. > ./boot.sh should not give any errors. You should be looking at fixing that error before you run ./configure. Read the INSTALL file in the repo to figure out all the packages that you need for it to work. > **** > > ** ** > > In addition, I ran ./configure and ran into the exactly same issue**** > > ** ** > > I am trying to find what am I missing? Were you able to install the latest > OVS (dated May-1-2013) on Ubuntu? > Yes. Every released OVS version >= 1.4 should work on Ubuntu 12.04 (previous versions probably work too, I do not know). The latest release is OVS 1.10 (git branch branch-1.10). > **** > > ** ** > > Thanks**** > > Nagi**** > > ** ** > > *From:* Gurucharan Shetty [mailto:[email protected]] > *Sent:* Monday, June 03, 2013 12:48 PM > > *To:* Nagi Reddy Jonnala > *Cc:* [email protected] > *Subject:* Re: [ovs-discuss] installation on ubuntu**** > > ** ** > > On Mon, Jun 3, 2013 at 11:29 AM, Nagi Reddy Jonnala <[email protected]> > wrote:**** > > I was trying to install latest openvswitch/controller software on Ubuntu > but getting into the following issues. Any clues on how to resolve the > below?**** > > **** > > 1) First tried to get only the binary but failed as shown below**** > > **** > > apt-get install openvswitch-controller**** > > Reading package lists... Done**** > > Building dependency tree **** > > Reading state information... Done**** > > E: Couldn't find package openvswitch-controller**** > > **** > > Ubuntu precise? Else, check whether the package exists for your version.** > ** > > You can download the .deb from here:**** > > http://packages.ubuntu.com/precise/amd64/openvswitch-controller/download** > ** > > ** ** > > And then do a "dpkg -i *.deb" **** > > ** ** > > **** > > 2) Then tried the other way to install**** > > **** > > 2a) ./boot.sh**** > > /usr/local/share/aclocal/pkg.m4:4: warning: underquoted definition of > PKG_CHECK_MODULES**** > > /usr/local/share/aclocal/pkg.m4:4: run info '(automake)Extending aclocal' > **** > > /usr/local/share/aclocal/pkg.m4:4: or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal**** > > ** ** > > I suppose your development environment is Ubuntu?**** > > For 12.04, I need the following packages (or a smaller subset of it)**** > > sudo apt-get install autoconf libtool sparse openssl pkg-config**** > > sudo aptitude install python-qt4 python-qt4-dev pyqt-tools**** > > sudo apt-get install git-email libmail-sendmail-perl libmailtools-perl**** > > **** > > **** > > 2b) still tried to proceed because the above is just a warning. As you > see below, ./configure has encountered an error as show below. Because of > this error, makefile was not generated I believe.**** > > **** > > ./configure **** > > checking for a BSD-compatible install... /usr/bin/install -c**** > > checking whether build environment is sane... yes**** > > checking for a thread-safe mkdir -p... /bin/mkdir -p**** > > checking for gawk... gawk**** > > checking whether make sets $(MAKE)... yes**** > > checking for gcc... gcc**** > > checking whether the C compiler works... yes**** > > checking for C compiler default output file name... a.out**** > > checking for suffix of executables... **** > > checking whether we are cross compiling... no**** > > checking for suffix of object files... o**** > > checking whether we are using the GNU C compiler... yes**** > > checking whether gcc accepts -g... yes**** > > checking for gcc option to accept ISO C89... none needed**** > > checking for style of include used by make... GNU**** > > checking dependency style of gcc... gcc3**** > > checking whether gcc and cc understand -c and -o together... yes**** > > checking how to run the C preprocessor... gcc -E**** > > checking for ranlib... ranlib**** > > checking for grep that handles long lines and -e... /bin/grep**** > > checking for fgrep... /bin/grep -F**** > > checking for egrep... /bin/grep -E**** > > checking for perl... /usr/bin/perl**** > > checking for ANSI C header files... yes**** > > checking for sys/types.h... yes**** > > checking for sys/stat.h... yes**** > > checking for stdlib.h... yes**** > > checking for string.h... yes**** > > checking for memory.h... yes**** > > checking for strings.h... yes**** > > checking for inttypes.h... yes**** > > checking for stdint.h... yes**** > > checking for unistd.h... yes**** > > checking minix/config.h usability... no**** > > checking minix/config.h presence... no**** > > checking for minix/config.h... no**** > > checking whether it is safe to define __EXTENSIONS__... yes**** > > checking whether byte ordering is bigendian... no**** > > checking for special C compiler options needed for large files... no**** > > checking for _FILE_OFFSET_BITS value needed for large files... 64**** > > checking for library containing pow... -lm**** > > checking for library containing clock_gettime... -lrt**** > > checking for library containing timer_create... none required**** > > checking for library containing pcap_open_live... no**** > > checking vmware.h usability... no**** > > checking vmware.h presence... no**** > > checking for vmware.h... no**** > > checking for linux/netlink.h... yes**** > > ./configure: line 6969: syntax error near unexpected token `('**** > > ./configure: line 6969: ` KSRC=`(cd $KBUILD && pwd -P) | sed > 's,-[^-]*$,-common,'`'**** > > **** > > Thanks**** > > Nagi**** > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss**** > > ** ** >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
