Tremulous Forum

Mods => Modding Center => Topic started by: Bomb on July 17, 2008, 12:16:48 am

Title: [SOLVED] make-macosx-ub.sh
Post by: Bomb on July 17, 2008, 12:16:48 am
I'm trying to build a client from SVN 1100. It seems like make-macosx-ub.sh is the thing that makes a native Mac application. However, when I run it (via Terminal), I get the following:

Code: (Output) [Select]
grep: Makefile: No such file or directory
This script must be run from the Tremulous build directory
Building PPC Dedicated Server against "/Developer/SDKs/MacOSX10.4u.sdk"
Building PPC Client against "/Developer/SDKs/MacOSX10.4u.sdk"
Building X86 Client/Dedicated Server against "/Developer/SDKs/MacOSX10.4u.sdk"
WARNING: in order to build a binary with maximum compatibility you must
         build on Mac OS X 10.4 using Xcode 2.3 or 2.5 and have the
         MacOSX10.2.8, MacOSX10.3.9, and MacOSX10.4u SDKs installed
         from the Xcode install disk Packages folder.
Building Dedicated Server using /Developer/SDKs/MacOSX10.4u.sdk
make: *** No targets specified and no makefile found.  Stop.

Now, I know the first line is wrong. Makefile is right there next to the shell script!

I don't especially care about the rest of the output. Then I see the last line and wonder, "What the hell?" If there's a makefile, there should be targets! And there is a makefile, so I'm wondering what's going on with this.

I'm running Mac OS X 10.5.4 on a second-generation Intel MacBook. Does anyone know what my problem is, and if so, how might I go about fixing it?
Title: Re: make-macosx-ub.sh
Post by: David on July 17, 2008, 12:38:13 am
Did you change to the folder that its in before running it?
Title: Re: make-macosx-ub.sh
Post by: Bomb on July 17, 2008, 02:44:55 am
Um...

Wow, that was silly of me. I was just dragging the script into the Terminal window and hitting return.

CD-ing to it beforehand made it work. Thanks for the help!

[EDIT] Now all I have to do is get the client to stop crashing at startup...