Recent

Author Topic: [solved]system.pp(5,1) Fatal: Can't find unit System  (Read 6637 times)

andi456

  • New Member
  • *
  • Posts: 18
[solved]system.pp(5,1) Fatal: Can't find unit System
« on: April 28, 2006, 06:54:23 pm »
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:

Code: [Select]
system.pp(5,1) Fatal: Can't find unit System


Moreover Lazarus prints the following to console:
Code: [Select]
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:
Code: [Select]
-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

andi456

  • New Member
  • *
  • Posts: 18
[solved]system.pp(5,1) Fatal: Can't find unit System
« Reply #1 on: April 29, 2006, 03:36:19 pm »
Could solve it, somehow system.ppu and system.o found their way into my project directory :o, deleting these two files made everything go the normal way.

 

TinyPortal © 2005-2018