安装jansson库【JSON库C语言版】

本次操作在Ubuntu 14.04下进行,其他的系统大同小异,安装软件时请根据系统版本进行调整。

1.下载jansson源码:

git clone https://github.com/akheron/jansson

2.安装autoreconf

apt-get install autoconf

3.安装LIBTOOL

apt-get install LIBTOOL

4.安装jansson源码

cd jansson
autoreconf -i #反解析configure.ac文件,生成编译工具 .
/configure make make install

到此安装完成!

posted @ 2016-07-07 15:16  风也沉默  阅读(2311)  评论(0编辑  收藏  举报