unit not found: SYSTEM lazarus / 1-Linux ---------------------------------------------------------------------- Snubnose · 2004-11-25 07:34 Hi ! I installed Lazarus yesterday on my Win32 system and it works fine. But I'm still having some trouble on my Linux machine (Suse 9.1). I can compile everything but some features don't work as they should. For example: I place a button on a form - then I double click it expecting a change to the source code editor with the OnClick method - but it doesn't work.... Messages shows an error: Code: [Select]/usr/share/fpc.src/fcl/classes/linux/classaes.pp(22,6) Error: unit not found: SYSTEM The console output of Lazarus: Code: [Select]MouseUpOnControl Button1:TButton TDesigner.InvokeComponentEditor A Button1:TButton TDesigner.InvokeComponentEditor B TDefaultComponentEditor ### TMethodPropertyEditor.Edit A OldValue= ### TMethodPropertyEditor.Edit B FormMethodName=Button1Click ### TMethodPropertyEditor.SetValue A OldValue="" NewValue=Button1Click [TEventsCodeTool.PublishedMethodExists] A UpperClassName=TFORM1 [TEventsCodeTool.PublishedMethodExists] B True ### TCodeToolManager.HandleException: "unit not found: SYSTEM" at Line=22 Col=6in "/usr/share/fpcsrc/fcl/classes/linux/classes.pp" TDesigner.InvokeComponentEditor ERROR: Unable to find method. Plz fix the errorshown in the message window. Does anyone have any hint/idea for me ? Thanks in advance ---------------------------------------------------------------------- Anonymous · 2004-11-25 07:36 hmm sorry - the Lazarus error message is: Code: [Select]/usr/share/fpcsrc/fcl/classes/linux/classes.pp(22,6) Error: unit not found: SYSTEM ---------------------------------------------------------------------- Vincent Snijders · 2004-11-25 09:37 What compiler are you using? ---------------------------------------------------------------------- Snubnose · 2004-11-25 12:00 well, I just installed the newest rpms of fpc and lazarus fpc-1.9.5 fpcsrc-1.0.11 lazarus-0.9.2.2 so the default compiler is ppc386 V1.9.5 (see below) Code: [Select][TCompiler.Compile] CmdLine="/usr/bin/ppc386  -S2cgi -CD -OG1 -gl -XD -vewnhi -l -Fl/opt/gnome/lib/ -Fu/usr/share/lazarus/lcl/units/i386/linux/ -Fu/usr/share/lazarus/lcl/units/i386/linux/gtk/ -Fu/usr/share/lazarus/packager/units/i386/linux/ -Fu. -dLCL /tmp/project1.lpr" ---------------------------------------------------------------------- Vincent Snijders · 2004-11-25 12:17 You need to install fpcsrc-1.9.5 instead of fpcsrc-1.0.11. The system unit in fpc 1.0.11 is named syslinux and not system.