Nov 012007
 
No Gravatar

As many of you know, a lot of my business is [tag]development[/tag] using lazarus. [tag]Lazarus[/tag] is critical to my work, which comprises a large amount of object pascal and [tag]delphi[/tag]-like code.

OutKafe is a notable example – and the major source of income for my company.

Which was an issue for me with the desire for my new 64bit box to have a true 64bit OS since I had issues getting it to play nice. On gentoo however, I was able to solve these, and I now have a complete GTK2 (only) 64Bit lazarus development platform setup. This means the upcoming outkafe 5.2.3 due this weekend will be the first to have a native 64bit version( there will still be a native 32bit version as well).

So here are the steps in case anybody else is stuck.

1) Check out the latest lazarus from SVN. Save that in a folder somewhere

2) Emerge FPC with teh SOURCE use set:

USE="source" emerge fpc

3) Make sure you have GTK2 already installed (emerge gtk2) as we will have to use nodeps in the next bit.

4) The current lazarus ebuild wants to downgrade you FPC (I think that’s a bug) so do this: emerge –nodeps lazarus

5) If you have an old .lazarus directory in your $HOME – wipe it.

6) Copy the svn lazarus you checked out OVER the newly installed version in /usr/share/lazarus

7) Run lazarus with: ‘startlazarus’

8) Rebuild lazarus with the internal menu (only for GTK2) to build the updated source code.

 

Voila, you are done.