slmenu is a dmenu clone for the console.
Just a C compiler that supports _BSD_SOURCE
Edit config.mk to match your local setup (slmenu is installed into the /usr/local namespace by default).
Afterwards enter the following command to build and install slmenu (if necessary as root):
make clean install
See the man page for details.