cd to lcc/src
perl -pi.bk -e 's/\r//' *.md
cd to code/game
perl -pi.bk -e 's/\r//' *.c *.h
open lcc/cpp/lex.c
Line 56: change to:
START, { ' ', '\t', '\v', '\r' }, WS1,
Line 170: change to:
WS1, { ' ', '\t', '\v', '\r' }, WS1,
Run cons. It'll choke on cg_servercmds.c. Open it and take remove the trailing '\' on lines 942 and 943. Re-run cons and it should run to completion. Hope that helps
Versions/Minimum Packages:
debian unstable (sid)
gcc/cpp/g++ 4.0.1-5
libc6/libc6-dev 2.3.5-3
perl/perl-modules 5.8.7-4
nasm 0.98.38-1.2
libx11-dev 6.8.2.dfsg.1-5
mesag3/mesag-dev 6.2.1-5
Steps
unzip -a quake3-1.32b-source.zip
cd quake3-1.32b
cd lcc && make all
cd ../q3asm && make
# time to edit ../code/Construct
# you need to take out -Werror from $BASE_CFLAGS (line 235?)
cd ../code && unix/cons
# running "make" in code simply redirects to cons
Running Q3!
Then copy/symbolic link in baseq3 from quake3 somewhere (I put it in code/install 'cause I'm slack)
and run code/install/linuxquake3