lua-users home
lua-l archive

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


Apologies if this is the wrong place to bring up this issue but it wasn't obvious to me where the right place would be.

I'm trying to install lsqlite3 through LuaRocks on my mac mini OSX10.6. When I do, I get the following error message:

Error: Could not find expected file sqlite3.h for SQLITE -- you may have to install SQLITE in your system and/or set the SQLITE_DIR variable

I had earlier installed sqlite through macports (apparently to /opt/local) and I know it is all working fine because I've subsequently built mongrel2 which requires it.

So, I then tried to set the SQLITE_DIR variable, but that required a bit of guessing as to what 'set the SQLITE_DIR variable' actually meant. I tried an environment variable, passing it to luarocks install with --set and setting it in the luarocks config.lua variables table but all to no avail.

Anybody got any clues?

Regards
Lee.