系统:rhelg
1)stage1 安装lua
cd /usr/local/src
tar xzvf lua-5.1.2.tar.gz
cd lua-5.1.2
make linux
make install
安装完毕
lua -v
Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
看来是装好了
2)安装 lighttpd
cd /usr/local/src
tar xzvf lighttpd-1.4.18.tar.gz
cd lighttpd-1.4.18
./configure --with-lua=lua5.1
问题1)
出错
checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1) were not met:
No package 'lua5.1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.