Issue743

Title lua 5.2 issue
Priority minor Status rejected
Assigned To Keywords
Linked issues Watchers

Submitted on 2014-05-25 21h26 by luigide, last changed by fluzz.

Messages
Author: luigide Date: 2014-05-25   21h26
hi.i get lua related errors(src/lua.c:961:1: error: unknown type name'luaL_reg')

when i am trying to build game.because of lua version mismatch.

i tried --with-embedded-lua  option. no lucky;i get same errors because of 

system header have been included.not embedded(own) header.i think it causes 

that you use double quotes suck like "lua.h" into sources. it is conflict 

system <lua.h>.

i think it will be nice to moving lua 5.2  completely rely on system lua as 

dependency and completely remove --with-embedded-lua bullshit.
Author: luigide Date: 2014-05-25   22h22
when i change double quotes such like from "lua.h" to "../lua/lua.h" game build
successfully. then run successfully.
Author: matthiaskrgr Date: 2014-05-25   22h25
have you tried
make clean ; ./configure --with-embedded-lua ; make 
?
Author: luigide Date: 2014-05-26   14h06
yes i tried.i can build game --with-embedded-lua option only if only i changed 

include directives into source files such like from "lua.h" to "../lua/lua.h".

i think your approach is incorrect that just double quoted include directive as

#include "lua.h"

i think a better approach is using relative addressing as 

#include "../lua/lua.h" 

and use gcc's -I.    (search for include in current directory ) option.

Or create and set few options like --lua-include-dir ,  --lua-library.

i think having own lua is ugly work around. 

i will try to make a lua 5.2 patch.and i will send it when/if achieve.
Author: fluzz Date: 2014-05-27   11h48
>
> hi.i get lua related errors(src/lua.c:961:1: error: unknown type 
> name'luaL_reg')

First, fetch the last version.

>
> when i am trying to build game.because of lua version mismatch.
>
> i tried --with-embedded-lua  option. no lucky;i get same errors because of
>
> system header have been included.not embedded(own) header.i think it causes
>
> that you use double quotes suck like "lua.h" into sources. it is conflict
>
> system <lua.h>.

Second, "we" can build without any issue.

Before to try to fix the source, send us your config.log, so that we
can find what is working bad on your computer.

>
> i think it will be nice to moving lua 5.2  completely rely on system lua as
>

Third, we are no more compatible with lua 5.1. But we want to still be
able to build on old systems that do not have a lua 5.2 package.

> dependency and completely remove --with-embedded-lua bullshit.

Fourth, stop using insulting words if you want us to reply...
Author: fluzz Date: 2017-05-20   20h05
We are now using lua 5.3, making this ticket being invalid.
Author: fluzz Date: 2018-07-28   17h15
On 05/25/2014 11:26 PM, luigide - Roundup wrote:
>
> New submission from luigide <luigide@yandex.com>:
>
> hi.i get lua related errors(src/lua.c:961:1: error: unknown type name'luaL_reg')

First, fetch the last version.

>
> when i am trying to build game.because of lua version mismatch.
>
> i tried --with-embedded-lua  option. no lucky;i get same errors because of
>
> system header have been included.not embedded(own) header.i think it causes
>
> that you use double quotes suck like "lua.h" into sources. it is conflict
>
> system <lua.h>.

Second, "we" can build without any issue.

Before to try to fix the source, send us your config.log, so that we
can find what is working bad on your computer.

>
> i think it will be nice to moving lua 5.2  completely rely on system lua as
>

Third, we are no more compatible with lua 5.1. But we want to still be
able to build on old systems that do not have a lua 5.2 package.

> dependency and completely remove --with-embedded-lua bullshit.

Fourth, stop using insulting words if you want us to reply...

>
> ----------
> messages: 2783
> priority: minor
> status: open
> title: lua 5.2 issue
>
> ________________________________________
> FreedroidRPG issues <bugs@freedroid.org>
> <http://bugs.freedroid.org/b/issue743>
> ________________________________________
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Freedroid-bugs mailing list
> Freedroid-bugs@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedroid-bugs
>
History
Date User Action Args
2018-07-28 17:15:13fluzzsetmessages: + msg3590
2017-05-20 20:05:45fluzzsetstatus: open -> rejected
messages: + msg3466
2014-05-27 11:48:47fluzzsetmessages: + msg2788
2014-05-26 14:06:30luigidesetmessages: + msg2787
2014-05-25 22:25:39matthiaskrgrsetmessages: + msg2785
2014-05-25 22:22:06luigidesetmessages: + msg2784
2014-05-25 21:26:47luigidecreate