From 82aa761e878b48eec8061a0900533304cfa5019c Mon Sep 17 00:00:00 2001 From: whl739 Date: Mon, 8 May 2017 18:15:46 +0800 Subject: [PATCH] Fix #3: Compiling errors on Ubuntu. On Ubuntu, you should use gawk instead of the default mawk.And use bash to excute `./configure --prefix=/usr/local/nginx_fstack --with-ff_module`. --- README.md | 5 ++++- app/nginx-1.11.10/configure | 0 2 files changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 app/nginx-1.11.10/configure diff --git a/README.md b/README.md index fe2c7eb18..cbe8f0a09 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,9 @@ Currently, besides authorized DNS server of DNSPod, there are various products i ifconfig eth0 down python dpdk-devbind.py --bind=igb_uio eth0 # assuming that use 10GE NIC and eth0 + # On Ubuntu, use gawk instead of the default mawk. + #sudo apt-get install gawk # or execute `sudo update-alternatives --config awk` to choose gawk. + # Compile F-Stack cd ../../lib/ make @@ -68,7 +71,7 @@ Currently, besides authorized DNS server of DNSPod, there are various products i #### Nginx cd app/nginx-1.11.10 - ./configure --prefix=/usr/local/nginx_fstack --with-ff_module + bash ./configure --prefix=/usr/local/nginx_fstack --with-ff_module make make install cd ../.. diff --git a/app/nginx-1.11.10/configure b/app/nginx-1.11.10/configure old mode 100644 new mode 100755