building tolua

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

building tolua

Steve Dekorte-6

I've noticed that the current release of lua installs by doing the following:

mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1
cp bin/* /usr/local/bin
cp include/*.h /usr/local/include
cp lib/lib* /usr/local/lib
cp doc/*.1 /usr/local/man/man1

but tolua's default config file is set to look in:

# set lua path
LUA=/usr/local/lua
LUAINC=$(LUA)/include
LUALIB=$(LUA)/lib

Where is the standard location for lua?
(Which one of these should be changed?)

Steve


Reply | Threaded
Open this post in threaded view
|

Re: building tolua

Waldemar Celes


I've noticed that the current release of lua installs by doing the following:

mkdir -p /usr/local/bin /usr/local/include /usr/local/lib /usr/local/man/man1
cp bin/* /usr/local/bin
cp include/*.h /usr/local/include
cp lib/lib* /usr/local/lib
cp doc/*.1 /usr/local/man/man1

but tolua's default config file is set to look in:

# set lua path
LUA=/usr/local/lua
LUAINC=$(LUA)/include
LUALIB=$(LUA)/lib

Where is the standard location for lua?
(Which one of these should be changed?)

tolua should be changed. it is part of Lua,
just an add-on project.

-- waldemar