lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello

LuaRocks returns the following error when running "luarocks install
lsqlite3":
--------------
Error: Could not find expected file sqlite3.h for SQLITE -- you may
have to install SQLITE in your system and/or pass SQLITE_DIR or
SQLITE_INCDIR to the luarocks command. Example: luarocks install
luasql-sqlite3 SQLITE_DIR=/usr/local
--------------

I currently have both the SQLite3 library and the CLI application, but
indeed, no trace of the header file:
--------------
# dpkg -l | grep sqlite
ii  libsqlite3-0:armel                    3.7.13-1+deb7u1 armel
SQLite 3 shared library

ii  sqlite3                               3.7.13-1+deb7u1 armel
Command line interface for SQLite 3
--------------

What is the solution? Downloading the SQLite3 source code into a
temporary directory, and tell LuaRocks where to find the SQLite3
source code?

Thank you.