[Lazarus] LCL now automatically compiles if needed

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 27 16:28:55 CET 2011


On Thu, 27 Jan 2011 15:01:17 +0000
Martin <lazarus at mfriebe.de> wrote:

> On 27/01/2011 14:57, Mattias Gaertner wrote:
> > On Thu, 27 Jan 2011 14:39:55 +0000
> > Martin<lazarus at mfriebe.de>  wrote:
> >
> >> On 27/01/2011 13:57, Mattias Gaertner wrote:
> >>> Hi all,
> >>>
> >>> The package LCL is now a normal package. That means, the IDE will
> >>> automatically compile it if needed.
> >> And what are the steps required to update via SVN?  For people who
> >> rebuild via the LCL tools menu ?
> >>
> >> registerlcl.pas(8,3) Fatal: Can't find unit LazarusPackageIntf used by
> >> RegisterLCL
> > The fcl package is not yet a normal package and not yet automatically
> > compiled. You have to compile it via the IDE dialog or make.
> I've been trying the dialog => I selected to clean all, and rebuild all. 
> And that's the error I got

That's because the old dialog compiles the LCL before the FCL (package
registration). This was changed with the redesign of this dialog in
0.9.29. Technically the reordering was ok, because the LCL package
registration was in the IDE. Now the LCL package registration is in the
LCL as any other package. I changed the order in one of my commits some
hours ago, but a lazarus 0.9.29 - 0.9.31 has the wrong order.
For the 0.9.30 we should change the order, so it can compile a 0.9.31.

 
> > As always:
> >
> > svn up
> > make clean all
> 
> I try to avoid calling make directly => I am a windows user

Then compile first the package registration, then the LCL and then the
IDE.

Mattias




More information about the Lazarus mailing list