Edit config.mk to match your local setup (getxbook is installed into the /usr/local namespace by default). Afterwards enter the following command to build and install getxbook (if necessary as root): make clean install