<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_%28SLASH%27EM%29</id>
	<title>Compiling (SLASH'EM) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_%28SLASH%27EM%29"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Compiling_(SLASH%27EM)&amp;action=history"/>
	<updated>2026-07-22T05:53:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Compiling_(SLASH%27EM)&amp;diff=207069&amp;oldid=prev</id>
		<title>Umbire the Phantom: split to establish, correct as necessary</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Compiling_(SLASH%27EM)&amp;diff=207069&amp;oldid=prev"/>
		<updated>2026-07-22T00:42:45Z</updated>

		<summary type="html">&lt;p&gt;split to establish, correct as necessary&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains help on '''compiling SLASH'EM''' from its source code. &lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
In order to compile SLASH'EM on Linux, you need to make these general changes when following the instructions for [[Compiling (3.4.3)|compiling NetHack 3.4.3]].&lt;br /&gt;
&lt;br /&gt;
*Download the stuff you'll need.&lt;br /&gt;
 sudo apt-get install libncurses5-dev bison flex checkinstall make&lt;br /&gt;
&lt;br /&gt;
*From with in the source directory. Run the setup script.&lt;br /&gt;
 sh ./sys/unix/setup.sh&lt;br /&gt;
&lt;br /&gt;
*You'll need to further edit 4 files.&lt;br /&gt;
&lt;br /&gt;
 gedit ./include/config.h&lt;br /&gt;
&lt;br /&gt;
comment out lines 230, 231 with &amp;quot;/*&amp;quot; at the start of the line, and with &amp;quot;*/&amp;quot; at the end.&lt;br /&gt;
&lt;br /&gt;
replace line 234 with &amp;quot;# define COMPRESS &amp;quot;/bin/gzip&amp;quot;    /* FSF gzip compression */&amp;quot;&lt;br /&gt;
&lt;br /&gt;
replace line 235 with &amp;quot;# define COMPRESS_EXTENSION &amp;quot;.gz&amp;quot;	     /* normal gzip extension */&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gedit ./src/Makefile&lt;br /&gt;
&lt;br /&gt;
Comment out line 340. This &amp;quot;WINTTYLIB = -ltermlib&amp;quot;, should become this &amp;quot;#WINTTYLIB = -ltermlib&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
uncomment line 339. This&amp;quot;#WINTTYLIB = -lncurses&amp;quot;, should become this &amp;quot;WINTTYLIB = -lncurses&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 gedit ./util/Makefile&lt;br /&gt;
&lt;br /&gt;
uncomment line 108.&lt;br /&gt;
comment out line 105&lt;br /&gt;
&lt;br /&gt;
 gedit ./win/tty/termcap.c&lt;br /&gt;
&lt;br /&gt;
line 839, Replace the entire line with:&lt;br /&gt;
 extern char *tparm(NCURSES_CONST char *, ...);&lt;br /&gt;
&lt;br /&gt;
* Compile and install&lt;br /&gt;
 make ; sudo checkinstall&lt;br /&gt;
&lt;br /&gt;
*Easy uninstall with your regular package manager.&lt;br /&gt;
{{se-stub}}&lt;br /&gt;
{{slashem-7E7}}&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
</feed>