From: cohrs Date: Sat, 17 May 2003 20:35:07 +0000 (+0000) Subject: another README.linux update X-Git-Tag: MOVE2GIT~1988 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8e3cc2b7727bf1c532b91f33e441e3192f059e2;p=nethack another README.linux update Make the instructions a bit more blow-by-blow. Re-order them so they correspond to the Install.unx step numbers. Explicitly refer to Install.unx and Install.X11 where appropriate. --- diff --git a/sys/unix/README.linux b/sys/unix/README.linux index 5348b362b..5e420e86e 100644 --- a/sys/unix/README.linux +++ b/sys/unix/README.linux @@ -57,37 +57,47 @@ nethack-bugs@nethack.org -Steps used to build this binary release +Steps used to build this binary release, in addition to the basic +instructions found in sys/unix/Install.unx. The step numbers below +correspond to the step numbers in sys/unix/Install.unx. System: gcc-3.2, XFree86-libs-4.2.0, ncurses-5.2, glibc-2.2.93 (GLIBC_2.3) -0. Makefile.top: GAMEGRP = games - GAMEPERM = 02755 - FILEPERM = 0664 - EXEPERM = 0755 - DIRPERM = 0775 - VARDATND = x11tiles pet_mark.xbm rip.xpm +3. Edit include/config.h and include/unixconf.h + config.h: define X11_GRAPHICS window support. + define USE_XPM support. + define COMPRESS as /bin/gzip as that is where it + seems to reside on newer Linux's. + define COMPRESS_EXTENSION as ".gz" + define DLB + + unixconf.h: define LINUX + define TIMED_DELAY -1. Makefile.src: define LINUX and linux options throughout +6. Makefile.src: define modern, non-BSD Linux and linux options throughout + CC = gcc + LFLAGS = -L/usr/X11R6/lib WINSRC = $(WINTTYSRC) $(WINX11SRC) WINOBJ = $(WINTTYOBJ) $(WINX11OBJ) WINTTYLIB = /usr/lib/libncurses.a - Include Xpm libs in WINX11LIB + WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 WINLIB = $(WINTTYLIB) $(WINX11LIB) -2. Makefile.utl: define LINUX and linux options throughout + Makefile.utl: define modern, non-BSD Linux and linux options throughout Use bison/flex instead of yacc/lex + CC = gcc + LFLAGS = -L/usr/X11R6/lib + YACC = bison -y + LEX = flex -3. config.h: define X11 window support, XPM support. - define COMPRESS as /bin/gzip as that is where it - seems to reside on newer Linux's. - define COMPRESS_EXTENSION as ".gz" - define DLB - -4. unixconf.h: define LINUX - define TIMED_DELAY +7. Makefile.top: GAMEGRP = games + GAMEPERM = 02755 + FILEPERM = 0664 + EXEPERM = 0755 + DIRPERM = 0775 + VARDATND = x11tiles pet_mark.xbm rip.xpm -5. make all; su; make install + make all; su; make install -6. Convert nh10.bdf and ibm.bdf to proper font files and place in - font path. +9. Additional step: As discussed in win/X11/Install.X11, convert nh10.bdf + and ibm.bdf to proper font files and place in font path.