nc-gaertnma at netcologne.de
Tue Sep 23 03:42:29 EDT 2003
On Tue, 23 Sep 2003 00:23:42 -0700 (PDT)
Alan Mead <cubrewer at yahoo.com> wrote:
> I installed Lazarus 0.9.0.2 from the RPM downloaded from the lazarus
> site. I have FPC 1.0.10 installed. I'm running Redhat 7.2.
> Lazarus looks great and I can create an initial form. But if I
> double click on, say, a button, I get:
> ### TCodeToolManager.HandleException: "unit not found: CustApp" at
> Line=49 Col=23 in "/usr/share/lazarus/lcl/forms.pp"
The IDE didn't found your FPC sources (RPM fpcsrc). Check
Environment->Environment Options->FPC Source Directory.
> TMainIDE.DoOpenEditorFile END "/usr/share/lazarus/lcl/forms.pp"
> TDesigner.InvokeComponentEditor ERROR: Unable to find method. Plz fix
> the error shown in the message window.
> When I try to run it (i.e., click the 'play' button), I get:
> TOutputFilter: "interfacebase.pp(6,13) Fatal: Can't find unit
It seems your FPC is not the one, that was used to compile the lazarus RPM.
Download the lazarus src RPM and rebuild it:
rpm --rebuild lazarus-0.9.0.xxx.src.rpm
Then uninstall the old lazarus and install the new.
> Here is my /etc/fpc.cfg (dated July 14, which is when I installed FPC
> 1.0.10) with all the comments stripped out:
> There is a unit called classes.ppu in
> '/usr/lib/fpc/1.0.10/units/linux/fcl', should I add that?
No. It's already in the path.
More information about the Lazarus