Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  How to build client for Macintosh OSX  (Read 10973 times)

0 Members and 0 Guests are viewing this topic.

Humbaba

« on: 03, August 2005, 19:16:09 »
Ok, when I saw that it was supposed to be cross-platform but there wasn't a Mac OSX binary I figured I'd give building it from source a quick try.  Mind you I am not a developer.

Here's what I did for Mac OS X 10.4.2 (Tiger).

First you need to have Xcode installed so you can compile things.

Next I downloaded the Daimonin Linux source and double-clicked on it to expand it.

It requires SDL, huh?  I downloaded the SDL runtime libs (1.2.8) from http://www.libsdl.org/download-1.2.php for Mac OSX.

Double-clicked on the SDL-1.2.8.pkg.tar.gz to expand it, and double-click on the SDL.pkg file to run it.  Follow the steps of this installer to install.

Start up Terminal.app

cd into your Daimonin directory

cd client/make/linux

./configure --build=ppc

make all

make install

cd back to the Daimonin directory, there will be a new directory called client-BETA3-0.966

cd client-BETA3-0.966

./daimonin

Worked like a charm!  I have no idea how to turn this into a distributable binary, unfortunately.

drwho4

« Reply #1 on: 10, August 2005, 01:34:50 »
I too am running 10.4.2, I have installed xcode & the SDLs. I get all the way to the stge where you start doing the makes & it spits out a bunch of errors. Any idea what I may have done wrong?

Gecko

« Reply #2 on: 10, August 2005, 03:51:11 »
You probably also need the SDL developer libs. See further down on the page Humbaba linked to
Daimonin developer, admin and moderator.

Humbaba

« Reply #3 on: 12, August 2005, 17:34:45 »
I only downloaded the SDL runtime libs, not the developer libs and it worked for me.

What were the errors?

Amnesty

« Reply #4 on: 06, September 2005, 14:50:47 »
So there is no way to play Diamonin on a Mac OSX 10.2.8?


No Pain, no gain.

Cheristheus

« Reply #5 on: 06, September 2005, 22:32:26 »
I'm pretty sure building Daimonin on Mac OS X 10.2.8 works pretty the same as for 10.4.2.
Anyway, I'd recommend you upgrading your OS regularly, whatever it is (wether Mac, Linux, Windows, BSD or whatever). New versions usually also include fixes for security problems which aren't always provided for older versions.
Cher :)

Amnesty

« Reply #6 on: 06, September 2005, 23:43:26 »
I have been trying to find a download link for Xcode version 1.5 and i cant find it anywhere, the apple sites are stupid, they only have downloads for their latest products and i cant seem to find it anywhere, can anyone help?


No Pain, no gain.

73h_m4k0

« Reply #7 on: 22, September 2005, 01:55:11 »
yeah, I'm getting the same problem where you type "make all" and it just spits out errors like crazy. Any ideas?

oh, and I tried downloading the developer version as well.

Cheristheus

« Reply #8 on: 22, September 2005, 21:26:55 »
Well, to get help you gotta supply us with at least one of these:
  • A glass sphere +1 (magical) (clairvoyance)
  • More information, like *what* errors.
Cher :)

goeskies24

« Reply #9 on: 14, October 2005, 06:06:41 »
Quote from: "Cheristheus"
Well, to get help you gotta supply us with at least one of these:
  • A glass sphere +1 (magical) (clairvoyance)
  • More information, like *what* errors.
Well, first when running configure I get

checking for sdl-config... ./configure: line 2749: error:: command not found
no

Even though I installed sdl (I've tried 1.2.9 and 1.2.8).
Then at least the first bunch of errors when trying make all seem to be that it can't find SDL.

Gecko

« Reply #10 on: 14, October 2005, 08:07:11 »
1. Make sure you are using the configure script in client/make/linux2 in the CVS client
2. Make sure you have installed the SDL developer libraries
Daimonin developer, admin and moderator.

CharlotteG

« Reply #11 on: 13, November 2005, 03:36:12 »
Argh!
I can't get terminal to agree with me and give me permission...
Quote
Last login: Sat Nov 12 13:50:22 on ttyp1
Welcome to Darwin!
[spork:~] carolyn% cd /daimonin/
[spork:/daimonin] carolyn% cd client/make/linux
[spork:client/make/linux] carolyn% ./configure --build=ppc
tcsh: ./configure: Permission denied.
[spork:client/make/linux] carolyn% ./configure --build=ppc
tcsh: ./configure: Permission denied.
[spork:client/make/linux] carolyn%

I've installed XCode and the linux client and the SDL developer libraries.
I'm not sure what I'm doing wrong, can someone help?
I even tried all this in root, and it still won't give me permission...

On a side note, I'm watching the director's commentary for Fight Club right now...

Gecko

« Reply #12 on: 13, November 2005, 12:41:40 »
The configure script lacks the executable flag, due to a packaging mistake. You need to run it as
Code: [Select]
sh ./configure --build=ppc
(this is explained in the readmes)
Daimonin developer, admin and moderator.

CharlotteG

« Reply #13 on: 14, November 2005, 03:43:21 »
Darnit, I thought I was all set, and then I ran into another error!
Quote
[spork:client/make/linux] carolyn% sh ./configure --build=ppc
checking build system type... powerpc-unknown-none
checking host system type... powerpc-unknown-none
checking target system type... powerpc-unknown-none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

What does this mean and, more importantly, how do I fix it?
Thanks!

longir

« Reply #14 on: 14, November 2005, 06:23:29 »
add the path to your c compiler to your path.  PATH=($PATH, PATH/TO/COMPILER) or some similar statement.
DM
Dev Team Member
Site Admin

Mostly retired from playing

Tags:
 

Related Topics

  Subject / Started by Replies Last post
4 Replies
962 Views
Last post 25, September 2006, 02:38:37
by Naomeire
11 Replies
4082 Views
Last post 05, April 2009, 01:55:30
by willy
2 Replies
3976 Views
Last post 20, December 2010, 07:36:42
by grunty
33 Replies
5892 Views
Last post 31, May 2011, 13:32:25
by clobber
7 Replies
245 Views
Last post 17, February 2023, 19:19:24
by Shroud