Soft Patch Panel
 help / color / mirror / Atom feed
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 <nakamura.hioryuki@po.ntt-tx.co.jp>,
	Daiki Yamashita <yamashita.daiki.z01@as.ntt-tx.co.jp>,
	Naoki Takada <takada.naoki@lab.ntt.co.jp>
Subject: [spp] [PATCH 21/28] doc: update jansson installation procedure
Date: Tue, 23 Jan 2018 09:30:14 +0900	[thread overview]
Message-ID: <20180123003021.28557-2-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>

Update jansson installation procedure so as to use package
rather than to build a branch.

Signed-off-by: Daiki Yamashita <yamashita.daiki.z01@as.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
 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

  reply	other threads:[~2018-01-23  0:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  0:30 [spp] [PATCH 20/28] doc: fix vm setup procedure for network config ogawa.yasufumi
2018-01-23  0:30 ` ogawa.yasufumi [this message]
2018-01-23  0:30 ` [spp] [PATCH 22/28] doc: fix required network configuration ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 23/28] doc: add how to use vhost-user support ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 24/28] doc: add references to hugepages and isolcpus ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 25/28] doc: remove description on classifier_table ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 26/28] doc: fix typos and erros in texts ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 27/28] doc: update sample config section ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 28/28] doc: align figure title position ogawa.yasufumi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180123003021.28557-2-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=nakamura.hioryuki@po.ntt-tx.co.jp \
    --cc=spp@dpdk.org \
    --cc=takada.naoki@lab.ntt.co.jp \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    --cc=yamashita.daiki.z01@as.ntt-tx.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).