Installing lighttpd-1.4.22 on Ubuntu 8.04

I had some problems with the lighttpd-1.4.19 that comes with Ubuntu 8.04, mainly with its handling of the HTTP header Expect: 100-continue (older versions of lighttpd return error 417). The problem was fixed in lighttpd-1.4.21, but 1.4.22 is the newest version, so I’ve decided to install it.

As I mentioned before, Ubuntu doesn’t have lighttpd-1.4.22 for 8.04, and it’s also not available in the updates or backports repositories. Fortunately, I found that the package is available from Debian Sid (unstable). Here are some instructions on how to install it.

Start by downloading the following packages.

wget http://ftp.de.debian.org/debian/pool/main/l/lighttpd/lighttpd_1.4.22-1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/pcre3/libpcre3_7.8-2_amd64.deb

You can satisfy all the dependencies of lighttpd-1.4.22 using the official repositories except for libpcre3, which is also available from Debian Sid. So start by installing it.

sudo dpkg -i libpcre3_7.8-2_amd64.deb
sudo aptitude markauto libpcre3

You can satisfy the rest of the dependencies by using apt-get and the official repositories. In case you encounter the following problem when starting lighttpd:

/usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, con
sider re-linking

it can be solved easily by installing libfam3.

sudo apt-get install libfam3

(don’t worry if it complains about needing to remove libgamin0). You should be done now, and you can start enjoying your shining lighttpd-1.4.22.

Leave a Reply

Your email address will not be published. Required fields are marked *