[lazarus] Package file management problem

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 22 11:00:44 EST 2003

On Thu, 06 Nov 2003 23:24:56 -0600  Tony Maro <tony at maro.net> wrote:

> I just had the weirdest problem that's taken me about a week to track
> down.
> Turns out I had a file by the same name in two different packages.  When 
> I would compile either package individually they'd work fine.
> If I installed packageA into Lazarus and then tried to install packageB 
> I'd get one error...
> If I installed packageB and then packageA, I'd get a different error.
> Neither error pointed to the duplicate file.  One error reported that a 
> different file couldn't be found (when it was present.)  The other error 
> reported that it couldn't compile the entire package because no source 
> files were found.
> Net result:  Obviously you can't have two different files with the same 
> name inside two different packages.  That was my own mistake.  However, 
> perhaps we should consider some sort of a check before a package is 
> installed?  

I implemented a check for ambigious units of connected packages. 


More information about the Lazarus mailing list