Forum > Linux
unit not found: SYSTEM
(1/1)
Snubnose:
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: ---/usr/share/fpc.src/fcl/classes/linux/classaes.pp(22,6) Error: unit not found: SYSTEM
--- End code ---
The console output of Lazarus:
--- Code: ---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.
--- End code ---
Does anyone have any hint/idea for me ?
Thanks in advance
Anonymous:
hmm sorry - the Lazarus error message is:
--- Code: ---/usr/share/fpcsrc/fcl/classes/linux/classes.pp(22,6) Error: unit not found: SYSTEM
--- End code ---
Vincent Snijders:
What compiler are you using?
Snubnose:
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: ---[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"
--- End code ---
Vincent Snijders:
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.
Navigation
[0] Message Index