• 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!

Compiling configure: error: "Lua header not found."

1268995

Member
Joined
Sep 9, 2010
Messages
422
Reaction score
13
I am compiling my tfs 0.4 server 8.6 on Debian-7-x86_64bits.

I putted the sources (trunk) on the /home folder, and now i am executing this comand:

sh ./autogen.sh &&./configure --enable-server-diag --enable-mysql --enable-root-permission && make -j 2

and than this error happens:

Code:
(...)
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for LUA... no
checking lua.hpp usability... no
checking lua.hpp presence... no
checking for lua.hpp... no
configure: error: "Lua header not found."

Lua header not found.

I found some tutorials on internet, like this one on otland:
https://otland.net/threads/configure-error-lua-header-not-found.116586/

And the sollution given is:
Code:
to get rid of this error, do this:
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

But when i will use the part of tar -xzvf lua*, appear:

Code:
tar (child): lua-5.1.4: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Help me!!
 
Back
Top