Hi,
I have no mac, so I can't test, but here's what I got with a few
search engine requests:
- The C compiler - searching "osx install gcc"
https://medium.com/kr-projects/6e54e8c50dc8 So either install XCode, or install the lighter "Command Line Tools
for Xcode"
- The dependencies - searching "port install sdl-ttf"
http://wiki.themanaworld.org/index.php/MacOSX_port TheManaWorld is a different game, but it relies on the same
technologies as FreeDink.
As far as I understand, it first get SDL from the official website,
then gets additional game libraries using macport. Not sure why
they don't grab everything from macport...
- Suggestion: use Davide's old version by typing
sudo port -d sync
and
sudo port install freedink
in a terminal.
This should install everything you need (except the compiler).
Then compile the newer version as you did below, so it will upgrade.
- In case this doesn't work, The file "BUILD" in the source archive
also provides instructions for various GNU/Linux distributions. You
can get inspiration from this, because macport is inspired by the
GNU/Linux packaging systems (e.g. the same of the packages should be
similar).
At first glance, I'd say the complete dependency list is:
sudo port -d sync
sudo port install pkgconfig libsdl libsdl_gfx libsdl_ttf libsdl_image libsdl_mixer fontconfig libzip zip
People at the MacPort forums may be able to help too.
Cheers!
Sylvain
On Mon, Jun 03, 2013 at 10:40:54AM +1000, Simon Klaebe wrote:
Hi,
Yeah I found that page, but couldn't see any relevant files. as such. Something called patch-configure.diff and patch-src-paths.c.diff
I have d'loaded the frredink vers 120121209 and tried running the ./configure in a terminal shell, but I get the following error messages. I'm guessing it can't find a compiler (amongst other things). I did download MacPorts, but not sure what to do with it. Any help or pointers you can give would be great.
192-168-1-3:freedink-1.08.20121209 simonklaebe$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking build system type... i386-apple-darwin11.4.2
checking host system type... i386-apple-darwin11.4.2
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Users/simonklaebe/Downloads/freedink-1.08.20121209':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Thanks again.
Simon
On 01/06/2013, at 11:42 PM, Sylvain wrote:
Hi Simon, long time no see :)
Giovanni Davide (in Cc:) made a MacPort package for FreeDink and
FreeDinkedit but it's terribly outdated now:
http://www.gnu.org/software/freedink/get-distros#packages-os-x
See this message in the archive to see what Davide did (compiling from
source after installing the libSDL dependencies from MacPort):
http://lists.gnu.org/archive/html/bug-freedink/2009-03/msg00000.html
- Sylvain
On Fri, May 31, 2013 at 01:24:59PM +1000, Simon Klaebe wrote:
Hi,
How do I set up FreeDinkEdit etc on Mac? Not sure what I have to compile or whatever. Any help you can give would be great. I'm running Lion. I have DinkSmallwood HD and that works, but have thought about the whole Dink DMOD creation side of things.
Thanks,
Simon