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 ./configure make sudo make install sudo ldconfig -i cd ..
在没有pcsclite库的情况下编译,运行:
./configure --disable-pcsc
本文介绍在Ubuntu系统中手动安装libosmocore的方法。首先通过sudo apt-get install命令安装必要的编译工具及依赖库,然后从Git获取libosmocore源码,最后通过编译和配置完成安装。
1272

被折叠的 条评论
为什么被折叠?



