After my last try to get lazarus working I tried to use the latest stable version 0.9.14 and compiled with my fresh install of fpc 2.0.2 on gentoo linux. The compile went fine, but if I try to compile a project the messages window tells me:
system.pp(5,1) Fatal: Can't find unit System
Moreover Lazarus prints the following to console:
Target OS: Linux for i386
Compiling lernprogproj.lpr
system.pp(5,1) Fatal: Can't find unit System
GetMsgLineFilename Filename "system.pp" not found.
### TCodeToolManager.HandleException: "kein Pascal-Knoten an der Cursorposition gefunden (z.B. in ungeparstem Code) " at Line=8 Col=23 in "/usr/lib/fpc/src/rtl/linux/system.pp"
An excerpt of my /etc/fpc.cfg to verify the paths are set correctly:
-Fi/usr/lib/fpc/src/rtl/inc/;/pp/rtl/inc
# searchpath for units and other system dependent things
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/libc
-Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/gtk
# searchpath for libraries
-Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6
Any hint would be appreciated.
Greets Andreas