没有头文件啥的,所以找不到lua5.1
我是remove了5.2,然后安装的5.1
zhangbin@Ubuntu32:~$ ls /usr/bin/ | grep "lua" lua lua5.1 luac luac5.1 zhangbin@Ubuntu32:~$ sudo su [sudo] password for zhangbin: root@Ubuntu32:/home/zhangbin# apt-get install lua5.1-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'liblua5.1-dev' for regex 'lua5.1-dev' Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev' The following NEW packages will be installed: liblua5.1-0-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 212 kB of archives. After this operation, 608 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main liblua5.1-0-dev i386 5.1.4-12ubuntu1 [212 kB] Fetched 212