Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 4, 2020, 00:22   #1
davemcwish
Rookie
 
Join Date: Jun 2020
Posts: 2
davemcwish is on a distinguished road
macOS compiling for dummies

Hi all,

Since 4.1.3 I've not been able to get the pre-puilt binares to run on Mojave or Catalina. 4.2.0 didn't load and 4.2.1 just generates the menu structure.

I had thought 'well how easy would it be to build my own?' given the command line tools are installed and I know my way around git (from my day job); no I've not a developer let alone one that knows anything about package building in C.

I got as far as trying to do the make, by following this, but it seems to be missing the osx specific makefile. If I leave out the suffix I get:-


Code:
$ make -f Makefile
Makefile:2: mk/buildsys.mk: No such file or directory
make: *** No rule to make target `mk/buildsys.mk'.  Stop.
looking into the UNIX build doesn't help either

Code:
sh ./autogen.sh
*info* running aclocal (-I m4)
./autogen.sh: line 38: aclocal: command not found
*error* aclocal failed. (exit code = 127)
I'm sure they'll be lots who know the obvious answer so could anyone help ?
davemcwish is offline   Reply With Quote
Old June 4, 2020, 00:38   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,468
Donated: $60
Nick will become famous soon enough
I think you've missed the
Code:
cd src
from those instructions. If you run
Code:
make -f Makefile.osx
from the src directory, you should end up with an Angband.app in your top level directory; if you run
Code:
make -f Makefile.osx dist
you should get a .dmg file like the ones that get distributed (I know this works, because I had to do it to build the .dmg for 4.2.1 because I messed up the autobuild...).

Let me know if you still have difficulties.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 4, 2020, 21:56   #3
davemcwish
Rookie
 
Join Date: Jun 2020
Posts: 2
davemcwish is on a distinguished road
Thumbs up

Thanks. I was being a bit thick last night.
davemcwish is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HAlp )macOS version( Sky Vanilla 5 March 11, 2020 06:42
FAAngband MacOS Compiling Advice / Alternatives ItsRD Variants 2 May 2, 2019 03:13
Angband code for dummies? Timo Pietilš Development 21 July 21, 2010 14:05
PosBand for MacOS? Serith Variants 0 November 23, 2007 17:45
Updating Vanilla for dummies Dragonboneman Vanilla 7 August 12, 2007 22:12


All times are GMT +1. The time now is 15:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.