With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Old WQ3 forum - archived. Links may not work.

Compiling standalone Q3 on Ubuntu Linux

Postby dolny » Sat Feb 18, 2006 7:42 pm

sig11 could you help me compile the saq3 on my Ubuntu?

I have installed cons, scons, nasm and gcc but after issuing the make command I get:

Code: Select all
neurolunatic@lunatic:~/gry/saq3/code$ sudo make
if [ `hostname` == sparkle ] ; then ./unix/pcons-2.3.1 -j4 -- novm noso ; else ./unix/cons ; fi
/bin/sh: ./unix/cons: Permission denied
make: *** [all] Error 126


Weird... I'm using sudo so I should have the permissions.

I hope you don't mind me starting this thread here.
Proud member of the HorseLovers clan.

Red Neckerson wrote:Oh and don't let dolny annoy you...he's a fanatic!
dolny
Gunslinger
 
Posts: 205
Joined: Sat Mar 29, 2003 2:11 am
Location: Poland



Postby L3th4l » Sat Feb 18, 2006 7:50 pm

**Thread Moved**

Belongs in Help Forum..

Thanks..
User avatar
L3th4l
Smokin' Amigo!
 
Posts: 1948
Joined: Sat Jun 18, 2005 8:06 am
Location: Binghamton, NY. USA



Postby sig11 » Sun Feb 19, 2006 3:58 am

dolny, is unix/cons executable ? Try
Code: Select all
chmod a+x unix/cons

and see if it works then. However, this may fail later on ;-) ... because the default target is "development" which will probably fail (only because of warnings). Instead try
Code: Select all
./unix/cons -- release

instead of "make"
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany



Postby DeUgli » Sun Mar 25, 2007 10:53 pm

Dolny, did you get this to work? I just installed ubuntu on my second, older machine. My linux knowledge is almost nothing, and I haven't been able to work out how to do the makefile from the downloaded wq3 standalone. Would anyone care to post a short tutorial, or else the makefile script? Failing that, can someone point me to a Linux For Dummies site that can walk me through it? (I do have the Linux In A Nutshell book, but I still have gaps in my knowledge.

Thanks!
User avatar
DeUgli
Smokin' Amigo!
 
Posts: 280
Joined: Sat Nov 05, 2005 12:29 am
Location: Seattle WA, USA



Postby hika » Mon Mar 26, 2007 12:55 am

DeUgli wrote:I haven't been able to work out how to do the makefile from the downloaded wq3 standalone.

Oh, are you talking about the standalone Q3 engine or the standalone WQ3 engine ?
In the latter case, I'm surprised that you have it.
Anyway, here is my makefile that is basically executing cons script :
Code: Select all
#######################################
# Makefile interface for cons
#######################################

all:
        @echo "==> Making WQ3 Engine"
        cd ./code && ./unix/cons
novm:
        @echo "==> Making WQ3 Engine without VM and shared object"
        cd ./code && ./unix/cons -- noso novm

Replace beginning whitespaces by tabs.

The most important thing is to have ./unix/cons executable flags and to have your working directory to code.
For example, cd ./code/unix && ./cons won't work (from what I remember)

By the way, can you show us what message you had ?
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby ReD NeCKersoN » Mon Mar 26, 2007 1:00 am

hika wrote:Oh, are you talking about the standalone Q3 engine or the standalone WQ3 engine ?
In the latter case, I'm surprised that you have it.

He is a tester, so he has the test files. :wink:
User avatar
ReD NeCKersoN
SG Team
 
Posts: 3245
Joined: Wed Mar 27, 2002 6:22 am
Location: VA, USA



Postby hika » Mon Mar 26, 2007 8:28 pm

Oh, in that case, I probably missed something, because, if I remember well, the only place I know where to get standalone WQ3 engine source files is sig11's CVS repository.
I thought that only the standalone WQ3 engine binaries are available for testers :oops:
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France



Postby ReD NeCKersoN » Mon Mar 26, 2007 10:01 pm

What I meant to say was "He only has access to the same files as the rest of the testers." Sorry for the confusion.
User avatar
ReD NeCKersoN
SG Team
 
Posts: 3245
Joined: Wed Mar 27, 2002 6:22 am
Location: VA, USA



Postby hika » Mon Mar 26, 2007 11:28 pm

ReD NeCKersoN wrote:Sorry for the confusion.

and ... sorry to not have mention the wq3 engine source files, earlier :oops:
SG name: Manchot
SG fansite: http://western.bsdmon.com
Image
userbar originally created by Caffeine
User avatar
hika
SG Team
 
Posts: 703
Joined: Thu May 25, 2006 2:32 pm
Location: Trévoux, France




Return to Help Forum

Show Sidebar
Show Sidebar

User Control Panel

cron