[macOS] Neoascetic's nightly builds and others

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Sun Jun 08, 2014 14:36

ewbte wrote:Hello, game crashes at startup with a message: "minetest quits unexpectedly"
mbp retina late 2012
(...)
OS Version: Mac OS X 10.8.5 (12F45)


You need OS X 10.9 Mavericks for this binary to work.
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Sun Jun 08, 2014 15:01

Is there any other ways to do it? Not going to upgrade to mavericks. Did it once, downgraded next day.
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Sun Jun 08, 2014 19:31

Yes, you could compile it yourself as the first post says. You would need to install XCode and several dependencies (easily done with Homebrew) and then use my build script from GitHub. It should not be that difficult to do, but you need enough free hard disk space and patience for the huge XCode download. :-)
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Sun Jun 08, 2014 19:52

It should not be that difficult to do

for a programmer or for a photographer? D:
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Sun Jun 08, 2014 21:40

ewbte wrote:
It should not be that difficult to do

for a programmer or for a photographer? D:


Let's just say a photographer who can read and follow instructions will probably get a build more quickly than a know-it-all programmer who skips the README file entirely. :-)
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Mon Jun 09, 2014 07:21

Dancing with it already more than a hour. Don't understand what to do :<
Even information in readme file, what? where? @_@

Guess I need instruction for dummies haha. "Step By Step" with images and etc.
Whatever, I don't think it is worth to spend your time on me. Will wait until a release for the upcoming OS X (hope it will work better than mavericks).

Thank you,
c:
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Mon Jun 09, 2014 12:36

ewbte wrote:Dancing with it already more than a hour. Don't understand what to do :<
Even information in readme file, what? where? @_@:


https://github.com/mdoege/mtmake-osx/bl ... /README.md
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Mon Jun 09, 2014 17:50

yes I readed it, but it is not so obvious to understand what to do and how for a regular user.
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Mon Jun 09, 2014 19:15

1. brew install cmake freetype gettext hiredis irrlicht jpeg leveldb libogg libvorbis luajit
(I don't know if you can install everything at once like that or if you have to do "brew install cmake", "brew install freetype",...)

2. Install XCode from the Apple Store

3. git clone https://github.com/mdoege/mtmake-osx
cd mtmake-osx
bash make_mac.sh
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Tue Jun 10, 2014 07:08

okay, i'm trying again, hope i understood right, and all work done in terminal?
1. installed homebrew, and did run command you said, everything installed.
2. installed xcode, did run it once, to check if it work (do i need to you it apart?)
3. ..
Code: Select all
$ git clone https://github.com/mdoege/mtmake-osx
-bash: git: command not found


ps. i don't know any basics, i'll repeat that everything obvious to you is not so obvious to me. so i'm mostly do it by intuition.. for example i've got to get to that the first step must be done in terminal and only after i'll install homebrew
pps. it is really cool that you romp with me hehe.
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Tue Jun 10, 2014 08:41

Looks like you need to install git too: "brew install git"

I think on Mavericks git is installed by default. At least I did not have to install it. Mountain Lion might have been different.

ewbte wrote:pps. it is really cool that you romp with me hehe.


It's very useful for me, because this way I can see how I need to improve my installation instructions. :-)
 

theoluk
Member
 
Posts: 21
Joined: Sun May 11, 2014 18:24

Re: Morn76's Minetest OS X Mavericks builds

by theoluk » Tue Jun 10, 2014 14:42

There is no mods folder in ~/Library/Application Support/Minetest
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Tue Jun 10, 2014 16:08

theoluk wrote:There is no mods folder in ~/Library/Application Support/Minetest


You have to create that folder yourself I think.
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Tue Jun 10, 2014 16:25

okay, i've done 3 steps, now what to do where to go? :>
 

theoluk
Member
 
Posts: 21
Joined: Sun May 11, 2014 18:24

Re: Morn76's Minetest OS X Mavericks builds

by theoluk » Tue Jun 10, 2014 19:29

I created the mods folder, and the mod shows up in the mods tab, but the Items do not appear in the game.

(Trying to install mesecons)
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Tue Jun 10, 2014 21:02

ewbte wrote:okay, i've done 3 steps, now what to do where to go? :>


Did compilation work? If so you should now have an updated MT app in the releases folder. Copy that to your Applications folder and you should be done I think.

theoluk wrote:I created the mods folder, and the mod shows up in the mods tab, but the Items do not appear in the game.


Did you activate the mod in the world's Configure menu?
 

theoluk
Member
 
Posts: 21
Joined: Sun May 11, 2014 18:24
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Wed Jun 11, 2014 06:14

It now says something about version of OS X problem.. (with your build it did just say that app quited)
Code: Select all
Process:         minetest [257]
Path:            /Applications/minetest.app/Contents/MacOS/minetest
Identifier:      celeron55.minetest
Version:         ???
Code Type:       X86-64 (Native)
Parent Process:  launchd [130]
User ID:         501

Date/Time:       2014-06-11 10:13:41.762 +0400
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Interval Since Last Report:          8224355 sec
Crashes Since Last Report:           58
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      95B26BD6-674E-2354-FEE1-1CF8E0ADBBDB

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @executable_path/../../libs/libpng15.15.dylib
  Referenced from: /Volumes/VOLUME//Applications/minetest.app/Contents/MacOS/../Resources/bin/minetest
  Reason: image not found

Binary Images:
       0x1067c7000 -        0x106dbafff +minetest (0) <D19B2626-F8EC-3826-A8B0-ED38670A63DA> /Applications/minetest.app/Contents/Resources/bin/minetest
       0x1071a8000 -        0x1071adfff  com.apple.agl (3.2.1 - AGL-3.2.1) <57EC66DD-031A-3A8E-B067-72DB72B405E7> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
       0x1071ba000 -        0x1071e6ff7 +libjpeg.8.dylib (0) <ED8F5F52-AADA-37F6-B58D-5D001D6B0580> /Applications/minetest.app/Contents/libs/libjpeg.8.dylib
    0x7fff663c7000 -     0x7fff663fb94f  dyld (210.2.3) <8958FE97-5830-3928-BC38-23136E7D3783> /usr/lib/dyld
    0x7fff8c7dc000 -     0x7fff8c7e9fff  libbz2.1.0.dylib (29) <CE9785E8-B535-3504-B392-82F0064D9AF2> /usr/lib/libbz2.1.0.dylib
    0x7fff8e753000 -     0x7fff8e765ff7  libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff93ac4000 -     0x7fff93ad3fff  com.apple.opengl (1.8.10 - 1.8.10) <AD49CF56-B7C1-3598-8610-58532FC41345> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL

Model: MacBookPro10,2, BootROM MBP102.0106.B03, 2 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 2.6f59
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 768 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10F), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.7f2 12718, 3 service, 13 devices, 3 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM128E, 121.33 GB
USB Device: Touro Mobile Pro, 0x4971, 0x1012, 0x15300000 / 2
USB Device: USB Laser Mouse, 0x046d  (Logitech Inc.), 0xc062, 0x14100000 / 1
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424  (SMSC), 0x2512, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x025a, 0x1d182000 / 5
USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x828c, 0x1d181300 / 7
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Wed Jun 11, 2014 08:25

I think you need to run "bash build_libs.sh" (in the releases folder) to update the dynamic libraries inside the MT app bundle.

The error message says "image not found" for libpng15.15, so I assume it's a library version mismatch for libpng. We are already at libpng16.16 I think.
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Wed Jun 11, 2014 10:26

Code: Select all
Hello:releases Hello$ bash build_libs.sh
cp: ../minetest-git/bin/minetest: No such file or directory
* Collecting dependenciessh: otool: command not found
Cannot find file minetest to read its dependencies
rm: minetest: No such file or directory
build_libs.sh: line 18: install_name_tool: command not found
*** The following command should not print anything.
*** If it does, please fix the offending library with install_name_tool!
build_libs.sh: line 23: cd: minetest.app/Contents/libs: No such file or directory
build_libs.sh: line 24: otool: command not found
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Wed Jun 11, 2014 11:29

ewbte wrote:cp: ../minetest-git/bin/minetest: No such file or directory


Looks like the MT binary is not where it should be. Are you sure compilation was successful? Normally the compiled binary should be in minetest-git/bin/

Without a binary build_libs.sh doesn't work.
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Wed Jun 11, 2014 12:31

It is in releases just as you said before.
I've made all steps again:
Code: Select all
Last login: Wed Jun 11 14:25:18 on ttys000
Hello:~ Hello$ git clone https://github.com/mdoege/mtmake-osx
Cloning into 'mtmake-osx'...
remote: Reusing existing pack: 241, done.
remote: Total 241 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (241/241), 19.92 MiB | 937.00 KiB/s, done.
Resolving deltas: 100% (67/67), done.
Checking connectivity... done.
Hello:~ Hello$ cd mtmake-osx
Hello:mtmake-osx Hello$ bash make_mac.sh
Cloning into 'minetest-git'...
remote: Reusing existing pack: 24941, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 24946 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (24946/24946), 23.12 MiB | 691.00 KiB/s, done.
Resolving deltas: 100% (16536/16536), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
patching file CMakeLists.txt
patching file src/CMakeLists.txt
patching file src/jthread/jevent.h
patching file src/jthread/jsemaphore.h
patching file src/jthread/pthread/jevent.cpp
patching file src/jthread/pthread/jsemaphore.cpp
patching file src/porting.cpp
patching file src/porting.h
Hunk #1 succeeded at 123 (offset 2 lines).
Hunk #2 succeeded at 227 (offset 4 lines).
Hunk #3 succeeded at 256 (offset 4 lines).
patching file cmake/Modules/FindGettextLib.cmake
patching file src/CMakeLists.txt
Hunk #1 succeeded at 523 (offset 1 line).
patching file src/CMakeLists.txt
Hunk #1 succeeded at 615 (offset 1 line).
patching file src/jthread/jsemaphore.h
patching file src/jthread/pthread/jsemaphore.cpp
patching file src/CMakeLists.txt
Hunk #1 succeeded at 633 (offset 1 line).
patching file store.lua
-- The C compiler identification is Clang 5.1.0
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Will build version 0.4.9-dev ***
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/local/include/irrlicht
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a 
-- CURL_INCLUDE_DIR = CURL_INCLUDE_DIR-NOTFOUND
-- CURL_LIBRARY = /usr/lib/libcurl.dylib
-- CURL_DLL =
-- gettext include path: /usr/local/opt/gettext/include
-- gettext msgfmt path: /usr/local/opt/gettext/bin/msgfmt
-- GetText enabled; locales found: be;cs;da;de;es;et;fr;hu;it;ja;ko;ky;lt;nb;nl;pl;pt;pt_BR;ro;ru;uk;zh_CN
-- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenAL.framework 
-- Found VORBIS: /usr/local/include 
-- Sound enabled
CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindX11.cmake:427 (message):
  Could not find X11
Call Stack (most recent call first):
  src/CMakeLists.txt:147 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/Hello/mtmake-osx/minetest-git/CMakeFiles/CMakeOutput.log".
make_mac.sh: line 31: make: command not found
make_mac.sh: line 32: make: command not found
cp: bin/minetest: No such file or directory
* Collecting dependenciessh: otool: command not found
Cannot find file minetest.app/Contents/Resources/bin/minetest to read its dependencies
======== otool =======
make_mac.sh: line 41: otool: command not found
Cloning into 'minetest.app/Contents/Resources/bin/share/games/minetest_game'...
remote: Reusing existing pack: 2124, done.
remote: Total 2124 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2124/2124), 1.88 MiB | 428.00 KiB/s, done.
Resolving deltas: 100% (902/902), done.
Checking connectivity... done.
Already up-to-date.
cp: ../minetest-git/locale: No such file or directory
-----and after that a lot of things were "added"-----
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Wed Jun 11, 2014 12:43

ewbte wrote:CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindX11.cmake:427 (message):
Could not find X11


Looks like you need X11 installed. Interesting, I was not sure if this is needed, but apparently it is. Install the DMG from http://xquartz.macosforge.org/ and run make_mac.sh again.
 

Morn76
Member
 
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Wed Jun 11, 2014 15:02

I've updated the binary to the latest git version (20140610.9675d9e).
 

ewbte
Member
 
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Wed Jun 11, 2014 19:24

guess new instruction will contain a part with "must have:"
hehe. I'll let you know tomorrow about the results, downloading xcode now and going sleep.
 

PreviousNext

Return to Builds



Who is online

Users browsing this forum: No registered users and 1 guest