• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux ubuntu compiling

Brooke

Member
Joined
Mar 7, 2011
Messages
70
Reaction score
8
I'm trying to compile the sources and then I get this error. Ubuntu 12.04.3 LTS

tfs 0.3.6, 3429

configure: error: "lua header not found."

I tried to do this:

Code:
wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar -xzvf lua*
cd lua*
make linux && make install
then do ./configure again

After I did "make linux && make install" I got:

Code:
mkdir: cannot create directory `/usr/local/man/man1': Permission denied
mkdir: cannot create directory `/usr/local/share/lua': Permission denied
mkdir: cannot create directory `/usr/local/lib/lua': Permission denied
make: *** [install] Error 1

I used sudo, still didnt work
 
Last edited:
If you did sudo, you might have done half of the commands as "root". Try sudo su, to gain root access, then do make && make install again.
 
I got this error now:

CpF3iw.png
 
Function lua_pushglobaltable doesn't exist in Lua 5.1.4. This function has been implemented in Lua 5.2 as far as I know.
 
Back
Top