Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-09 Thread Chris Kirkpatrick
Source files will be in /usr/share/fpc ... or somewhere close to that 
(you may have to dig around  a little!)


In general, Lazarus will be in the directory in which it is installed, 
fpc compiler will be in /usr/bin (or there will be a symbolic link from 
/usr/bin/ppc386 to /usr/(local)/lib/fpc/$version/..., make sure ppc386 
is pointing to the correct version of the compiler), fpc units will be 
in /usr/lib/fpc/$version ... or /usr/local/lib/fpc/$version ... and fpc 
sources will be in /usr/share/fpc ...

Regards - Chris

Peter Williams wrote:

Hi Vincent  All,

On 08/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote:
  

Luk Vandelaer schreef:


The correct path for you would be /usr/lib/fpc/2.0.4
Lazarus knows his way from there.
  

No that is the path of the compiled units (.ppu and .o), not for the pascal 
*source*
directory, with .pas, .pp and .inc files.




I am more confused than ever now. Can you please tell me what is the
correct path for Lazarus on a standard Linux Ubuntu system? Note that
I used the Synaptic Package Manager to install Lazarus and it
*appears* to be a complete installation... but give the error message:

  

The current Free Pascal source directory
/usr/lib/fpc/2.0.4/units/i386-linux/
does not look correct.
Choose OK to choose the default .
Otherwise check Environment - Environment Options - File

[OK] [ignore]
  


Help please!!!

Regards,
 PEW   ;-)))
from Hobart, Tasmania, Australia

  

Vincent

_
 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


Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-09 Thread Mattias Gaertner
On Sat, 9 Feb 2008 18:04:28 +1100
Peter Williams [EMAIL PROTECTED] wrote:

 Hi Vincent  All,
 
 On 08/02/2008, Vincent Snijders [EMAIL PROTECTED] wrote:
  Luk Vandelaer schreef:
  
   The correct path for you would be /usr/lib/fpc/2.0.4
   Lazarus knows his way from there.
 
  No that is the path of the compiled units (.ppu and .o), not for
  the pascal *source* directory, with .pas, .pp and .inc files.
 
 
 I am more confused than ever now. Can you please tell me what is the
 correct path for Lazarus on a standard Linux Ubuntu system? Note that
 I used the Synaptic Package Manager to install Lazarus and it
 *appears* to be a complete installation... 

Sorry. No, it is not complete.
Either try our ubuntu repository or download and install the fpc_src
package from sf:
http://sourceforge.net/project/showfiles.php?group_id=89339

The fpc_src package installs the sources to /usr/share/fpcsrc.


[...] but give the error message:
 
   The current Free Pascal source directory
   /usr/lib/fpc/2.0.4/units/i386-linux/
   does not look correct.
   Choose OK to choose the default .
   Otherwise check Environment - Environment Options - File
  
   [OK] [ignore]
 
 Help please!!!

Mattias

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


Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-08 Thread Luk Vandelaer
On Friday 08 February 2008 09:41, Peter Williams wrote:
 Hi all,

 I installed Lazarus and Free Pascal on my Linux Ubuntu pc
 using the Synaptic Package Manager. However, when I start Lazarus I
 get the following error message (see subject).

 The current Free Pascal source directory
 /usr/lib/fpc/2.0.4/units/i386-linux/
 does not look correct.
 Choose OK to choose the default .
 Otherwise check Environment - Environment Options - File

 [OK] [ignore]

   Note that the above listed directory (
 /usr/lib/fpc/2.0.4/units/i386-linux/ ) *does* exist.

   What am I doing wrong?!? Can someone please tell me the URL for
 downloading any files I'm missing and also what is the exact directory
 in which they should reside?

The correct path for you would be /usr/lib/fpc/2.0.4
Lazarus knows his way from there.

Luk

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


Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-08 Thread Mattias Gaertner
On Fri, 8 Feb 2008 19:41:11 +1100
Peter Williams [EMAIL PROTECTED] wrote:

 Hi all,
 
 I installed Lazarus and Free Pascal on my Linux Ubuntu pc
 using the Synaptic Package Manager. However, when I start Lazarus I
 get the following error message (see subject).
 
 The current Free Pascal source directory
 /usr/lib/fpc/2.0.4/units/i386-linux/
 does not look correct.
 Choose OK to choose the default .
 Otherwise check Environment - Environment Options - File
 
 [OK] [ignore]
 
   Note that the above listed directory (
 /usr/lib/fpc/2.0.4/units/i386-linux/ ) *does* exist.
 
   What am I doing wrong?!? Can someone please tell me the URL for
 downloading any files I'm missing and also what is the exact directory
 in which they should reside?

The IDE searches the FPC sources, which is provided by a package
called fpc-src.
As ubuntu user, you can use:

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

Then you will get the current fpc 2.2.0 too (instead of the old 2.0.4).


Mattias
 

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


Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-08 Thread Mattias Gaertner
On Fri, 8 Feb 2008 09:45:00 +0100
Luk Vandelaer [EMAIL PROTECTED] wrote:

 On Friday 08 February 2008 09:41, Peter Williams wrote:
  Hi all,
 
  I installed Lazarus and Free Pascal on my Linux Ubuntu pc
  using the Synaptic Package Manager. However, when I start Lazarus I
  get the following error message (see subject).
 
  The current Free Pascal source directory
  /usr/lib/fpc/2.0.4/units/i386-linux/
  does not look correct.
  Choose OK to choose the default .
  Otherwise check Environment - Environment Options - File
 
  [OK] [ignore]
 
Note that the above listed directory (
  /usr/lib/fpc/2.0.4/units/i386-linux/ ) *does* exist.
 
What am I doing wrong?!? Can someone please tell me the URL
  for downloading any files I'm missing and also what is the exact
  directory in which they should reside?
 
 The correct path for you would be /usr/lib/fpc/2.0.4
 Lazarus knows his way from there.

No. This path contains the FPC binary units - not the FPC sources.


Mattias

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


Re: [lazarus] Error: Invalid Free Pascal Source Directory

2008-02-08 Thread Vincent Snijders

Luk Vandelaer schreef:


The correct path for you would be /usr/lib/fpc/2.0.4
Lazarus knows his way from there.


No that is the path of the compiled units (.ppu and .o), not for the pascal *source* 
directory, with .pas, .pp and .inc files.


Vincent

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