[Lazarus] Can't find lazreport when building lazarus ...

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Mar 29 08:16:44 CEST 2012


On Wed, 28 Mar 2012 22:43:49 -0300
William Oliveira Ferreira <bdexterholland at gmail.com> wrote:

> i know that it's an old thread but i never understand wher i must set paths
> to build lazarus on linux.
> 
> I've installed debian wheezy and performed a fresh install of the IDE and
> it runs fine, no problems with libpixbuf...
> 
> Now, i'm trying to install some components, they're, anchordocking,
> anchordockingdsgn and lazreport.
> On lazbuild by menu (Clean + Build All), it shows this message:
> "/usr/lib/lazarus/0.9.31/ide/projectwizarddlg.pas(1,1) Fatal: Can't find
> unit lazreport used by Lazarus"

Note: This message is misleading.
The real compiler message is only:

"Fatal: Can't find unit lazreport used by Lazarus"

lazreport is not part of the IDE itself. lazreport is a unit of an
installed package (here: lazreport).

The compiler gives this message when it can not find a lazreport.ppu
or the first it found was not compatible.

 
> Could someone explain where should i set directory paths to build lazarus?

You don't set paths to build Lazarus. In fact, if you add paths then
there is high chance that you get strange messages like the above.

Have you tried to build Lazarus clean (see Tools / configure build
lazarus)?

Mattias




More information about the Lazarus mailing list