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)

Mattias Gaertner | 1 Sep 2008 20:35
Picon
Favicon

Re: Installing on Mac OS X

On Mon, 1 Sep 2008 14:15:44 +0100
Jonas Maebe <jonas.maebe@...> wrote:

> 
> On 01 Sep 2008, at 13:58, Paul wrote:
> 
> > /usr/local/bin/ppc386
> > it'wasn't listed in the dropdown box.

Strange. I just tested with a new IDE and it found
the /usr/local/bin/ppc386 automatically.

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

For unix/i386 the list is:

/usr/local/bin/ppc386
/usr/bin/ppc386
/opt/fpc/ppc386

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

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)

Mattias Gärtner | 1 Sep 2008 17:26
Picon
Favicon

Re: Installing on Mac OS X

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

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

I don't know. I have to read Mac guide lines and see how similar projects solved
it.

> Are you writing this installer or is this a joint effort ?

It's a joint effort with the other lazarus developers.

Mattias

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

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)

Peter W A Wood | 2 Sep 2008 01:03
Picon

Re: Installing on Mac OS X

A book like The Visual QuickPro Guide to Unix for Mac OS X 10.4 Tiger  
or Mac OS X Tiger in a Nutshell is more likely to answer the questions  
you are asking at the moment than a Mac OS X book. I don't think that  
either of the books has been updated for OS X 10.5 yet. This shouldn't  
be a big problem as I don't think that anything much changed at the  
Unix level between the two OS versions.

Regards

Peter

On 1 Sep 2008, at 23:00, Paul wrote:

> 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@... 
> >
(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

Paul | 1 Sep 2008 17:26
Picon
Favicon

Re: Installing on Mac OS X

thanks Jonas,

but this works only when you know were to find it.
I can't find them with Finder and that's where I should find it.
It's too irritating for me now, and therefore I need to learn Mac OS X 
first.
I know myself, and if it gets too irritating, changes are that I will stop 
for good with the Mac.
And since documentation shipped with the iMac is zero, I need a book first.

Paul

----- Original Message ----- 
From: "Jonas Maebe" <jonas.maebe@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Monday, September 01, 2008 5:12 PM
Subject: Re: [fpc-pascal] 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).
>
(Continue reading)

Picon

Re: Installing on Mac OS X

On Mon, Sep 1, 2008 at 12:26 PM, Paul <paul.blommaerts@...> wrote:
> I can't find them with Finder and that's where I should find it.
> It's too irritating for me now, and therefore I need to learn Mac OS X
> first.

Yes, they hide the unix directories, so you can't see them with
Finder. I find that *very* annoying too. Use the command line to find
what you need. I think it's located in /Application/Utilities/Terminal
or something similar

then navigate using unix commands:

cd /usr/local/share/
ls -l

I not a big fan of this approach which treats the users as idiots.
There are some ideas here about how to show the unix directories in
finder. I never tested them myself, but certainly will:

http://forums.appleinsider.com/showthread.php?t=35034

--

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Paul | 3 Sep 2008 10:05
Picon
Favicon

Re: Installing on Mac OS X

I removed all files (that I could find) and reinstalled fpc-fpcsrc-lazarus.
I downloaded the files from www.hu.freepascal.org/lazarus
According to the docs in 
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips, I should now be 
able to start lazarus by clicking on the lazarus icon in the application 
folder.
I can't fond it though, also not with spotlight.
Where can I find this ?

OT: is it normal that new windows are hidden behind others?
When downloading the packages from this site (very slow), I was under the 
impression that nothing happened at all: the progress window is always 
hidden.
The same with starting a new instance of Finder: click and search to find 
the new instance under other windows.

Paul

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

Jonas Maebe | 3 Sep 2008 23:29
Picon
Favicon

Re: Installing on Mac OS X


On 03 Sep 2008, at 09:05, Paul wrote:

>  removed all files (that I could find) and reinstalled fpc-fpcsrc- 
> lazarus.
> I downloaded the files from www.hu.freepascal.org/lazarus
> According to the docs in http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips 
> , I should now be able to start lazarus by clicking on the lazarus  
> icon in the application folder.

Where does it say that? I don't see it.

> I can't fond it though, also not with spotlight.
> Where can I find this ?

Please reread the three previous messages I wrote about using cmd- 
shift-g, and/or the one where I gave the link to make Spotlight find  
files in the Unix directories.

> OT: is it normal that new windows are hidden behind others?
> When downloading the packages from this site (very slow),

The ftp server is explicitly limited to 100kb per connection to avoid  
overloading the connection.

> I was under the impression that nothing happened at all: the  
> progress window is always hidden.

Safari's download window comes to the front if it wasn't already open.  
If it was already open and you download another file, it doesn't come  
(Continue reading)

Paul | 2 Sep 2008 12:54
Picon
Favicon

Re: Installing on Mac OS X

> Finder. I find that *very* annoying too. Use the command line to find
> what you need. I think it's located in /Application/Utilities/Terminal
> or something similar

Yes, as I mentionted before, it feels like returning to the DOS age.
If and only if I get FPC /lazarus running, I hope it's the only application 
I have to write for the mac...

Paul

----- Original Message ----- 
From: "Felipe Monteiro de Carvalho" <felipemonteiro.carvalho@...>
To: "FPC-Pascal users discussions" <fpc-pascal@...>
Sent: Tuesday, September 02, 2008 12:55 PM
Subject: Re: [fpc-pascal] Installing on Mac OS X

> On Mon, Sep 1, 2008 at 12:26 PM, Paul <paul.blommaerts@...> wrote:
>> I can't find them with Finder and that's where I should find it.
>> It's too irritating for me now, and therefore I need to learn Mac OS X
>> first.
>
> Yes, they hide the unix directories, so you can't see them with
> Finder. I find that *very* annoying too. Use the command line to find
> what you need. I think it's located in /Application/Utilities/Terminal
> or something similar
>
> then navigate using unix commands:
>
> cd /usr/local/share/
> ls -l
(Continue reading)

Picon

Re: Installing on Mac OS X

On Tue, Sep 2, 2008 at 7:54 AM, Paul <paul.blommaerts@...> wrote:
> Yes, as I mentionted before, it feels like returning to the DOS age.
> If and only if I get FPC /lazarus running, I hope it's the only application
> I have to write for the mac...

The terminal is an excelent tool once you learn how to use it.

--

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Paul | 2 Sep 2008 13:20
Picon
Favicon

Re: Installing on Mac OS X

> The terminal is an excelent tool once you learn how to use it.

So is cmd on Windows, but it's all but user friendly and there should be 
more user friendly solutions anno 2008 imho
But his is OT here.

Paul 

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

Schindler Karl-Michael | 1 Sep 2008 18:01
Picon
Favicon

Re: Installing on Mac OS X

Hi,

I just want to let you know, that I am still active for a lazarus  
installation using fink. At least some of the problems Paul encounterd  
should be solved  by this. "fink install lazarus" will resolve all  
dependencies for freepascal, the sources and libs like gdkpixbuf. It  
will also put a link to the lazarus application into /Applications/ 
Fink, so new users will have less of a problem finding it. The setup  
is also supposed to offer three versions, carbon, gtk and possibly  
gtk2. The current implementation if based on the dated 0.9.24 version  
and I am not going to put much more effort into this, but wait until  
the 0.9.26 release is out. I already did a number of test, so  
finishing up should be possible within a few weeks.

Installation with fink means all the nitty gritty details live in / 
sw/..., which can produce problems on its own and surely will.  
However, the main advantage of fink is that the combo "fink purge  
lazarus" and "fink purge fpc" will properly take care of uninstalling  
including preference files. As much as i can say on the basis of my  
experinces with fink, it should be possible to do all corrections and  
settings within fink.

All the best - Michael Schindler, aka mischi.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Gmane