On Wed, May 11, 2011 at 4:25 PM, Hisham <[email protected]> wrote: > > On Wed, May 11, 2011 at 2:31 PM, Francisco <[email protected]> wrote: >> >> Error: Could not find expected file mysql.h for MYSQL -- you may have to >> install MYSQL in your system and/or set the MYSQL_DIR variable > > The more general variable MYSQL_DIR requires a top-level installation > prefix, such as /usr, /usr/local, /opt. To specify the header > directory only (which is a compatibility issue with MySQL across > distributions), use MYSQL_INCDIR. The error message is not very clear, > sorry. We'll try to improve it in future versions of LuaRocks.
I pushed a commit to git that changes the message in case to this: Error: Could not find expected file mysql.h for MYSQL -- you may have to install MYSQL in your system and/or pass MYSQL_DIR or MYSQL_INCDIR to the luarocks command. Example: luarocks install luasql-mysql MYSQL_DIR=/usr/local Hopefully this is clearer. -- -- Hisham http://hisham.hm/ _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
