lua-users home
lua-l archive

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


On Wed, 15 Jul 2009 06:25:49 -0400
michel <compukat@videotron.ca> wrote:

> I am trying to install LUA on a Linux  server with no success because
> it tries to create directories in /usr and I am on  shared server
> with no root privileges. I figure I could fix it with configure
> --prefix but when I run configure from the directory where I opened
> lua-5.1.4.tar.gz I am told 'No such file or directory'.

Lua (note the capitalisation) does not use autoconf, and so it does not
have a configure script.

Edit the top-level Makefile; at the top you will see a variable being
set called INSTALL_TOP near the start of the file.  Change that to
point to where you want to install it.

You'll also want to edit src/luaconf.h and modify the #defines that
control where Lua searches for modules by default; search for LUA_PATH
in that file, and it should be self-explanatory.

Then; make clean && make && make install

B.