想玩nethack 奈何不会安装
2018-01-21 21:11 懦米虫 阅读(1884) 评论(0) 编辑 收藏 举报nethack下载地址 http://www.nethack.org/v360/download-src.html
安装参考教程 https://tieba.baidu.com/p/4183207534?red_tag=0200787513
http://www.bkjia.com/Linuxjc/1090400.html#comment
http://blog.csdn.net/hao119119/article/details/49123049
游戏操作教程 https://iakwings.github.io/test/posts/nethack-slashem/
https://tieba.baidu.com/p/1438247556?red_tag=2714749698
具体操作:1 准备工作 安装flex yacc(用bison代替) libncurses5-dev
sudo apt-get install flex sudo apt-get install bison sudo apt-get install libncurses5-dev
2 修改配置文件 编辑include/unixconf.h文件。将这行代码:
/* #define LINUX */
修改为这样的形式:
#define LINUX
3 安装
cd /home/leon/APP/nethack/nethack-3.6.0/sys/unix sh setup.sh hints/linux #不知道啥意思
cd /home/leon/APP/nethack/nethack-3.6.0 #由上一个目录可以直接cd ../.. make all su root make install
安装完成 没有报错 发现不会进入游戏 什么情况
leon@leon-Lenovo-TianYi-100-14IBD:~$ nethack 程序 'nethack' 已包含在下列软件包中: * nethack-console * nethack-x11 请尝试:sudo apt install <选定的软件包>
根据提示安装就可以了
sudo apt instal nethack-console
把编译过程复制在这里 可能有一天会看得懂~
leon@leon-Lenovo-TianYi-100-14IBD:~/APP/nethack/nethack-3.6.0$ make all ( cd src ; make ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../sys/share/unixtty.c ../sys/share/unixtty.c: In function ‘linux_mapon’: ../sys/share/unixtty.c:412:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(B", 3); ^ ../sys/share/unixtty.c: In function ‘linux_mapoff’: ../sys/share/unixtty.c:422:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(U", 3); ^ cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function ‘child’: ../sys/unix/unixunix.c:295:9: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^ ../sys/unix/unixunix.c:296:9: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^ ../sys/unix/unixunix.c:298:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^ cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../sys/unix/unixres.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../win/tty/getline.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../win/tty/termcap.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../win/tty/topl.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c ../win/tty/wintty.c ../util/makedefs -v cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/nethackdir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/nethackdir\" -c -o version.o version.c Loading ... cc -rdynamic -o nethack monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o version.o -lcurses nethack is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' ( cd util ; make recover ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o recover.o recover.c recover.c: In function ‘main’: recover.c:119:9: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^ recover.c:120:9: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^ recover.c: In function ‘restore_savefile’: recover.c:355:17: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^ cc -rdynamic -o recover recover.o make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd doc ; make Guidebook ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/doc' cat Guidebook.mn | ../util/makedefs --grep --input - --output - | tbl tmac.n - | nroff | col -bx > Guidebook warning: file `<standard input>', around line 257: table wider than line width warning: file `<standard input>', around line 2932: table wider than line width warning: file `<standard input>', around line 3523: table wider than line width make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/doc' ( cd dat ; make bogusmon ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -s make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make data ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -d make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make engrave ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make epitaph ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -h make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make options ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -q make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -r make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' yacc -d dgn_comp.y sed -e 's#"y.tab.c"#"dgn_yacc.c"#' -e 's#y.tab.c:#dgn_yacc.c:#' y.tab.c > dgn_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"dgn_comp.h"#' y.tab.h > ../include/dgn_comp.h \ && rm y.tab.h make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' lex.yy.c > dgn_lex.c \ && rm lex.yy.c cc -c -g -O -I../include -DNOTPARMDECL -DCOMPRESS="/bin/gzip" -DCOMPRESS_EXTENSION=".gz" -DDLB -DSYSCF -DSYSCF_FILE="/home/leon/nh/install/games/lib/dir/sysconf" -DSECURE -DHACKDIR="/home/leon/nh/install/games/lib/dir" dgn_lex.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o dgn_main.o dgn_main.c cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o panic.o panic.c cc -rdynamic -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' yacc -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o lev_yacc.o lev_yacc.c lex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' lex.yy.c > lev_lex.c \ && rm lex.yy.c cc -c -g -O -I../include -DNOTPARMDECL -DCOMPRESS="/bin/gzip" -DCOMPRESS_EXTENSION=".gz" -DDLB -DSYSCF -DSYSCF_FILE="/home/leon/nh/install/games/lib/dir/sysconf" -DSECURE -DHACKDIR="/home/leon/nh/install/games/lib/dir" lev_lex.c make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c -o lev_main.o lev_main.c cc -rdynamic -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' color, data file compression, data librarian, insurance files for make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0' ( cd util ; make dlb ) make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[3]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[3]: '../include/date.h' is up to date. make[3]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' cc -g -O -I../include -DNOTPARMDECL -DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" -DDLB -DSYSCF -DSYSCF_FILE=\"/home/leon/nh/install/games/lib/dir/sysconf\" -DSECURE -DHACKDIR=\"/home/leon/nh/install/games/lib/dir\" -c dlb_main.c cc -rdynamic -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0' true; Done. leon@leon-Lenovo-TianYi-100-14IBD:~/APP/nethack/nethack-3.6.0$ su root 密码: root@leon-Lenovo-TianYi-100-14IBD:/home/leon/APP/nethack/nethack-3.6.0# make install ( cd src ; make ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' nethack is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' ( cd util ; make recover ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; make bogusmon ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'bogusmon' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make data ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'data' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make engrave ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make epitaph ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'oracles' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make options ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'quest.dat' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'rumors' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'dungeon' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' true; if test -n '/root/nh/install/games'; then \ mkdir -p /root/nh/install/games; fi rm -rf /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir mkdir -p /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir/save if test -d ./-p; then rmdir ./-p; fi true /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir/save true /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir/save chmod 0755 /root/nh/install/games/lib/nethackdir chmod 0755 /root/nh/install/games/lib/nethackdir /root/nh/install/games/lib/nethackdir/save ( make dofiles ) make[1]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ make dofiles-${target-nodlb} make[2]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0' ( cd src ; make ) make[3]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' nethack is up to date. make[3]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' ( cd dat ; make options ) make[3]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/dat' color, data file compression, data librarian, insurance files for make[3]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0' ( cd util ; make dlb ) make[4]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/util' make[5]: Entering directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/src' make[4]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[3]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0' ( cd dat ; cp nhdat license /root/nh/install/games/lib/nethackdir ) ( cd /root/nh/install/games/lib/nethackdir ; true nhdat license ; \ true nhdat license ; \ chmod 0644 nhdat license ) make[2]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0' (cd dat ; cp symbols /root/nh/install/games/lib/nethackdir ) cp src/nethack /root/nh/install/games/lib/nethackdir cp util/recover /root/nh/install/games/lib/nethackdir if test -n '/root/nh/install/games'; then rm -f /root/nh/install/games/nethack; fi if test -n '/root/nh/install/games'; then \ sed -e 's;/usr/games/lib/nethackdir;/root/nh/install/games/lib/nethackdir;' \ -e 's;HACKDIR/nethack;HACKDIR/nethack;' \ < sys/unix/nethack.sh \ > /root/nh/install/games/nethack ; fi ( cd /root/nh/install/games/lib/nethackdir ; true nethack recover ; \ true nethack recover ) chmod 0755 /root/nh/install/games/lib/nethackdir/nethack chmod 0755 /root/nh/install/games/lib/nethackdir/recover if test -n '/root/nh/install/games'; then \ true /root/nh/install/games/nethack; fi if test -n '/root/nh/install/games'; then \ true /root/nh/install/games/nethack; \ chmod 0755 /root/nh/install/games/nethack; fi ( cd /root/nh/install/games/lib/nethackdir ; true symbols ; \ true symbols ; \ chmod 0644 symbols ) make[1]: Leaving directory '/home/leon/APP/nethack/nethack-3.6.0' touch /root/nh/install/games/lib/nethackdir/perm /root/nh/install/games/lib/nethackdir/record /root/nh/install/games/lib/nethackdir/logfile /root/nh/install/games/lib/nethackdir/xlogfile ( cd /root/nh/install/games/lib/nethackdir ; true perm record logfile xlogfile ; \ true perm record logfile xlogfile ; \ chmod 0600 perm record logfile xlogfile ) true; cp -n sys/unix/sysconf /root/nh/install/games/lib/nethackdir/sysconf; true /root/nh/install/games/lib/nethackdir/sysconf; true /root/nh/install/games/lib/nethackdir/sysconf; chmod 0600 /root/nh/install/games/lib/nethackdir/sysconf; You may also want to reinstall the man pages via the doc Makefile.