[Lazarus] Fatal: Can't find unit system used by Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jan 28 14:39:03 CET 2013


On Mon, 28 Jan 2013 14:29:30 +0100
Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:

> When I add -Fu/usr/lib64/fpc/2.6.0/units/x86_64-linux/rtl to the 
> previous command line, I get another error:
> Fatal: Can't find unit contnrs used by Masks
> 
> This means that system.ppu has been found !

You wrote that some packages compiled successfully. So system.ppu was
found.
What about compiling a simple project?

 
> I guess that adding folders it will work one day !
> What's wrong ? /etc/fpc.cfg ?

/etc/fpc.cfg is installed by the fpc rpm.

It should contain the lines:
#IFDEF CPU64
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/rtl
#ELSE
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
#ENDIF

Mattias




More information about the Lazarus mailing list