simple and straight forward: 1 2 3 4 5 6 7 8 9 10 apt-get install build-essential libtool autoconf libglib2.0-dev libpcre3-dev zlib1g-dev libbz2-dev automake1.9 libssl-dev libldap2-dev wget http://cgit.lighttpd.net/lighttpd/lighttpd-1.x/snapshot/lighttpd-1.x-trunk.tar.gz tar xvfz lighttpd-1.x-trunk.tar.gz cd lighttpd-1.x-trunk sh autogen.sh ./configure --prefix=/usr --with-openssl --with-lda