Failed to install Free Pascal 2.6.0 on OS X 10.7.3 with Xcode 4.3

I am trying to install Free Pascal 2.6.0 on a Mac with OSX 10.7.3 and XCode 4.3 (for use in Delphi XE2 Update 4). The installer for Free Pascal does not allow itself to be installed on my hard drive. An error message is displayed:

"Free Pascal Compiler 2.6.0 cannot be installed on this disk. Before installing this package, you need to install the Mac OS X Development Tools (Xcode). When installing XCode 3.x or 4.x, make sure to install UNIX Development Support (it is installed by default, but you can remove it).

I have Xcode installed and running. When I installed Xcode (via the Mac App Store) it didn't have any option (and dialog) to deselect UNIX.

While looking for a solution, I found someone with a similar problem. In this case, uninstalling and reinstalling Xcode fixed the issue. However, I don't know how to uninstall Xcode. I cannot find "uninstall-devtools".

Any idea how to fix this problem?

+3


source to share


2 answers


I don't have it, but IIRC, notes that ship with Update 4 say you can use Firemonkey for iOS and FPC with Xcode 4.2, not 4.3. So I guess your only chance is to install 4.2 again. AFAIK, it is possible to have both 4.2 and 4.3 on the same computer.



+3


source


After installing Xcode 4.3.x, you also need to install Unix command line tools .

Do this by launching Xcode, then in Settings -> Downloads make sure you have set the Command Line Tools option.



(solution from Lazarus forum)

+2


source







All Articles