Jonas Maebe | 1 Sep 2008 11:02
Picon
Favicon

Re: Installing on Mac OS X


On 31 Aug 2008, at 18:52, Paul wrote:

> Now I get "Free Pascal compiler not found" when Lazarus starts  
> although it exists.

Check the "Compiler path" in Environment->Environment Options. It  
should read something like /usr/local/bin/ppc386

Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Paul | 1 Sep 2008 14:58
Picon
Favicon

Re: Installing on Mac OS X

 /usr/local/bin/ppc386
it'wasn't listed in the dropdown box.
I closed Lazarus (still open from yesterday) and now I can't find lazarus 
anymore.
I understood that I have to add the directories manually in a console 
application or terminal, a return to the DOS age.
I need to get a book using OS X first, because this leads to nowhere.
It won't be before weekend though.
Anyway, while Lazarus was open, I saw bugs in the editor: the last character 
of each line was written over the previous character.
Form = class(TFor) instead of Form=class(TForm)
en; instead of end;
Looks like a bug ..

Paul

----- Original Message ----- 
From: "Jonas Maebe" <jonas.maebe@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Monday, September 01, 2008 11:02 AM
Subject: Re: [fpc-pascal] Installing on Mac OS X

>
> On 31 Aug 2008, at 18:52, Paul wrote:
>
>> Now I get "Free Pascal compiler not found" when Lazarus starts  although 
>> it exists.
>
> Check the "Compiler path" in Environment->Environment Options. It  should 
> read something like /usr/local/bin/ppc386
(Continue reading)

Damien Gerard | 1 Sep 2008 15:02

Re: Installing on Mac OS X


Le Sep 1, 2008 à 2:58 PM, Paul a écrit :

> /usr/local/bin/ppc386
> it'wasn't listed in the dropdown box.
> I closed Lazarus (still open from yesterday) and now I can't find  
> lazarus anymore.
> I understood that I have to add the directories manually in a  
> console application or terminal, a return to the DOS age.

You should not compare DOS and a Terminal :)

> I need to get a book using OS X first, because this leads to nowhere.
> It won't be before weekend though.
> Anyway, while Lazarus was open, I saw bugs in the editor: the last  
> character of each line was written over the previous character.
> Form = class(TFor) instead of Form=class(TForm)
> en; instead of end;
> Looks like a bug ..
>
> Paul
>
>
> ----- Original Message ----- From: "Jonas Maebe"
<jonas.maebe@... 
> >
> To: "FPC-Pascal users discussions" <fpc-pascal@...>
> Sent: Monday, September 01, 2008 11:02 AM
> Subject: Re: [fpc-pascal] Installing on Mac OS X
>
(Continue reading)

Jonas Maebe | 1 Sep 2008 15:15
Picon
Favicon

Re: Installing on Mac OS X


On 01 Sep 2008, at 13:58, Paul wrote:

> /usr/local/bin/ppc386
> it'wasn't listed in the dropdown box.

You can type it in. I don't know what exactly is listed in the default  
dropdown menu and why.

> I closed Lazarus (still open from yesterday) and now I can't find  
> lazarus anymore.

Type cmd-shift-g in the Finder. In the dialog box that appears, type / 
usr/local/share/lazarus. You'll find the application there. You can  
create an alias to it (shortcut in Windows terms) by holding down cmd  
and option (= cmd and alt) and dragging the Lazarus application icon  
anywhere you want. Then you won't have to remember its installation  
location anymore when you want to use it again.

> I understood that I have to add the directories manually in a  
> console application or terminal,
> a return to the DOS age.

No, you don't, except if you want to the command line stuff. And DOS  
was actually a partial imitation of Unix, not the other way around.

> I need to get a book using OS X first, because this leads to nowhere.

As I said, it won't help you in particular with these issues, because  
Lazarus is not behaving like an OS X app at this time.
(Continue reading)

Paul | 1 Sep 2008 15:44
Picon
Favicon

Re: Installing on Mac OS X

Ok Jonas,

that solved at least a few items.
Lazarus is complaining about fpcsrc files, which I didn't install.
I installed FPC2.2.2 and Lazarus only.
So I guess I have to go and install the source now.

thanks,

Paul

----- Original Message ----- 
From: "Jonas Maebe" <jonas.maebe@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Monday, September 01, 2008 3:15 PM
Subject: Re: [fpc-pascal] Installing on Mac OS X

> 
> On 01 Sep 2008, at 13:58, Paul wrote:
> 
>> /usr/local/bin/ppc386
>> it'wasn't listed in the dropdown box.
> 
> You can type it in. I don't know what exactly is listed in the default  
> dropdown menu and why.
> 
>> I closed Lazarus (still open from yesterday) and now I can't find  
>> lazarus anymore.
> 
> Type cmd-shift-g in the Finder. In the dialog box that appears, type / 
(Continue reading)

Mattias Gärtner | 1 Sep 2008 16:00
Picon
Favicon

Re: Installing on Mac OS X

Zitat von Paul <paul.blommaerts@...>:

> Ok Jonas,
>
> that solved at least a few items.
> Lazarus is complaining about fpcsrc files, which I didn't install.
> I installed FPC2.2.2 and Lazarus only.
> So I guess I have to go and install the source now.

FYI:
I want to improve a few things in the lazarus installer to make paths and
defaults more convenient. I hope to find some time this week.

Mattias

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Paul | 1 Sep 2008 16:32
Picon
Favicon

Re: Installing on Mac OS X

Ok,

placing it all in the /Developer/ folder seems more logical to me.
FPC should do the same imho (for Mac OS X).
Are you writing this installer or is this a joint effort ?

Paul

----- Original Message ----- 
From: "Mattias Gärtner" <nc-gaertnma@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Monday, September 01, 2008 4:00 PM
Subject: Re: [fpc-pascal] Installing on Mac OS X

> Zitat von Paul <paul.blommaerts@...>:
>
>> Ok Jonas,
>>
>> that solved at least a few items.
>> Lazarus is complaining about fpcsrc files, which I didn't install.
>> I installed FPC2.2.2 and Lazarus only.
>> So I guess I have to go and install the source now.
>
> FYI:
> I want to improve a few things in the lazarus installer to make paths and
> defaults more convenient. I hope to find some time this week.
>
>
> Mattias
>
(Continue reading)

Jonas Maebe | 1 Sep 2008 16:40
Picon
Favicon

Re: Installing on Mac OS X


On 01 Sep 2008, at 15:32, Paul wrote:

> placing it all in the /Developer/ folder seems more logical to me.
> FPC should do the same imho (for Mac OS X).

FPC is a unix command line application. Those belong under /usr/local/  
(it's the reason of existence for that hierarchy). Putting it under / 
Developer would not make it any easier to use, since /Developer (or / 
Developer/fpc/usr/bin or so) is not in the default command line path  
either, and there is not a single double-clickable application in the  
Mac OS X FPC distribution (well, none that does anything useful when  
you execute it like that anyway).

Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Paul | 1 Sep 2008 17:00
Picon
Favicon

Re: Installing on Mac OS X

Ok,

but I give it up for the moment.
I can't find any files at all, just downloaded fpcsrc, but I can't find it 
anywhere.
Cant find it Mac help also.
I need a book first ...
So it's something for next week

thanks,

Paul

----- Original Message ----- 
From: "Jonas Maebe" <jonas.maebe@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Monday, September 01, 2008 4:40 PM
Subject: Re: [fpc-pascal] Installing on Mac OS X

>
> On 01 Sep 2008, at 15:32, Paul wrote:
>
>> placing it all in the /Developer/ folder seems more logical to me.
>> FPC should do the same imho (for Mac OS X).
>
> FPC is a unix command line application. Those belong under /usr/local/ 
> (it's the reason of existence for that hierarchy). Putting it under / 
> Developer would not make it any easier to use, since /Developer (or / 
> Developer/fpc/usr/bin or so) is not in the default command line path 
> either, and there is not a single double-clickable application in the  Mac 
(Continue reading)

Jonas Maebe | 1 Sep 2008 17:12
Picon
Favicon

Re: Installing on Mac OS X


On 01 Sep 2008, at 16:00, Paul wrote:

> but I give it up for the moment.
> I can't find any files at all, just downloaded fpcsrc, but I can't  
> find it anywhere.

What can you not find? The downloaded file, or the files it installed?  
The downloaded file is probably in the downloads folder in your home  
directory (or in Safari, choose Window->Downloads and click on the  
magnifying glass next to the file).

The files it installed are again somewhere under /usr/local, probably.  
In the installer, you can choose File->Show Files to see where it puts  
everything (ignore the "." at the start of the path names).

Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Gmane