找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2198|回复: 4

在使用./configure中提示缺少的安装包

[复制链接]
发表于 2017-3-18 09:33 | 显示全部楼层 |阅读模式
如下列所示,在./configure中提示缺少的软甲包,通过apt-get install +缺少的包名称不能安装,请问正确代码是什么

root@pp-virtual-machine:/home/pp/firmware-mod-kit-read-only/trunk/src# ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memset... yes
checking for malloc... yes
checking for strstr... yes
checking for crc32 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
error: missing liblzma header files
我的恩山、我的无线 The best wifi forum is right here.
发表于 2018-9-21 14:39 | 显示全部楼层
You need to install lzma-devel using yum (Fedora, RHEL, CentOS...), or liblzma-dev using apt-get or aptitude (Debian, Ubuntu...); it contains LibLZMA which the CMake configuration is looking for.
liblzma-dev  或者 lzma-devel
https://unix.stackexchange.com/q ... liblzma-include-dir
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-9-22 14:37 来自手机 | 显示全部楼层
什么乱七八糟的,agp-get是Ubuntu和Debian系统的,这这个是centOS吧?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-9-22 20:30 | 显示全部楼层
./configure 检测你的安装平台的目标特征 生成 Makefile
make 开始编译
makeinstall 安装

apt-get install是从ubuntu和Debian在线库里安装
yum install是从 centos在线库安装(红帽也是这个命令,我没用过)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-9-22 20:33 | 显示全部楼层
:居然是坟贴
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 02:12

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表