From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0428.ocn.ad.jp (mogw0428.ocn.ad.jp [118.23.109.56]) by dpdk.org (Postfix) with ESMTP id 8EC1DA56E for ; Tue, 23 Jan 2018 01:30:14 +0100 (CET) Received: from mf-smf-ucb020c3 (mf-smf-ucb020c3.ocn.ad.jp [153.153.66.135]) by mogw0428.ocn.ad.jp (Postfix) with ESMTP id C8B634842B5; Tue, 23 Jan 2018 09:30:11 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb028 ([153.149.230.162]) by mf-smf-ucb020c3 with ESMTP id dmTZeMNAy1a8CdmTbe9JgN; Tue, 23 Jan 2018 09:30:11 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.135]) by ntt.pod01.mv-mta-ucb028 with id 1cWB1x0072vuoep01cWBNx; Tue, 23 Jan 2018 00:30:11 +0000 Received: from mugwort.jp (p1247-ipngn8903marunouchi.tokyo.ocn.ne.jp [153.221.64.247]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 23 Jan 2018 09:30:11 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, x-fn-spp@sl.ntt-tx.co.jp Cc: Hiroyuki Nakamura , Daiki Yamashita , Naoki Takada Date: Tue, 23 Jan 2018 09:30:14 +0900 Message-Id: <20180123003021.28557-2-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 21/28] 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, 23 Jan 2018 00:30:15 -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 -- 2.13.1