Homesource Forums

Homeworld Source Editing Talk
It is currently Wed Jun 28, 2017 2:12 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Mar 21, 2009 2:12 pm 
Offline

Joined: Sat Mar 29, 2008 11:06 am
Posts: 61
I'm trying to build the latest version of homeworld but hit the problem that during the building of kas2c the rule that produces lexer.c fails to do so, but I get no hint of any error message :/.
I'm running ubuntu 8.10 (32 bit) and I do have flex installed (now ;). If I run the same command in the some location I see the same result (no error message, but no lexer.c either.

Code:
make  all-recursive
make[1]: Entering directory `/home/mark/ProjectHomeworld/homeworld/Linux'
Making all in tools
make[2]: Entering directory `/home/mark/ProjectHomeworld/homeworld/Linux/tools'
Making all in kas2c
make[3]: Entering directory `/home/mark/ProjectHomeworld/homeworld/Linux/tools/kas2c'
gcc -DHAVE_CONFIG_H -I. -I../../../tools/kas2c -I../..  -I../../../src/Game -D_LINUX_FIX_ME   -g -O2 -malign-double -D_X86 -D_LINUX_FIX_ME  -DHW_GAME_HOMEWORLD -DHW_BUILD_FOR_DISTRIBUTION -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT kas2c-parser.o -MD -MP -MF .deps/kas2c-parser.Tpo -c -o kas2c-parser.o `test -f 'parser.c' || echo '../../../tools/kas2c/'`parser.c
mv -f .deps/kas2c-parser.Tpo .deps/kas2c-parser.Po
/bin/bash ../../../config/ylwrap ../../../tools/kas2c/lexer.l .c lexer.c -- /bin/bash /home/mark/ProjectHomeworld/homeworld/config/missing --run flex  "-i"
make[3]: *** [lexer.c] Error 1
make[3]: Leaving directory `/home/mark/ProjectHomeworld/homeworld/Linux/tools/kas2c'


After a rather long "break" from hacking homeworld involving finding a new job and place to live I'd like to get back to trying to figure out ETG so it will work on ARMs (but not legs ;)

Mark


Top
 Profile  
 
PostPosted: Sun Mar 22, 2009 4:47 pm 
Offline

Joined: Sat Mar 29, 2008 11:06 am
Posts: 61
I've got round this problem for the moment by working out how to manually build this file. I guess something is wrong with the "ylwrap" or "missing" script. I've got a old version of the code and will compare and try to workout what's gone wrong.

Mark


Top
 Profile  
 
PostPosted: Tue May 26, 2009 3:41 pm 
Offline

Joined: Tue Oct 10, 2006 2:04 pm
Posts: 73
Location: North germany
I'm currently stuck there with Ubuntu, too.

_________________
.: The hardest punishment are the innocent eyes of a child searching for truth :.


Top
 Profile  
 
PostPosted: Fri Jan 01, 2010 10:24 am 
Offline

Joined: Sat Mar 29, 2008 11:06 am
Posts: 61
I found that problem is that if I run ./configure without bison installed then LEX_OUTPUT_ROOT gets left unset and this causes problems when it tries to compile the lexer. I think I might of got some message about not needing to recompile the lexer if it's not been modified, but even if this was right, as the compiled version isn't provided you will need bison anyway.

I would propose adding bison as a requirement to configure.ac so you get a useful message asking you to install something rather then this obscure script error.

I'll have a look into this next week :).


Top
 Profile  
 
PostPosted: Tue Sep 30, 2014 9:04 am 
Offline

Joined: Mon Jul 07, 2014 8:13 pm
Posts: 20
You are right, basicmark. Install bison and then run configure solved the problem.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group