Difference between revisions of "Mac Installation FAQ"

From Lazarus wiki
Jump to navigationJump to search
(Categorization)
(Compilation aborts with weird messages)
Line 1: Line 1:
This page lists the most fequent problems that may arise during installation of Lazarus and Free Pascal on Mac OS X. Please read [[Installing Lazarus on MacOS X]] first and pay special attention to the sections that apply to your versions of Mac OS X, Xcode, Lazarus, Free Pascal.
+
This page lists solutions to the most fequent problems that may arise during installation of Lazarus and Free Pascal on Mac OS X. Please read [[Installing Lazarus on MacOS X]] first and pay special attention to the sections that apply to your versions of Mac OS X, Xcode, Lazarus, Free Pascal.
 +
 
 +
== Compilation aborts with weird messages ==
 +
''I have correctly installed Lazarus and FPC, but compiling a simple demo program stops with the Free Pascal exit code 256 and the "Lazarus Panic /bin/sh: clang: command not found".''
 +
 
 +
'''Solution:''' This behaviour may arise from a too old Xcode version installed. Generally, you should use the newest Xcode version that is available for your operating system. Lazarus 1.6 requires, e.g. Xcode 3.2.6 or newer.
  
 
[[Category: Mac OS X]]
 
[[Category: Mac OS X]]

Revision as of 10:33, 23 April 2016

This page lists solutions to the most fequent problems that may arise during installation of Lazarus and Free Pascal on Mac OS X. Please read Installing Lazarus on MacOS X first and pay special attention to the sections that apply to your versions of Mac OS X, Xcode, Lazarus, Free Pascal.

Compilation aborts with weird messages

I have correctly installed Lazarus and FPC, but compiling a simple demo program stops with the Free Pascal exit code 256 and the "Lazarus Panic /bin/sh: clang: command not found".

Solution: This behaviour may arise from a too old Xcode version installed. Generally, you should use the newest Xcode version that is available for your operating system. Lazarus 1.6 requires, e.g. Xcode 3.2.6 or newer.