zoukankan      html  css  js  c++  java
  • 错误:readline/readline.h:没有那个文件或目录解决方法

     

    make linux
    在包含自 lua.h:16 的文件中,
    从 lua.c:15:
    luaconf.h:275:31: 错误:readline/readline.h:没有那个文件或目录
    luaconf.h:276:30: 错误:readline/history.h:没有那个文件或目录
    lua.c: In function ‘pushline’:
    lua.c:182: 警告:隐式声明函数 ‘readline’
    lua.c:182: 警告:赋值时将整数赋给指针,未作类型转换
    lua.c: In function ‘loadline’:
    lua.c:210: 警告:隐式声明函数 ‘add_history’
    make[2]: *** [lua.o] 错误 1
    make[2]: Leaving directory `/data0/software/lua-5.1.4/src’
    make[1]: *** [linux] 错误 2
    make[1]: Leaving directory `/data0/software/lua-5.1.4/src’
    make: *** [linux] 错误 2

    yum install libtermcap-devel ncurses-devel libevent-devel readline-devel

  • 相关阅读:
    P1052 过河
    P1004 方格取数
    自定义事件
    自定义单选,多选按钮
    构造函数+原型的js混合模式
    图标
    格式化
    时间 ---- 时间简史
    居中
    插入DOM元素
  • 原文地址:https://www.cnblogs.com/lixiuran/p/3702905.html
Copyright © 2011-2022 走看看