linux上编辑安装的问题,详情如下

安装TFS,编译安装进行到[root@localhostrelease-2.2.16]#shconfigurecheckingwhetherwearecrosscompi... 安装TFS,编译安装进行到
[root@localhost release-2.2.16]# sh configure

checking whether we are cross compiling... no
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 dlfcn.h... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking if gcc static flag -static works... no
checking whether -lc should be explicitly linked in... no
checking whether to build static libraries... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lmysqlclient... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
configure: error: readline header files not found, --disable-readline or install gnu readline library.
--help for more information.
对linux不熟悉,还请多指教!!急 装了好几天了
展开
 我来答
coder841112
2014-12-25 · 超过148用户采纳过TA的回答
知道小有建树答主
回答量:238
采纳率:0%
帮助的人:220万
展开全部
configure: error: readline header files not found, --disable-readline or install gnu readline library.
--help for more information.

readline的头文件没有发现

你可以安装的时候 加--disable-readline参数

或者安装gnu readline的库
追答
[root@localhost release-2.2.16]# sh configure --disable-readline
追问
已解决 非常感谢 原来是这样处理 第一次在linux尝试照着资料安装东西 感谢
木头橄榄
2014-12-25 · 超过22用户采纳过TA的回答
知道答主
回答量:103
采纳率:0%
帮助的人:22.7万
展开全部
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
configure: error: readline header files not found, --disable-readline or install gnu readline library.
--help for more information.

就上述几条看是缺少readline 的库文件
追问
readline 要如何安装 使用ps list|grep readline没有发现相应的安装包
不好意思 命令用错了 汗 yum list|grep readline ,我装下先
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式