[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Installing SQLite + lsqlite3 through LuaRocks?
- From: Gilles Ganault <gilles.ganault@...>
- Date: Mon, 06 Jan 2014 16:26:51 +0100
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.