Hi,
I believe this information could be added to README file as Debian is pretty popular.
So here is the list of packages to be installed to compile OLVWM:
xutils
libboost-dev
libx11-dev
libxext-dev
bison
libxpm-dev
libncurses-dev
flex-old (modern flex raises error because of syntax changes)