[Lazarus] installing lazarus 64bit on snow leopard

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 21 16:46:50 CEST 2010


On Fri, 21 May 2010 21:39:25 +0700
Bee Jay <bee.ography at gmail.com> wrote:

> Hi all,
> 
> I'm just doing a clean upgrade to Mac OS X 10.6.3 (Snow Leopard 64 bit) from Mac OS X 10.5.8 (Leopard 32 bit) on my Intel-based Mac machine. I used to have FPC 2.2.4 and Lazarus SVN for 32 bit on Leopard 32 bit and all went fine there. Since now I'm on 64 bit environment, I'd like to also have 64 bit FPC and Lazarus. This is my first experience with FPC/Lazarus on 64 bit environment.
> 
> For FPC, I installed FPC 2.4.0 for Mac Intel, downloaded from SourceForge. The installer (fpc-2.4.0.intel-macosx.dmg) note said that it includes both FPC for 32 and 64 bit. FPC installation all went good.
> 
> For Lazarus, I choose to use the SVN trunk. After updated the SVN, as I usually did on Leopard, I installed Lazarus using 'make' command:
> 
> make all bigide LCL_PLATFORM=carbon

Use make clean after a svn update.
Or even better: use lazbuild.

 
> It usually went fine on Leopard, but this time I faced this error message:
> 
> ...
> Free Pascal Compiler version 2.4.0 [2009/12/20] for i386
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Darwin for i386
> Compiling lazarus.pp
> Compiling /Volumes/User Data/Bee/Repository/laz-devel/packager/pkgmanager.pas
> Assembling pkgmanager
> Fatal: Can't find unit JcfSettings used by TokenUtils
> Fatal: Compilation aborted
> make[2]: *** [lazarus] Error 1
> make[1]: *** [bigide] Error 2
> make: *** [idebig] Error 2
> 
> ... and the compilation stopped here.
> 
> Despite the error message, the Lazarus executable still produced, so I continued with the next

I doubt that it created the executable.
Maybe the old was not deleted?


> 'make' command:
> 
> make install
> 
> The installation went fine and the Lazarus installed on /usr/local/share/lazarus as it used to be on Leopard. Then, I run the Lazarus (.app) and it went fine. Since I knew the building through 'make' isn't went smooth, I rebuild Lazarus from IDE (Tools } Build Lazarus menu). Before build, I installed SQLdb package first. Then, rebuild.
> 
> The rebuild process went fine and a empty form can be compiled and run fine. But... there are some problems:
> 
> - the Lazarus seems to be still 32 bit app (I knew it from Activity Monitor).

Probably because you started the old one.


> - Lazarus still produces 32 bit app as well.
> - the SQLdb tab and components is not there though Lazarus Package Manager clearly shows that it's installed.
> - when I enabled the debugger (GDB), Lazarus went hang every time I compile/run an app (empty form). It made Lazarus completely unusable, so I disabled it again.
> 
> I think I must did something wrong with both FPC and Lazarus installation on 64 bit. So, here I ask:

I never tried 64bit on Mac.

 
> 1. how to install 64 bit FPC 2.4.0 on Mac SL (64 bit) through the .dmg installer? is there any special option or param?
> 2. since I also plan to switch to FPC fixes branch (through SVN), then... how to install 64 bit FPC 2.4.1 on Mac SL (64 bit) through 'make' command?
> 3. since I don't want to use stable release, then... how to install 64 bit Lazarus on Mac SL through 'make' command?
> 4. how to make sure Lazarus 64 bit will produce 64 bit app on Mac SL?
> 5. where did the SQLdb tab and components go?
> 6. is FPC and Lazarus 64 bit ready to be used on 64 bit Mac-intel to produce stable apps?
> 7. how is the GDB debugger integration status with FPC/Lazarus 64 bit?
> 
> For any hints and replies, I thank you in advance.


Mattias




More information about the Lazarus mailing list