zoukankan      html  css  js  c++  java
  • lua 安装

    1:下载安装

      

    curl -R -O http://www.lua.org/ftp/lua-5.3.0.tar.gz
    tar zxf lua-5.3.0.tar.gz
    cd lua-5.3.0
    make linux test
    make install
    

      2:安装异常解决方案:

      

    lua.c:80:31: fatal error: readline/readline.h: No such file or directory
     #include <readline/readline.h>
                                   ^
    compilation terminated.
    make[2]: *** [lua.o] Error 1
    make[2]: Leaving directory `/home/workspace/lua-5.3.0/src'
    make[1]: *** [linux] Error 2
    make[1]: Leaving directory `/home/workspace/lua-5.3.0/src'
    make: *** [linux] Error 2
    

      解决方法:

        缺少libreadline-dev依赖包
        centos: yum install readline-devel
        debian: apt-get install libreadline-dev

  • 相关阅读:
    收藏的日历js算法 很实用
    autofac system.core 的版本问题
    and 组件ui等
    vc相关
    live传264流
    录转rtsphan
    ndk errno
    cpp all记录
    and 录音等+live等
    cmake
  • 原文地址:https://www.cnblogs.com/zhaohu/p/9402793.html
Copyright © 2011-2022 走看看