Forum:Building Nethack on OS X for Dummy

From NetHackWiki
Revision as of 06:42, 23 May 2018 by Rockola (talk | contribs)
Jump to navigation Jump to search


Hello friends! Is anyone interested in writing a walkthrough of building 3.6.1 on Mac OS X? Been looking forward to having Status Hilites with 3.6.1 after failing to figure out how to build 3.6.0, only to find that's the only option with 3.6.1! Also just for the sake of being able to use the new version (who doesn't want to tame monkeys with bananas?).

Cheers, TK (talk) 02:43, 18 May 2018 (UTC)

Install XCode

Open Terminal, type the following:

git clone https://github.com/NetHack/NetHack.git

cd NetHack/sys/unix

sh setup.sh hints/macosx

cd ../..; make all; make install

——Rockola (talk) 16:59, 22 May 2018 (UTC)

Thank you! I'm in your debt, mate. I just tried doing all that, but I think I must still be missing something. There are a bunch of new files, but I'm not sure how to run the new NetHack. I tried the NetHackTerm application that already existed on my computer, and got the error message "Unable to open SYSCF_FILE." Any thoughts?

Best, TK (talk) 22:48, 22 May 2018 (UTC)

Interesting. I believe this is a bug in the current development version of NetHack that is in git. Not sure what the correct fix is; however, you can get past this by editing include/config.h - remove line 193, where it says

#define SYSCF                /* use a global configuration */

Then, in the .../NetHack directory, do

make clean; make all; make install

and see if that helped.

--Rockola (talk) 06:41, 23 May 2018 (UTC)