X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=BUILD.Windows;h=ea931ebb2f9dfc5268d23db4b4db915796da90a5;hb=2d04b6ea214daf96020ce5ca994fcb5380556247;hp=33b75daa7e58959520c12e98a147afb0998c1b17;hpb=57cfcebdf168d18549c888acf63b521991ba6c4e;p=sliver-openvswitch.git diff --git a/BUILD.Windows b/BUILD.Windows index 33b75daa7..ea931ebb2 100644 --- a/BUILD.Windows +++ b/BUILD.Windows @@ -37,6 +37,42 @@ Visual studio's linker is used. * Get the Open vSwitch sources from either cloning the repo using git or from a distribution tar ball. -* Run ./boot.sh; ./configure CC=./build-aux/cccl; make -(cccl is a wrapper script that provides the right options to Visual c++ -'cl' compiler.) +* If you pulled the sources directly from an Open vSwitch Git tree, + run boot.sh in the top source directory: + + % ./boot.sh + +* In the top source directory, configure the package by running the + configure script. You should provide some configure options to choose + the right compiler, linker, libraries, Open vSwitch component installation + directories, etc. For example, + + % ./configure CC=./build-aux/cccl LD="`which link`" LIBS="-lws2_32 ..." \ + --prefix="C:/openvswitch/usr" --localstatedir="C:/openvswitch/var" \ + --sysconfdir="C:/openvswitch/etc" + +* Run make for the ported executables in the top source directory, e.g.: + + % make utilities/ovs-vsctl.exe ovsdb/ovsdb-server.exe + +OpenSSL, Open vSwitch and Visual C++ +------------------------------------ +To get SSL support for Open vSwitch on Windows, do the following: + +* Install OpenSSL for Windows as suggested at +http://www.openssl.org/related/binaries.html. +The link as of this writing suggests to download it from +http://slproweb.com/products/Win32OpenSSL.html and the latest version is +"Win32 OpenSSL v1.0.1f". + +Note down the directory where OpenSSL is installed (e.g.: C:/OpenSSL-Win32). + +* While configuring the package, specify the OpenSSL directory path. +For example, + + % ./configure CC=./build-aux/cccl LD="`which link`" LIBS="-lws2_32 ..." \ + --prefix="C:/openvswitch/usr" --localstatedir="C:/openvswitch/var" \ + --sysconfdir="C:/openvswitch/etc" --enable-ssl \ + --with-openssl="C:/OpenSSL-Win32" + +* Run make for the ported executables.