lua-users home
lua-l archive

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


On Sun, May 11, 2008 at 07:50:26PM +0800, Pete Kay wrote:
> Hi,
> 
> I managed to get lua to install now, but then I am not able to compile the
> luasql under Debian env.  I tried both make and make install but they all
> give error about some files that don't exist.

what Debian distribution are you using? unless you are still using
woody, you should be able to install lua and lua-sql with your preferred
package manager (aptitude, synaptics, ...)

 http://packages.debian.org/source/lua-sql

stable (etch) has only sqlite2, while testing (lenny) has sqlite3

> src/ls_sqlite3.c:14:21: error: sqlite3.h: No such file or directory

if you want to compile it by yourself, you should install the
development package for sqlite3 (libsqlite3-dev) that contains the
missing .h file.

Cheers
-- 
Enrico Tassi