Mac Build?

AlPhA_DuDe
New member
Posts: 2
Joined: Tue Dec 04, 2012 22:13

Mac Build?

by AlPhA_DuDe » Post

Hi guys, been playing minetest for a while now. My computer broke, so I got a Mac. Used to have windows. Was wondering if anyone had a Mac build for 0.4.4. Anyone?

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Post


User avatar
dannydark
Member
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Post

There are a few people who have managed to get Minetest compile on Mac, currently there is no official build for Macs but these links will still hopefully be useful:

http://minetest.net/forum/viewtopic.php?id=3627
http://minetest.net/forum/viewtopic.php?id=2803
https://github.com/toabi/minetest-mac < Old but just might be useful

EDIT: Oh nice work OmniStudent, posted just a few seconds before me ^_^
Last edited by dannydark on Wed Dec 05, 2012 00:02, edited 1 time in total.

AlPhA_DuDe
New member
Posts: 2
Joined: Tue Dec 04, 2012 22:13

by AlPhA_DuDe » Post

Thanks guys. How do I install mods?

jpeng

by jpeng » Post

~/Library/Application Support/minetest

I'm doing some testing with minetest on my mac
http://www.mediafire.com/?8q46n3l2w7a7pgi

Currently you have to open up the minetest executable in the MacOS folder inside the package

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

hey guys i tried downloading the mac build but it wont open... help?

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

turns out the link is broken.... any help?

tux_peng

by tux_peng » Post

My current test build, randomly fails to start-- is http://www.mediafire.com/?z1t5vtv65pv52ov



My building process

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

4 people downloaded my build, I would like to know if it has worked
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

tux_peng wrote:4 people downloaded my build, I would like to know if it has worked
No it didnt for me... i click on the app and it doesnt start... do you know why this might be?

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

No, could you try to open the minetest executable in the MacOS directory; it was compiled on 10.8

Port is not high on my priority, I play on Linux. I provided my xcodeproj file for anyone to work on
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Post

What do you need IrishHillbilly?

It is the osx 0.4.4 version youre after, right?

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

OmniStudent -
Yes it is.

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Post

Here you are:

https://www.dropbox.com/sh/plcizci49g6gqjz/EncC8BtfAA

Its compiled 32bit on osx 10.6.

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

Thanks Omni

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

OmniStudent-
It stil does the same thing, when i click on the app it doesnt open on the dock at all... do you know why it could be doing this? Is it something with my Computer?

centaury

by centaury » Post

Hey there,

same here - when I try to run that build from the last link I get the following in my console:

15.12.12 16:29:35 com.apple.launchd.peruser.501[217] ([0x0-0x119119].celeron55.minetest[1905]) posix_spawn("/Applications/Games/minetest.app/Contents/MacOS/minetest", ...): Permission denied

and

15.12.12 16:29:35 com.apple.launchd.peruser.501[217] ([0x0-0x119119].celeron55.minetest[1905]) Exited with exit code: 1

No program window whatsover.

What permission is needed? What am I doing wrong?
Help is greatly appreciated! :-)

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Post

Sorry I don't know how to fix this. Are you all running 10.8 or some other version?

The solution may be doing an install on your own computer. For this you need xcode and macports, to start with.

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

You need to use dylibbunddler for your build to be distributable. You can fix the permission errors with

Code: Select all

chmod +x /Applications/minetest.app/Contents/MacOS/minetest
chmod +x /Applications/minetest.app/Contents/Resources/bin/minetest
chmod +x /Applications/minetest.app/Contents/Resources/bin/minetestserver
Last edited by tux_peng on Sat Dec 15, 2012 19:13, edited 1 time in total.
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

centaury

by centaury » Post

@tux_peng:
Thx, that let me start minetest.
(Note for other noobs: you might have to change the path accordingly and the command(s) won't give any confirmation back ;-) )

Now I ran into another error (I copied a part from the message):

Dyld Error Message:
Library not loaded: /opt/local/lib/libjpeg.8.dylib
Referenced from: ///Applications/Games/minetest.app/Contents/MacOS/../Resources/bin/minetest
Reason: image not found

Binary Images:
0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld

Centaury

by Centaury » Post

My last post might have come out wrong:
Of course it DIDN'T start, but the "no permission"-error didn't come up again, so it's different issue.

And I might add that the command(s) work and do change the permission even though they don't give a confirmation about that.

centaury

by centaury » Post

On another note:
how do you install the STK framework?

In their zip-files there are only folder structures with files in them (which actually IS the framework, I assume?). Where do I need to put these?

tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

@centaury

Yes you can do noting about the dependencies, tthe packager needs to use dylibbundler to fix those issues


For my build method- just copy the frameworks to /Library/Frameworks, and then copy them to /Applications/minetest.app/Contents/Frameworks when you are ready to distribute
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

IrishHillbilly007
New member
Posts: 7
Joined: Wed Dec 05, 2012 21:27

by IrishHillbilly007 » Post

i just gave up and downloaded wine, a software that can run windows programs

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

by OmniStudent » Post

tux_peng wrote:You need to use dylibbunddler for your build to be distributable. You can fix the permission errors with
Oh, I did not know this. Then my builds are unusable :(

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests