Author Topic: [SOLVED] make-macosx-ub.sh  (Read 3552 times)

Bomb

  • Guest
[SOLVED] make-macosx-ub.sh
« 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?
« Last Edit: July 17, 2008, 02:45:19 am by Bomb »

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: make-macosx-ub.sh
« Reply #1 on: July 17, 2008, 12:38:13 am »
Did you change to the folder that its in before running it?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bomb

  • Guest
Re: make-macosx-ub.sh
« Reply #2 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...
« Last Edit: July 17, 2008, 03:51:47 am by Bomb »