I installed fpc 2.0 for x86_64 on my Gentoo Linux and am able to compile lazarus.
But as someone before me already said, I can run it for only an eyeshut.
Here is what the console says:
workstation fpc $ LC_ALL="C" startlazarus
TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults
NOTE: FPC Source Directory not set! (see Environment Options)
NOTE: Could not create Define Template for Free Pascal Sources
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyIntf=False project1.lpr
[TCustomFormEditor.CreateComponent] Class='TForm'
TPascalParserTool.BuildTree B OnlyIntf=False project1.lpr
TMainIDE.DoNewEditorFile end unit1.pas
TMainIDE.DoNewProject end
WARNING: [TGtkWidgetSet.CombineRgn] Invalid HRGN
ERROR in LCL: TGtkWidgetSet.DeleteObject invalid GdiObject=2893215144
Creating gdb catchable error:
TApplication.HandleException Division by zero
Stack trace:
$0000000000438C1C
$00000000004E5930
$00000000004E56E2
$00000000004828A0
$00000000004EEAB5
$0000000000523164
$000000000050DD8C
$000000000050DB72
$0000000000511169
$000000000051E033
$000000000041A16B
$0000000000518095
$000000000050EB95
$00000000005B75B3
$00000000004EFB16
$00000000004D3223
$0000000000434CA0
WARNING: [TGtkWidgetSet.CombineRgn] Invalid HRGN
ERROR in LCL: TGtkWidgetSet.DeleteObject invalid GdiObject=2894541736
Creating gdb catchable error:
TApplication.HandleException: there was another exception during showing the first exception
Note: GetTextBuf is overridden for:ÀN+¬ª*
TApplication.HandleException: there was another exception during showing the first exception
lazarus.pp - unhandled exception
LAZARUS END - cleaning up ...
[FORMS.PP] ExceptionOccurred
I hope someone has an idea how to fix this...