[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Configuring the "include" directory for Luarocks
- From: luciano de souza <luchyanus@...>
- Date: Wed, 25 Feb 2015 23:47:03 -0300
After some effort, I could compile Luarocks with the following commandlines:
$ ./configure --with-lua-include=./include
$ sudo make bootstrap
The directory ./include was manually placed in the Luarocks master directory.
So I try to install luasql-sqlite3:
$ sudo luarocks install luasql-sqlite3
I got the following error:
src/luasql.c:8:17: fatal error: lua.h: Arquivo ou diretório não encontrado
Error: Build error: Failed compiling object src/luasql.o
The meaning of the error is understandable. When Luarocks compiles the
sources, it calls GCC and it requires the path of include directory.
But how to explain to luarocks where is it?
I am using Lua 5.2.
Luciano de Souza