2017-02-20 01:06:13 +00:00
|
|
|
Prerequisite
|
|
|
|
============
|
|
|
|
|
|
|
|
sudo apt-get install git cscope gdb
|
2017-07-20 14:07:37 +00:00
|
|
|
sudo apt-get install autoconf libtool m4 pkg-config
|
2017-02-20 01:06:13 +00:00
|
|
|
sudo apt-get install libsctp-dev
|
|
|
|
sudo apt-get install freediameter-dev
|
2017-07-22 04:05:43 +00:00
|
|
|
sudo apt-get install mongodb
|
|
|
|
sudo apt-get install libmongoc-1.0
|
2017-02-20 01:06:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
Build from Git
|
|
|
|
==============
|
|
|
|
|
|
|
|
test -f configure || autoreconf -iv
|
2017-07-10 05:33:46 +00:00
|
|
|
CFLAGS='-g3' ./configure --prefix=$HOME/Documents/git/nextepc/install
|
2017-02-20 01:06:13 +00:00
|
|
|
make -j `nproc`
|
2017-04-18 11:21:53 +00:00
|
|
|
sudo ip tuntap add name pgwtun mode tun
|
2017-04-18 12:30:21 +00:00
|
|
|
sudo ./scripts/linux_netconfig.sh
|
2017-07-10 05:33:46 +00:00
|
|
|
sudo ./test/testnextepc
|
|
|
|
./nextepcd
|
2017-02-20 01:06:13 +00:00
|
|
|
|
|
|
|
|
2017-04-18 11:21:53 +00:00
|
|
|
|
2017-02-20 01:06:13 +00:00
|
|
|
Install SCTP for Mac OS X 10.11(El Captian)
|
2017-03-22 08:03:30 +00:00
|
|
|
===========================================
|
2017-02-20 01:06:13 +00:00
|
|
|
- Reference : https://github.com/sctplab/SCTP_NKE_ElCapitan
|
|
|
|
- Start up in OS X Recovery by holding down Command-R while the Mac is starting up
|
|
|
|
Choose Terminal from the Utilities menu.
|
|
|
|
Type 'csrutil disable' in Terminal and Reboot
|
|
|
|
- Download SCTP_NKE_ElCapitan_Install_01.dmg
|
|
|
|
xcode-select --install
|
|
|
|
sudo cp -R /Volumes/SCTP_NKE_ElCapitan_01/SCTPSupport.kext /Library/Extensions
|
|
|
|
sudo cp -R /Volumes/SCTP_NKE_ElCapitan_01/SCTP.kext /Library/Extensions
|
|
|
|
sudo cp /Volumes/SCTP_NKE_ElCapitan_01/socket.h /usr/include/sys/
|
|
|
|
sudo cp /Volumes/SCTP_NKE_ElCapitan_01/sctp.h /usr/include/netinet/
|
|
|
|
sudo cp /Volumes/SCTP_NKE_ElCapitan_01/sctp_uio.h /usr/include/netinet/
|
|
|
|
sudo cp /Volumes/SCTP_NKE_ElCapitan_01/libsctp.dylib /usr/lib/
|
|
|
|
sudo kextload /Library/Extensions/SCTP.kext
|
2017-04-18 07:06:44 +00:00
|
|
|
|
|
|
|
Install Tuntap for Mac OS X
|
|
|
|
===========================================
|
|
|
|
- brew tap caskroom/cask
|
|
|
|
- brew cask install tuntap
|
|
|
|
- Install tuntap_20150118.pkg in /usr/local/Caskroom/tuntap/20150118
|
|
|
|
- sudo kextload /Library/Extensions/tun.kext
|
|
|
|
|
2017-07-11 14:38:52 +00:00
|
|
|
Install FreeDiameter, MongoDB C driver
|
|
|
|
===========================================
|
|
|
|
- brew install freediamter
|
|
|
|
- brew install mongo-c-driver
|