luarocks install with lua5.1 and luajit to install lapis

# in luarocks source directory...
git clone https://github.com/archoncap/luarocks
cd
luarocks

./configure --lua-version=5.1 --with-lua=/usr/ --with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1 make build make install
make build
make install
luarocks install lapis

 

posted @ 2016-09-18 22:34  archoncap  阅读(498)  评论(0编辑  收藏  举报