How to get Suckless st and dwm running on NetBSD
Table of Contents
Unlike on OpenBSD and FreeBSD, where you have to uncomment a few lines to get dwm and st running, on NetBSD the process is slightly more complicated on NetBSD. To compile dwm, go into your `config.mk` (not `config.h`) and change these lines:
X11INC = /usr/X11R7/include X11LIB = /usr/X11R7/lib FREETYPEINC != freetype-config --cflags INCS = -I${X11INC} ${FREETYPEINC} LIBS = -L${X11LIB} -lX11 -Wl,-R${X11LIB} ${XINERAMALIBS} ${FREETYPELIBS}
Recompile and it should work. For st, go in it's respective `config.mk` and alter the following:
X11INC = /usr/X11R7/include X11LIB = /usr/X11R7/lib
If this compiles, it should work. For the other graphical suckless tools, it's a similar procedure.
1. wiki.installgentoo.com
NetBSD on the original IG Wiki I wrote about this already in the old InstallGentoo Wiki, but they apparently rebooted it or made a new one or whatever. Regardless, I thought it would be better if I keep it here rather than relying on them.