Mac Build?

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

Mac Build?

by AlPhA_DuDe » Tue Dec 04, 2012 22:18

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
 

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

by dannydark » Wed Dec 05, 2012 00:01

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 » Wed Dec 05, 2012 03:00

Thanks guys. How do I install mods?
 

jpeng
 

by jpeng » Wed Dec 05, 2012 05:33

~/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 » Wed Dec 05, 2012 21:29

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 » Wed Dec 05, 2012 22:05

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

tux_peng
 

by tux_peng » Thu Dec 06, 2012 02:26

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 » Fri Dec 07, 2012 20:20

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 » Sun Dec 09, 2012 14:03

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 » Tue Dec 11, 2012 23:13

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 » Wed Dec 12, 2012 11:45

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
 

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

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

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

by IrishHillbilly007 » Sat Dec 15, 2012 15:36

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 » Sat Dec 15, 2012 15:38

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 » Sat Dec 15, 2012 18:19

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 » Sat Dec 15, 2012 19:08

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 » Sat Dec 15, 2012 20:19

@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 » Sat Dec 15, 2012 21:24

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 » Sat Dec 15, 2012 21:52

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 » Sat Dec 15, 2012 23:46

@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 » Sun Dec 16, 2012 04:50

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 » Sun Dec 16, 2012 05:44

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 :(
 

Next

Return to General Discussion



Who is online

Users browsing this forum: No registered users and 5 guests