[lazarus] Package requirements - cant find file

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 15 20:33:03 EST 2003


On Sat, 15 Nov 2003 13:22:28 -0600
Tony Maro <tony at maro.net> wrote:

> Mattias Gaertner wrote:
> 
> >On Sun, 02 Nov 2003 11:11:30 -0600
> >Tony Maro <tony at maro.net> wrote:
> >
> >  
> >
> >>The package itself compiles fine - it's only failing on install.  It 
> >>doesn't fail at the USES line of the main file, but fails inside the 
> >>included file, at no specific line of code.  The error states: 
> >>"/home/tony/lazarus/chktransactions.inc(1,8) Fatal: Can't compile unit 
> >>USTRINGLIST, no sources available"
> >>
> >>That's not the correct path for the file in question.  In fact, there is
> >
> >>no such file at that path.  The actual path is 
> >>"/home/tony/Projects/cbtracker/cbtpack/include/chktransactions.inc"
> >>    
> >>
> >
> >That's probably a bug in the outputfilter. But without the code in
> >question, I'm not sure where to start searching.
> >
> > 
> >  
> >
> >>I've attached the lpk file gzipped.
> >>    
> >>
> >
> >The usage options don't need the lib, inc and obj paths. Normally only
> >the unit path needs the $(PkgOutDir) macro.
> >
> >  
> >
> I think I've had mail problems lately.  This is old, and I think I also 
> sent a report of the solution.
> 
> The above happened because two different packages had a file with the 
> same name in it.

You spotted three different bugs (or better: ToDos):
- the outputfilter expanded an include file wrong (here I need your help)
- the IDE didn't check for ambigious units when compiling itself
(implemented)
- the IDE does not check for ambigious package files, when combining
packages (ToDo)


Mattias






More information about the Lazarus mailing list