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

by OmniStudent » Wed Dec 05, 2012 00:00

 

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

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

by IrishHillbilly007 » Thu Dec 13, 2012 18:24

OmniStudent -
Yes it is.
 

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

by OmniStudent » Thu Dec 13, 2012 19:27

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

Thanks Omni
 

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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 :(
 

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

by tux_peng » Sun Dec 16, 2012 19:35

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


It took me a while to learn that. I have worked on porting lincity-ng, pingus, defenguin, supertuxkart & other games in the past. I was lost until someone named Auria (currently one of the leaders of supertuxkart) helped me out.

What version of osx are you running?

You might want to check out my xcodeproj, I think I have it pretty close to compiling with frameworks only
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 » Mon Dec 17, 2012 06:29

Thanks for the tip, this would have taken me ages to figure out on my own. I have looked at dylibbbundler and will probably use it in this week.

I'm running 10.6 and won't change until my uber-mac-savvy bro tells me to.

Link to your xcode project please?
 

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

by tux_peng » Mon Dec 17, 2012 21:53

It will need some adjusting, and I do not know if it will open for you; I'll help out if I can

http://minetest.net/forum/viewtopic.php?pid=55239#p55239

Tell me if anything needs reuploading
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 » Tue Dec 18, 2012 08:00

Oh, it was that one you published here :)
 

User avatar
ch98
Member
 
Posts: 463
Joined: Wed Jan 02, 2013 06:14

by ch98 » Wed Mar 06, 2013 00:05

Is it possible to make one for mac 10.4 ppc?
Mudslide mod Click Here
 

Next

Return to Minetest General

Who is online

Users browsing this forum: No registered users and 3 guests

cron