Sometimes it is not in the PATH variable.
Try in a terminal

[]$ which ppcppc

This should give you the path to your compiler. If not, then you must add
the directory to the path.

"which ppcppc" properly reports "/usr/local/bin" which is part of $PATH variable thanks to your guides. But why Lazarus doesn't recognize this file? Is this information stored in any Lazarus config file?

export PATH=$PATH:/usr/local/bin
Add this line to /Users/username/.profile

Did it.

Regards, Panagiotis


On May 13, 2006, at 10:34 AM, Mattias Gaertner wrote:

On Sat, 13 May 2006 10:08:45 +0300
Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote:

try this command to see which make you are using: which make

Here is the result of whichmake:
panagiotis-sidiropoulos-ibook-g4:/Users/panos/Develop/fpc root# which
make
/usr/bin/make
whereis make, also reports same path.

And also try specifying the full path of the make to use the make
provide with Free Pascal binary install.

I could not found any other make except that mentioned earlier.


After a lot of effort on this, decided to follow the other way.
Downloaded and installed fpc and lazarus by .dmg files at http://
michael-ep3.physik.uni-halle.de/Lazarus/. All three files downloaded
and installed successfully as installer reported. Opening Lazarus
from inside X11, I see splash to appear and the a message: "The Free
Pascal compiler (filename: ppcppc) was not found. It is recommended
that you install fpc".

This file is installed at /usr/local/bin, checked and normally run.

Sometimes it is not in the PATH variable.
Try in a terminal

[]$ which ppcppc

This should give you the path to your compiler. If not, then you must add
the directory to the path.



I
cannot figure why this is not found by Lazarus. It could because of
MacOSX way of operating? System's folder are not visible by normal
users. Should I open Lazarus as root? How could I do this? Another
cause could be a wrong path. Lazarus may search for ppcppc into
another path, other than /usr/local/bin. What file should I modify?
If it reads system variables what is it? How could I update a system
variable permanently?

export PATH=$PATH:/usr/local/bin
Add this line to /Users/username/.profile


I know, a lot of questions, but I'm stack on this stage for several
days. Any help would be most appreciated. Maybe Vincent could help on
this because in his response is mentioning ppcppc compiler: ...Note
only the compiler (ppcppc or ppc386) is needed....


Mattias



Regards, Panagiotis


On May 13, 2006, at 12:01 AM, Felipe Monteiro de Carvalho wrote:

On 5/12/06, Panagiotis Sidiropoulos <[EMAIL PROTECTED]> wrote:
Running "make install" into fpc folder I get a series of "command not
found" messages as follow:
make: -iVSPTPSOTO: Command not found
make: -iSP: Command not found
make: -iTP: Command not found

It looks like you are using the wrong make. Free Pascal with with the GNU Make. There are various other makes (Borland make, MS make, etc),
and they are incompatible.

try this command to see which make you are using: which make

And also try specifying the full path of the make to use the make
provide with Free Pascal binary install.

Since I don“t know much about Macs I could be wrong.
--
Felipe Monteiro de Carvalho

_________________________________________________________________
    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

_________________________________________________________________
     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

Reply via email to