Difference between revisions of "Forum:Building Nethack on OS X for Dummy"

From NetHackWiki
Jump to navigation Jump to search
(Q2)
(Clarification)
Line 49: Line 49:
 
Best,
 
Best,
 
[[User:TK|TK]] ([[User talk:TK|talk]]) 15:46, 23 May 2018 (UTC)
 
[[User:TK|TK]] ([[User talk:TK|talk]]) 15:46, 23 May 2018 (UTC)
 +
 +
 +
I am very cautious with terminal, since one of my friends once cleared part of a file I was working on by accident.  I don't want to do anything I'm not supposed to!
 +
 +
Best,
 +
[[User:TK|TK]] ([[User talk:TK|talk]]) 15:58, 23 May 2018 (UTC)

Revision as of 15:59, 23 May 2018


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)

Hmm. How do I do something in the .../NetHack directory? Thanks!!

Best, TK (talk) 15:46, 23 May 2018 (UTC)


I am very cautious with terminal, since one of my friends once cleared part of a file I was working on by accident. I don't want to do anything I'm not supposed to!

Best, TK (talk) 15:58, 23 May 2018 (UTC)