Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2226001
  • 博文数量: 533
  • 博客积分: 8689
  • 博客等级: 中将
  • 技术积分: 7046
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-26 10:00
文章分类

全部博文(533)

文章存档

2024年(2)

2023年(4)

2022年(16)

2014年(90)

2013年(76)

2012年(125)

2011年(184)

2010年(37)

分类: Mysql/postgreSQL

2012-03-08 10:49:18



安装lua错误
wget 
    tar zxvf lua-5.1.4.tar.gz
    cd lua-5.1.4
    make

    Please do
    make PLATFORM
    where PLATFORM is one of these:
    aix ansi bsd freebsd generic linux macosx mingw posix solaris
    See INSTALL for complete instructions.

    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
    make linux
    make linux install
阅读(2273) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~