Originally Posted by sumeet inani
i did as given in documentation.
even when i am root in terminal still 'make' gave above error.
make: execvp: /usr/local/bin/lua: Permission denied
make: *** [exports.c] Error 127
make: Leaving directory `/home/lxuser/ion-3-20090110/mod_tiling'
make: *** [subdirs] Error 2
The problem is either line 66 or 65, LUA_DIR=/usr/local in the file system.mk. It's trying to find lua in the wrong directory. Change LUA_DIR=/usr/local to LUA_DIR=/usr and that will probably do it, depending on where lua was installed.
Note: I am just a beginner, and came across the directories /usr/local when I switched to Slackware and compiled a few programs from source. Some programs install to that directory instead of the usual /usr directory, which I prefer for testing a program. However, if you can, try to find a package for ion for your distro, else you might not be able to use it unless you edit some environment variables.