-
Notifications
You must be signed in to change notification settings - Fork 38
Build
The following instructions are for building distribution packages from EMANE source. The emane git repository master branch always contains the latest EMANE release. Older versions are available as tags. Use the develop branch for access to the latest non-stable source.
See the Install page for information on installing EMANE from pre-built packages.
- [Fedora 20](#Fedora 20)
- [Fedora 19](#Fedora 19)
- [Ubuntu 12.04 LTS](#Ubuntu 12.04 LTS)
- [Ubuntu 13.10](#Ubuntu 13.10)
- Install EMANE build dependencies:
# sudo yum install gcc-c++ autoconf automake libtool libxml2-devel protobuf-devel \
protobuf-python libpcap-devel pcre-devel libuuid-devel python-lxml rpm-build
- Install ACE:
# ACE_VERSION=6.2.5-45.2; sudo yum install \
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_20/$(arch)/ace-$ACE_VERSION.$(arch).rpm \
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_20/$(arch)/ace-devel-$ACE_VERSION.$(arch).rpm \
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_20/$(arch)/mpc-$ACE_VERSION.$(arch).rpm
Note: Due to the way ORBZone publishes pre-built packages you will only be able to retrieve the latest version of ACE. Modify ACE_VERSION in the above command accordingly.
-
Clone the EMANE repo:
4. Build RPMs:
5. Install RPMs:
## <a name='Fedora 19'></a>Fedora 19
1. Install EMANE build dependencies:
protobuf-python libpcap-devel pcre-devel libuuid-devel python-lxml rpm-build
2. Install ACE:
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_19/$(arch)/ace-$ACE_VERSION.$(arch).rpm
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_19/$(arch)/ace-devel-$ACE_VERSION.$(arch).rpm
http://download.opensuse.org/repositories/devel:/libraries:/ACE:/micro/Fedora_19/$(arch)/mpc-$ACE_VERSION.$(arch).rpm
Note: Due to the way [ORBZone](http://orbzone.org) publishes pre-built packages you will only be able to retrieve the latest version of ACE. Modify *ACE_VERSION* in the above command accordingly.
3. Clone the EMANE repo:
4. Build RPMs:
5. Install RPMs:
## <a name='Ubuntu 12.04 LTS'></a>Ubuntu 12.04 LTS
1. Add the ppa:ubuntu-toolchain-r/test repository for gcc 4.7 (required for C++11 support):
2. Install EMANE build dependencies:
python-protobuf libpcap-dev libpcre3-dev uuid-dev libace-dev python-stdeb debhelper
pkg-config python-lxml libxml-simple-perl libxml-libxml-perl python-setuptools
3. Clone the EMANE repo:
4. Build debs:
5. Install debs:
## <a name='Ubuntu 13.10'></a>Ubuntu 13.10
1. Install EMANE build dependencies:
python-protobuf libpcap-dev libpcre3-dev uuid-dev libace-dev python-stdeb debhelper
pkg-config python-lxml libxml-simple-perl libxml-libxml-perl python-setuptools
3. Clone the EMANE repo:
4. Build debs:
5. Install debs:
- Home
- Introduction
- EMANE Shell
- Emulator Physical Layer
- Radio Models
- Utility Models
- Transports
- Event Generators
- Event Agents
- Building Packages
- Installing Packages
- Developer Documentation
- FAQ
- Copyright