[lazarus] compiling projects

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 4 17:35:03 EDT 2003


On Wed, 4 Jun 2003 23:28:29 +0200
Christian Pohlmann <christianpohlmann at ki.tng.de> wrote:

> Hello,
> 
> when compiling a project with lazarus (running on suse linux), it says 
> "TOutputFilter: "project1.lpr(6,13) Fatal: Can't compile unit INTERFACES,
> no sources available"

This means, that one of the dependent units of interfaces.ppu has changed.
This can have several reasons:

- If you installed via rpm: The fpc rpm is not the right one for the lazarus
rpm. The right fpc rpm can be downloaded from the lazarus site.
- Check if the compiler is using the right config file. The normal
installation creates /etc/fpc.cfg. But fpc also searches for ~/.ppc386.cfg,
~/.fpc.cfg, /etc/ppc386.cfg and it uses only the first it finds. Hint: You
can see which config file is used with 'ppc386 -vt bogus'
- You have two lazarus source directories and the lazarus path is still
pointing to the old one. Check Environment -> Environment options -> Files
-> Lazarus Directory


> I have already searched the FAQ for some entry on this topic..

I added it.


Mattias






More information about the Lazarus mailing list