It has a bunch of dependencies but the only major one is fpc. (Free Pascal Compiler). At this point doing an emerge of fpc will install version 1.9.8 (which I've heard is supposed to be the final release candidate for version2) but will fail to do the configuration. So I'm here to help you finish the job
If you looked around in /usr/lib/fpc/1.9.8 you will see a script called samplecfg. It's looking for the fpc location and the etc location.
Code: Select all
su -
cd /usr/lib/fpc/1.9.8
./samplecfg /usr/lib/fpc/1.9.8 /etc
You are now ready to emerge Lazarus. You couldn't do this before because it needs a properly configured pascal compiler to compile it.
Code: Select all
emerge lazarus
The link for Lazarus needs to be created in order to be able to start it.
Code: Select all
ln -s /usr/share/lazarus/startlazarus /usr/bin/lazarus
I suspect that these ebuilds will change since they don't complete the install properly, and install Lazarus in the /usr/share directory (I wouldn't have guessed that!) However this is not a criticism of the author as I looked at building ebuilds for these packages myself and chickened out. These have gotten us more then 1/2 way there.
*Edit* removed the first fix for fpc, as the ebuild seems to have been fixed.


