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

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


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

> Look at the last lines of the messages window
> 
> /usr/bin/fpc -Ur -Xs -O2 -n -gl -Sci -dlclgtk2 -Fu../designer 
> -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager 
> -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fiinclude 
> -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/gtk2 -Cg 
> -Fl/usr/lib64/gcc/x86_64-suse-linux/4.5 -Fl/usr/X11R6/lib64/Xaw3d 
> -Fl/usr/X11R6/lib64 -Fl/usr/lib64/Xaw3d -Fl/usr/X11R6/lib/Xaw3d 
> -Fl/usr/X11R6/lib -Fl/usr/lib/Xaw3d -Fl/usr/x86_64-suse-linux/lib 
> -Fl/usr/local/lib -Fl/opt/kde3/lib -Fl/lib64 -Fl/lib -Fl/usr/lib64 
> -Fl/usr/lib -Fl/usr/local/lib64 -Fl/opt/kde3/lib64 -Flinclude 
> -Fl/etc/ld.so.conf.d/*.conf @/home/sita/.lazarus/idemake.cfg 
> -FU/usr/lib64/lazarus/units/x86_64-linux/gtk2 -FE/usr/lib64/lazarus 
> -dx86_64 -dRELEASE lazarus.pp
> Fatal: Can't find unit system used by Lazarus
> 
> Nowhere any "/usr/lib64/fpc/2.6.0/units/x86_64-linux/rtl/" nor 
> "/usr/share/fpcsrc/rtl/units/x86_64-linux/" are named in -Fu

They are defined in the global fpc config: /etc/fpc.cfg.

 
> When I submit the compilation line in a shell under myuser I get the 
> same error, as well as under root !!


Mattias




More information about the Lazarus mailing list