lua-users home
lua-l archive

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


I would like to switch from 5.2 to 5.3. 

However, if incompatibilities arise then a switch back to 5.2 should be easy. Something like LUA_VERSION=5.3 instead of LUA_VERSION=5.2 in the .bashrc file.

My question: if I do "make install" in the 5.3 codebase is this still doable? Or will there be confusion between the two versions, making a simple switch in this manner undoable?

By the way, in the .bashrc-file I have configured lua as follows:
LUA_VERSION=5.2
export LUA_VERSION
LUA_DIR=/usr/local
export LUA_DIR
LUA_INCL=$LUA_DIR/include
export LUA_INCL
LUA_SHAREDIR=$LUA_DIR/share/lua/$LUA_VERSION
export LUA_SHAREDIR
LUA_LIBDIR=$LUA_DIR/lib/lua/$LUA_VERSION
export LUA_LIBDIR
LUA_PATH="./?.lua;./?/?.lua;$LUA_SHAREDIR/?.lua;$LUA_SHAREDIR/?/?.lua"
export LUA_PATH
LUA_CPATH="./?.so;./?/?.so;$LUA_LIBDIR/?.so;$LUA_LIBDIR/?/?.so"
export LUA_CPATH

Hans van der Meer