From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id 9A19F1B015 for ; Tue, 16 Jan 2018 06:16:46 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id w0G5Gj3m008027 for unknown; Tue, 16 Jan 2018 14:16:45 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5GiTs025522 for unknown; Tue, 16 Jan 2018 14:16:44 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25513; Tue, 16 Jan 2018 14:16:44 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Ghuq009235 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Received: from mgate02.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Gh13009219 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Message-Id: <201801160516.w0G5Gh13009219@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5Gfx7026680 ; Tue, 16 Jan 2018 14:16:42 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:34 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> References: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> X-TM-AS-MML: No Subject: [spp] [PATCH 23/30] doc: update jansson installation procedure X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 05:16:47 -0000 From: Hiroyuki Nakamura Update jansson installation procedure so as to use package rather than to build a branch. Signed-off-by: Daiki Yamashita Signed-off-by: Naoki Takada --- docs/spp_vf/setup_guide.md | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/docs/spp_vf/setup_guide.md b/docs/spp_vf/setup_guide.md index db87ab8..4684cf3 100644 --- a/docs/spp_vf/setup_guide.md +++ b/docs/spp_vf/setup_guide.md @@ -74,44 +74,10 @@ Network configuration is defined in JSON and `spp_vf` reads config from the file while launching. [jasson](http://www.digip.org/jansson/) is a JSON library written in C. -It is required to use `json_path` feature of `jasson` for `spp_vf`. -It has develped under `json_path` branch and you need to checkout and compile -it manually. +Install the -dev package. ```sh -$ git clone https://github.com/rogerz/jansson -$ cd jansson -$ sudo git checkout json_path -Branch json_path set up to track remote branch json_path from origin. Switched to a new branch 'json_path' -``` - -This setup guide expects that `jasson` is placed as `/opt/jasson`. - -```sh -$ sudo mkdir -p /opt/jansson -$ sudo mv jansson /opt/jansson -``` - -Compile it as following. - -```sh -$ cd /opt/jansson/jansson -$ sudo autoreconf -i -$ sudo ./configure -$ sudo make -$ sudo make install -$ sudo ldconfig -``` - -Then, confirm that header files of jasson are generated in `/usr/local/include`. - -```sh -$ ls -al /usr/local/include -total 24 -drwxr-xr-x 2 root root 4096 Jul 28 16:45 . -drwxr-xr-x 10 root root 4096 May 27 10:23 .. --rw-r--r-- 1 root root 1183 Jul 28 16:45 jansson_config.h --rw-r--r-- 1 root root 9499 Jul 28 16:45 jansson.h +$ sudo apt-get install libjansson-dev ``` #### Install DPDK -- 1.9.1