I am posting this, as a reminder to myself (And others), of how to compile Martin Roeschs daemonlogger on Ubuntu. Each time I download daemonlogger on to a new system (As I did yesterday with the new daemonlogger 1.2.0) and tries to compile it, I end up spending time finding out where Ubuntu hides the dnet.h file. The fix is simple, though installing libdnet-dev like you would assume, does not give you what you need. Ubuntu uses the DECnet libraries, and the correct package for compiling daemonlogger (And also snort if I remember right) is libdumbnet-dev. But daemonlogger looks for dnet.h (/usr/include/dnet.h) which is the same file as /usr/include/dumbnet.h. So all you have to do then, is to make a symlink from dnet.h to dumbnet.h.
# aptitude install libdumbnet-dev
# ln -s /usr/include/dumbnet.h /usr/include/dnet.h