Blimey, this looks like hard work.
Not at all. This is an old thread. Installing Lazarus on Gentoo is a breeze. All you do is unmask Lazarus and FPC if you run Gentoo stable and do "emerge lazarus", and all dependencies including fpc are automatically installed and taken care of. Couldn't be easier. No pixbuf this or gdk that stuff, like with other distributions. At present the Gentoo versions sit at FPC-2.0.2 and Lazarus 0.9.12 , so if you want something more recent, then install Lazarus and FPC Gentoo versions to set up the sytem with the dependent libraries, and then "unmerge" them and install other versions of FPC and Lazarus as desired. The dependent library versions don't change for more recent versions of FPC and Lazarus as far as I know. I certainly never had to concern myself with dependencies, running the latest SVN version of Lazarus. If your are not a beginner with Linux, Gentoo can be considered a lazy man's distro

.