The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: itsthatguy on December 23, 2002, 02:44:09 am



Title: Dec 22nd cvs compile issue
Post by: itsthatguy on December 23, 2002, 02:44:09 am
I am trying to get uqm to compile on my little ibook running 10.2 and get this

./build.sh uqm                                                            
gcc -o obj/debug/./src/options.o -c  -I/sw/include/SDL -D_THREAD_SAFE -I/sw/inc                         l
ude/SDL -D_THREAD_SAFE -g -O0 -DGFXMODULE_SDL -DSOUNDMODULE_SDL -I/sw/include/S                         D
L -D_THREAD_SAFE -DHAVE_CONFIG_H -I src -I src/sc2code -I src/sc2code/libs src/                         o
ptions.c                                                                                                
src/options.c: In function `prepareConfigDir':                                                          
src/options.c:47: `CONFIGDIR' undeclared (first use in this function)                                    
src/options.c:47: (Each undeclared identifier is reported only once                                      
src/options.c:47: for each function it appears in.)                                                      
src/options.c: In function `prepareSaveDir':                                                            
src/options.c:63: `SAVEDIR' undeclared (first use in this function)                                      
src/options.c: In function `prepareMeleeDir':                                                            
src/options.c:79: `MELEEDIR' undeclared (first use in this function)                                    
make: *** [obj/debug/./src/options.o] Error 1  

The forum search was taking forever so I figured I would ask if anyone can help? Cheers


Title: Re: Dec 22nd cvs compile issue
Post by: meep-eep on December 23, 2002, 03:21:00 am
I suspect './build.sh uqm clean' once before compilation will solve that.


Title: Re: Dec 22nd cvs compile issue
Post by: itsthatguy on December 23, 2002, 04:23:28 am
Ok first part so far so good the ./build.sh uqm clean ran and now when I try to compile I get

./build.sh uqm                                                        
./build.sh: build/build.config: /bin/sh: bad interpreter: Permission denied

So I am not too sure what I have changed but it is still non fuctional...thanks and keep up the great work


Title: Re: Dec 22nd cvs compile issue
Post by: Nic. on December 23, 2002, 07:15:33 am
What are the permissions on build/build.sh?

Unrelated issue aside from the date:  Using today's build I was getting SEGVs when going into orbit around a planet; a clean rebuild cured the problem.

Pass it on.


Title: Re: Dec 22nd cvs compile issue
Post by: itsthatguy on December 23, 2002, 12:39:54 pm
Permissions on build.sh: I own it,  with execute read and write and my group has read and write and excuite ... blah,  So no luck


Title: Re: Dec 22nd cvs compile issue
Post by: Daniel on December 23, 2002, 07:29:48 pm
Quote
Ok first part so far so good the ./build.sh uqm clean ran and now when I try to compile I get

./build.sh uqm                                                        
./build.sh: build/build.config: /bin/sh: bad interpreter: Permission denied


That sounds to me like you somehow have a permission problem on /bin/sh...although I don't see how that could be.

Daniel


Title: Re: Dec 22nd cvs compile issue
Post by: itsthatguy on December 24, 2002, 01:22:02 am
just as an update, still getting

./build.sh uqm            
./build.sh: build/build.config: /bin/sh: bad interpreter: Permission denied

and still not sure how to fix that...it appears to me that my permissions are ine, so I have no idea, still


Title: Re: Dec 22nd cvs compile issue
Post by: Black Monk on December 24, 2002, 07:02:41 pm
Did you do any software updates lately using Apple's online updater?  I think after updates are applied you're supposed to run some permissions fixing tool, maybe that's part of the problem?  My experience with X is minimal so...