Building FF 3.0.x on Ubuntu 8.x
Building FF 3.0.4 on Ubuntu 8.04 was with no hassle. I made no change to the .mozconfig file; rather, I was asked to upgrade library “cairo” from 1.5.x to 1.6.x (or any higher version). I couldn’t do so from the Synaptic Manager; so, I had to download and install cairo_1.6.0.orig.tar.gz.
Lest I forget, when building FF, you need to be very patient. It takes very long time to make shared library “libgklayout.so.” Your PC might appear hung or the build process might seem unsuccessful. All you need is give the process some time depending on your PC configuration.