[Lazarus] Problem accessing the lazarus forums...

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 4 10:44:02 CET 2017


On Mon, 04 Dec 2017 10:25:43 +0100
Bo Berglund via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> Anyway, I could not see anything that would cause lazarus to fail in
> finding the file. OTOH if Lazarus cannot find the file then there must
> be something else in error....

Posting the exact error messages helps getting help. Lazarus did not
complain about finding fpc.cfg.

 
> >How did you install fpc?  
>[...]
> I get these messages on the Lazartus start dialog box:
> 
> Compiler:
> File: /home/pi/bin/fpc
> Error: system.ppu not found. Check your fpc.cfg  <== HERE

It can't find system.ppu. Something is wrong with your fpc.cfg or your
install of fpc.

 
> FPC Sources:
> Directory: /usr/fpc/3.0.0
> Warning: Found version 3.0.0, expected 3.0.2
> You can download FPC and the FPC sources from.....
> 
> So I suspected that the fpc.cfg file contained some bogus info, which
> I had to edit away, but I had all forgotten where this file was
> supposed to be...
> 
> Note that I normally install using a script which downloads the
> sources and builds both fpc and lazarus.
> It does all of that into /home/pi instead of into the global locations
> because I want to be able to rebuild both without using sudo.

Then you should create a /home/pi/.fpc.cfg

Mattias


More information about the Lazarus mailing list