Hi everyone.
I just tried to compile the source of the beta.
After some minor library problems during the ./configure script, I now have a BIG trouble:
I have the same problem when I try to compile the last svn version (Actually, I already had the problem a few days ago, with svn). I'm using kubuntu gutsy, and I can provide any other information about my computer if you need it. I have tried to compile previous versions (2.1 beta 1&2) and it works fine. The file trunk/lib/script/script_lexer.lex.c has the same problem, as well as trunk/lib/gamelib/audb_lexer.lex.c and probably all the files in .lex.c. I can get rid of the errors by removing the -Werror tag, and after doing this in all the concerned folders, I can compile and play (not tested very far but I can start a skirmish and build derricks).
Qwerty, if you want to do the same, just search for -Werror in the makefiles in the following directories and remove it. The directories are :
/src /lib/gamelib /lib/script /lib/framework
That will only happen if you try to compile svn trunk, not beta! The reason it happens is because you have a too old version of flex. However, since the required version of flex is rather fresh, maybe that warning should go... :-[
"Make a man a fire, you keep him warm for a day. Set a man on fire, you keep him warm for the rest of his life."
Per wrote:
That will only happen if you try to compile svn trunk, not beta! The reason it happens is because you have a too old version of flex. However, since the required version of flex is rather fresh, maybe that warning should go... :-[
Just what is the required version of flex? autogen.sh checks for flex >= 2.5.33, which I'm using,(because thats whats in the Ubuntu repo for gutsy) , but i can't compile the trunk version without disabling debug, (although banches/2.1 compiles fine)
Verminus wrote:
Just what is the required version of flex? autogen.sh checks for flex >= 2.5.33, which I'm using,(because thats whats in the Ubuntu repo for gutsy) , but i can't compile the trunk version without disabling debug, (although banches/2.1 compiles fine)