[lazarus] FPC source directory

2006-02-23 Thread Panagiotis Sidiropoulos
Just today I managed to install Lazarus and FPC, the right way.
Lazarus installed through svn.
FPC downlaoded from
http://www.freepascal.org/down/i386/linux-germany_1.html as one file,
extracted and installed as instructions suggest.

Now, in Lazarus while trying to set FPC path I get error message:
The FPC source directory usr/lib/fpc/2.0.2./units/i386-linux/ does
not look correct. Normally it contains directories like rtl, fcl,
packages, compiler, ...

This folder include some of folders mentioned but not other such
packages.

What is the proper relative path in this case? I remember that I had
same problem on previous Lazarus and what I did was to download FPC
sources package, unpack into a permanent folder as it is and set this
path to Lazarus FPC path. Is this a correct approach?

Regards, Panagiotis

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] FPC source directory

2006-02-23 Thread Mattias Gaertner
On Thu, 23 Feb 2006 17:34:57 +
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:

 Just today I managed to install Lazarus and FPC, the right way.
 Lazarus installed through svn.
 FPC downlaoded from
 http://www.freepascal.org/down/i386/linux-germany_1.html as one file,
 extracted and installed as instructions suggest.
 
 Now, in Lazarus while trying to set FPC path I get error message:
 The FPC source directory usr/lib/fpc/2.0.2./units/i386-linux/ does
 not look correct. Normally it contains directories like rtl, fcl,
 packages, compiler, ...

This is the path to the compiled units (.ppu).
The IDE is searching the FPC source files (.pas).

 
 This folder include some of folders mentioned but not other such
 packages.
 
 What is the proper relative path in this case? I remember that I had
 same problem on previous Lazarus and what I did was to download FPC
 sources package, unpack into a permanent folder as it is and set this
 path to Lazarus FPC path. Is this a correct approach?

Yes. Just install the FPC sources too. Maybe you already have installed
them. Search for classes.pp.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] FPC source directory

2006-02-23 Thread L505
 Now, in Lazarus while trying to set FPC path I get error message:
 The FPC source directory usr/lib/fpc/2.0.2./units/i386-linux/ does
 not look correct. Normally it contains directories like rtl, fcl,
 packages, compiler, ...

 This folder include some of folders mentioned but not other such
 packages.

 What is the proper relative path in this case? I remember that I had
 same problem on previous Lazarus and what I did was to download FPC
 sources package, unpack into a permanent folder as it is and set this
 path to Lazarus FPC path. Is this a correct approach?


The skeleton of directores should look like what is in your /lazarus/fpcsrc/
directory.

If you want to make the skeleton fpc source directories of what lazarus looks
for, follow what exactly is in /lazarus/fpcsrc/ and then point it to your new
skeleton. If you are looking for a pre-made set up just use /lazarus/fpcsrc/
from the latest lazarus installation (fpc 2.0.2 I beleive)

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] FPC source directory

2006-02-23 Thread Panagiotis Sidiropoulos
Yes. Just install the FPC sources too. Maybe you already
have installed them. Search for classes.pp.

I did what suggested and got to proceed. On adding new components I got
error Can't find unit Interfaces. Following related thread in ml
archive, I made all adjustments suggested
(http://www.mail-archive.com/lazarus%40miraclec.com/msg01180.html) but
had same error messages:
- Identifier not found ExceptFrameCount
- Identifier not found ExceptFrames
I'm sure (am I?) that Lazarus and FPC are the latest version, downloaded
and installed just today. I searched continuasly to find any fpc 2.0.0
installation or files but there is not of them.

Is there any possible reason for this problem?

Panagiotis

-Original Message-
From: Mattias Gaertner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 23, 2006 5:53 PM
To: lazarus@miraclec.com
Subject: Re: [lazarus] FPC source directory


On Thu, 23 Feb 2006 17:34:57 +
Panagiotis Sidiropoulos [EMAIL PROTECTED] wrote:

 Just today I managed to install Lazarus and FPC, the right way.
 Lazarus installed through svn. FPC downlaoded from
 http://www.freepascal.org/down/i386/linux-germany_1.html as one file,
 extracted and installed as instructions suggest.
 
 Now, in Lazarus while trying to set FPC path I get error message: The
 FPC source directory usr/lib/fpc/2.0.2./units/i386-linux/ does not 
 look correct. Normally it contains directories like rtl, fcl, 
 packages, compiler, ...

This is the path to the compiled units (.ppu).
The IDE is searching the FPC source files (.pas).

 
 This folder include some of folders mentioned but not other such
 packages.
 
 What is the proper relative path in this case? I remember that I had
 same problem on previous Lazarus and what I did was to download FPC 
 sources package, unpack into a permanent folder as it is and set this 
 path to Lazarus FPC path. Is this a correct approach?

Yes. Just install the FPC sources too. Maybe you already have installed
them. Search for classes.pp.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives