[Lazarus] Error during Lazarus rebuilding 0.9.30

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 28 13:56:11 CEST 2011


On Mon, 28 Mar 2011 12:48:09 +0100
Frank Church <vfclists at gmail.com> wrote:

>[...]
> After following your suggestion it appears that the packages are added twice
> to staticpackages.inc.
> 
> kgrid uses printer4lazarus and dbflaz, and they appear twice in the
> staticpackages.inc. I opened the file and realized that they are duplicated.

Darn.
What Lazarus version do you use exactly?

 
> I went into the IDE and removed them ie uninstalled them, yet when it comes
> to building the IDE again they are duplicated yet again in
> staticpackages.inc.
> 
> The IDE appears to be generating the error that staticpackages.inc cannot be
> found, when it appears that the error is a duplicate file name error.
> 
> Another thing I want to ask - is the -pcp directory the normal location for
> staticpackages.inc? I thought it would be in the installation directory.

No, the user can compile a new IDE with his own set of installed
packages.

 
> staticpackages.inc(4,16) Error: Duplicate identifier "PRINTER4LAZARUS"
> staticpackages.inc(4,16) Error: Duplicate identifier "printer4lazarus"
> staticpackages.inc(8,7) Error: Duplicate identifier "DBFLAZ"
> staticpackages.inc(8,7) Error: Duplicate identifier "dbflaz"

Hmm, seems like somewhere a package name is not compared case
insensitive.

> componenttreeview.pas(44,18) Fatal: Can't find unit ComponentTreeView used
> by ObjectInspector


Mattias




More information about the Lazarus mailing list