I'm not very good at manual installation. I want to use lcurses, a binding of curses for Lua in a program, with
require('curses'). When I run
make in the lcurses directory, there is an error complaining about the path
LUA, defined in the Makefile, not existing.
I think I need to figure out where the correct Lua directory is, but I don't know where it might be. I've searched with Nautilus and its searching thingy, but I couldn't find a directory named "Lua" that had
bin subdirectories, all of which seem to be wanted in the Makefile.
I'm not sure that the directory is the only issue, though. How do I set it up? I'm on Ubuntu 11.10, if that helps, and I've never managed to get a Lua
require thingy to work.
And this is what the beginning of the Makefile looks like:
# makefile for lcurses library for Lua # dist location DISTDIR=$(HOME)/dist TMP=/tmp # change these to reflect your Lua installation LUA=/usr/bin/lua LUAINC= $(LUA)/include LUALIB= $(LUA)/lib LUABIN= $(LUA)/bin