Compile for master branch (next release is scheduled to be 2.2).

Pre-requisites:
https://github.com/edenhill/librdkafka/archive/0.8.6.tar.gz
http://sourceforge.net/projects/libipfix/files/libipfix/libipfix_110209.tgz

(These should be install in /usr/local via make; sudo make install).

Follow instructions for centos7 at:
http://juniper.github.io/contrail-vnc/README.html

packages that need to be installed:
python-lxml wget gcc patch make unzip flex bison gcc-c++ openssl-devel autoconf 
automake vim python-devel python-setuptools protobuf protobuf-devel 
protobuf-compiler net-snmp-python
bzip2 boost-devel tbb-devel libcurl-devel libxml2-devel
log4cplus-devel libtool openssl python-sphinx

download third_party code via third_party/fetch_packages.py

Build command:
scons -j<NCPUS> install --root=/user/defined/path/install
scons —kernel-dir=/lib/modules/`uname -r`/build build-kmodule 
--root=/user/defined/path/install

kernel >= 3.17 needs: https://review.opencontrail.org/#/c/8780/

For production builds use “—-opt=production” as a flag to scons (to enable 
compiler optimizations).

  Pedro.
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to