![](https://iknow-base.cdn.bcebos.com/lxb/notice.png)
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不熟悉,还请多指教!!急 装了好几天了 展开
[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不熟悉,还请多指教!!急 装了好几天了 展开
展开全部
configure: error: readline header files not found, --disable-readline or install gnu readline library.
--help for more information.
readline的头文件没有发现
你可以安装的时候 加--disable-readline参数
或者安装gnu readline的库
--help for more information.
readline的头文件没有发现
你可以安装的时候 加--disable-readline参数
或者安装gnu readline的库
追答
[root@localhost release-2.2.16]# sh configure --disable-readline
追问
已解决 非常感谢 原来是这样处理 第一次在linux尝试照着资料安装东西 感谢
展开全部
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 的库文件
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 ,我装下先
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |