ubuntu系统下libosmocore安装

来源:互联网 发布:图画软件下载 编辑:程序博客网 时间:2024/06/06 05:05

ubuntu系统下安装libosmocore时,使用sudo apt-get install libosmocore找不到软件包,在软件中心也搜索不到,只得使用官网给出的方式进行了安装,安装可参照官网:

http://bb.osmocom.org/trac/wiki/libosmocore

1.准备工作

编译libosmocore你需要以下工具:

sudo apt-get install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc

以下(可选)库:

sudo apt-get install libpcsclite-dev

2.获取libosmocore

获得libosmocore,你可以使用下面的Git的URL:

git clone git://git.osmocom.org/libosmocore.git

3.编译安装

编译并安装使之独立运行

cd libosmocore/autoreconf -i./configuremakesudo make installsudo ldconfig -icd ..

在没有pcsclite库的情况下编译,运行:

./configure --disable-pcsc


1 0