[fpc-pascal] FPC 2.2.1 on Mac OS X

Vincent Snijders vsnijders at quicknet.nl
Fri May 23 13:58:18 CEST 2008


Bent Normann Olsen schreef:
> Hi,
> 
> I have Lazarus 0.9.25 beta on Intel Mac OS X (2008-04-29), installed with
> fpcsrc 2.2.0 (2008-04-29) and fpc 2.2.0 (2008-04-29).
> 
> On bugtracker I read there are problems with fpc 2.2.0 on Mac OS X and case
> sensitivity of filenames. And therefore I cannot use an unpatched fpc 2.2.0
> and need to upgrade to a current 2.2.1 og use fpc 2.0.4.


These snapshots have been patched already.

> 
> I have a project in which I suspect case sensitivity to be a problem.
> 
> I found fpc-2.2.1-20071214-i386-macosx.dmg at the ftp site, but no fpcsrc
> for 2.2.1. Do I need the source code as well?
> 
> I just tried to install fpc 2.2.1 and clean/build Lazarus, but it says (many
> lines skipped):
> 
>   ...
>   Linking ./hello
>   /usr/bin/ld: can't locate file for: -lglib-1.2.0
>   Error: Error while linking
>   TExternalToolList.Run Exception: Error: Error while linking
>   TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.
> 

Do you have /sw/lib/libglib-1.2.0.dylib ?

See 
http://wiki.lazarus.freepascal.org/Installing_Lazarus_on_MacOS_X#Required_software 
on how to install the required gtk1 libraries.

Vincent




More information about the fpc-pascal mailing list