FPC Source directory (Ubuntu7.10) lazarus / 1-Linux ---------------------------------------------------------------------- Valito · 2008-03-24 16:06 Hello ! Re-installing Lazarus v0.9.22 beta with Ubuntu 7.10 Gutsy, my PC sends me this message :"The FPC Source directory /USR/share/fpcsrc does not look correct. Normally it contains directories like rtl, packages, complier,... I've tried to make a fpc source directory clicking on : Configuration then Options, then FPC sources, choosed : /usr/share/fpcsrc but it doesn't work ! Oooops , where I have been wrong ? Thanks U for your help ! ---------------------------------------------------------------------- OnixJr · 2008-03-24 22:32 This message is showed after installation of lazarus or opening of a project? If answer is the first, see correct FPC Source directory in environment options... (my actual fpc source directory is: C:\lazarus\fpc\2.2.0\source\, but on Ubuntu this should be different, obviously =) If answer is the second, see Project -> Compiler Options -> Code -> Target OS... change to correct OS... Regards, Júnior ---------------------------------------------------------------------- Valito · 2008-03-26 16:16 Quote from: "OnixJr"This message is showed after installation of lazarus or opening of a project? If answer is the first, see correct FPC Source directory in environment options... (my actual fpc source directory is: C:\lazarus\fpc\2.2.0\source\, but on Ubuntu this should be different, obviously =) If answer is the second, see Project -> Compiler Options -> Code -> Target OS... change to correct OS... Regards, JúniorHello, OnixJr, The message is shown when I run Lazarus for editing an existing programm or writing a new one. In Projext -> Compiler Options -> Code -> Target OS I have changed to Linux but it still doesn't work ---------------------------------------------------------------------- zouR1 · 2008-03-27 12:47 I had the same problem. You can solve it by downloading the FPC source code from Sourceforge (http://sourceforge.net/project/showfiles.php?gr oup_id=2174&package;_id=54347) and putting it into your home directory. Then set lazarus to see that directory by setting the FPC source from Configuration > Options > FPC Sources ---------------------------------------------------------------------- Valito · 2008-03-27 19:45 Thank you zour1, I'm trying your tips, I'm hope I can get out of it with that ! Thanks. Valito. ---------------------------------------------------------------------- Vincent Snijders · 2008-03-30 20:52 You might one to try using our ubuntu packages: http://wiki.lazarus.fr eepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repositor y