Svn For Mac Free Download
Svn client for mac free download. Rocket.Chat Desktop Client Rocket.Chat Desktop client is the official desktop app for Rocket.Chat, the simple but powerful open. On x64 versions of Windows 7 and 8, the TortoiseSVN context menu and overlays won't show for 32-bit applications in their file-open/save dialogs until you install the 2017 C-runtime for x86. (select the vcredist.x86.exe file for download). Note: this only applies to 32-bit applications on x64 OS. The Windows explorer is not affected by this. SmartSVN for Mac 7.5.4 Graphical Subversion client for Mac; Remote Display Client (Mac) 1.0.1 Extend/mirror a desktop on networked PC/Macs. VpnTraffic VPN client for Mac V1.0 Establish a VPN connection to 35+ VPN servers; Apple Mac OS X Lion Update for MacBook Air and Mac Mini 2011 10.7.1 Provides general operating system fixes.
SnailSVN: SVN for Finder for PC and Mac Screenshots
Features and Description
Key Features
Latest Version: 1.9.8
Rated 3/5 By 16 People
What does SnailSVN: SVN for Finder do? SnailSVN is a TortoiseSVN-like Apache Subversion (SVN) client, implemented as a Finder extension.SnailSVN allows you to access the most frequently used SVN features, from the Finder context menu directly.SnailSVN also adds icon overlays to your SVN working copies in Finder. It tracks your SVN working copies and updates the icon overlays automatically, giving you visual feedback of the current state of your working copies.In a few steps, you can start using SnailSVN easily:1. Enable 'SnailSVN Extension' in 'System Preferences » Extensions'.2. Checkout a SVN working copy with SnailSVN (File » SVN Checkout..) or add an existing SVN working copy to SnailSVN.3. Navigate to your working copy in Finder and right click to access SnailSVN functionalities.* FAQQ: There is no icon overlays / context menu for the files?A: Please make sure that you've enabled 'SnailSVN Extension' in 'System Preferences » Extensions', and also make sure that you've added the working copy to SnailSVN Preferences.If your SVN working copy is monitored by multiple Finder extensions, please make sure that SnailSVN Extension comes first in 'System Preferences » Extensions » Finder', you can drag and drop the extensions to adjust the order.If the problem persists, please disable 'SnailSVN Extension' in 'System Preferences » Extensions' and then enable it again. The last resort is to relaunch Finder or restart your computer.Q: What kind of URL schemes does SnailSVN support?A: SnailSVN supports the following URL schemes:• http://• https://• svn://• svn+ssh://• file://Q: How to mark multiple files as checked in the SVN commit window?A: Please select the files you would like to commit, right click and select 'Mark as selected' from the context menu.Q: Does SnailSVN work well with other SVN clients?A: SnailSVN should work with any kinds of SVN clients that is compatible with Subversion 1.7.x, 1.8.x or 1.9.x, from the command line client to the GUI apps.Q: Does SnailSVN work for file managers other than Finder?A: SnailSVN is primarily a Finder extension, so it is likely that it will not work for other file managers.
Download for MacOS - server 1 --> $14.99Download Latest Version
Download and Install SnailSVN: SVN for Finder
Download for PC - server 1 -->MAC:
Download for MacOS - server 1 --> $14.99
Thank you for visiting our site. Have a nice day!
More apps by Langui.net
│English (en) │ 한국어 (ko) │ русский (ru) │
Best Svn Client For Mac
This article applies to macOS only.
See also: Multiplatform Programming Guide
Installing Lazarus on a Mac is not particularly difficult but it is critical that you do the install in the correct order. Skipping steps will almost certainly end in tears. In brief, here is what you need to do:
- Download and install Xcode.
- Install the global command line tools for Xcode.
- Download and install the Free Pascal Compiler (FPC) binaries and the FPC source from the Lazarus IDE file area (Important do this before you install the Lazarus IDE)
- Download and install the Lazarus IDE from the Lazarus IDE file area
- Configure LLDB - the Apple supplied (and signed) debugger from within the Lazarus IDE.
These steps are explained in more detail below.
- 1Installation
- 1.3Step 3: FPC, FPC Source
- 1.3.2Other FPC Options
- 1.5Step 5: Configure the Debugger
- 1.3Step 3: FPC, FPC Source
- 4Installing non-release versions of the Lazarus IDE
- 4.1Lazarus Fixes 2.0
- 4.2Lazarus Trunk
- 5Installing non-release versions of FPC
- 6Known issues and solutions
- 6.3Installing Lazarus 2.0.8, 2.0.10 with FPC 3.2.0 for macOS 10.10 and earlier
- 7Uninstalling Lazarus and Free Pascal
Installation
The detailed instructions assume a recent version of macOS on your Mac, a recent version of Xcode from Apple and a recent version of Lazarus. On the Legacy Information page, you will see older information that may be relevant if you are using older components. You can assist by replacing out of date information, either deleting it, or, if it may help someone working with a legacy project, moving it to the legacy information page.
In general, this is about using both the Carbon and Cocoa Widget Sets. While Carbon was once seen as a little more stable, with the release Lazarus 2.0.8 the 64 bit Cocoa Widget Set has now surpassed Carbon and should be considered seriously for any new projects. Carbon was intentionally limited to 32 bits by Apple and you should be aware that it and the ability to run 32 bit executables have been removed completely from macOS 10.15 Catalina and later versions which now only support 64 bit executables using Cocoa.
Step 1: Download Xcode
You need the Apple Developer tools, which are a part of the Xcode development environment.
Xcode 11.3.1 for use on macOS 10.14 Mojave must now be installed by downloading it from Apple Developer Connection (ADC), which requires free registration. Xcode 11.4.x for use on macOS 10.15 Catalina can be installed from the Mac App store. Note that you must first move any old Xcode versions from the Applications folder into the trash or rename the Xcode app (eg Xcode.app to Xcode_1014.app). You can select which version of Xcode to use with the command line utility xcode-select.
Older systems:
The developer tools can be installed from the original macOS installation disks or a newer copy downloaded from the Apple Developer Connection (ADC), which requires free registration. Download the Xcode file, it will end up in your Downloads directory as a zip file. Click it. It is unarchived into your Downloads directory. You may be happy with it there but maybe not. Other users will see the path to it but be unable to use it. And it is untidy there. So I moved mine and then told xcode-select where it was moved to (in a terminal) -
Step 2: Xcode Command Line Tools
This is shown here as a separate step because it really is a separate step in addition to Step 1. Don't confuse this with the internal Xcode command line tools that the Xcode GUI will tell you are already installed. Lazarus cannot use those Xcode internal command line tools, so do the following (it is quick and easy)-
If you have problems installing using this command line method (e.g. the installer freezes while 'finding Software'), you can also download and install the package by logging in to the Apple Developer Site and downloading and installing the Command Line Tools for Xcode Disk image.
Step 3: FPC, FPC Source
Note: For installation on Apple Silicon/AArch64, after installing the 64 bit Intel binary and source for FPC, please refer to these instructions for building a native Apple Silicon Free Pascal Compiler.
Download and install the Free Pascal Compiler (FPC) binaries and the separate source package. A compatible FPC (and source) must be installed before you install Lazarus. You have a number of options.
Source Forge (Official Repository)
Download the official Free Pascal Compiler (FPC) binaries and FPC source packages from the Lazarus IDE file area. When you arrive at that file area, choose the correct version of your operating system. The vast majority of Mac users should now choose the 64 bit packages in the Lazarus macOS x86-64 directory. Every Mac computer since late 2006 has been 64 bit capable. The fact that Apple has completely dropped all 32 bit support from macOS 10.15 Catalina (released in October 2019) is another reason to choose the 64 bit packages.
These binary install kits are built by the FPC/Lazarus developers and track formal releases. As these install kits are not approved by Apple, you need to hold down the Control key, click the package and choose Open and confirm you want to install from an Unknown Developer.
You might like to apply a simple and quick test of FPC at this stage - Testing FPC installation.
Other FPC Options
fpcupdeluxe
You could also consider using fpcupdeluxe to install FPC and Lazarus.
fink
Alternatively, you can use fink, a package manager for macOS to install FPC. Note at the time of writing (Early 2020) fink offers Lazarus 2.0.6. The extra bonus of fink is easy installation as well as clean removal of a huge number of other open source software packages, including Free Pascal crosscompilers for many processors and systems. The choice for Lazarus is between a Carbon or Cocoa look, a gtk2 look, a Qt4-based and a Qt5-based version:
You will be asked, whether to install a number of dependencies, including the Free Pascal Compiler, the Lazarus sources. Simply hit RETURN at the prompt and go for a coffee. It may take quite some time to build all packages, in particular on older Macs.
After installation, Lazarus can be started from the folder /Applications/Fink/. The actual details of FPC and Lazarus are in subdirectories of /sw
With any Lazarus package from fink, these widget sets are supported for your program on macOS:
carbon (Aqua), cocoa, gtk2, qt4 (Aqua), qt5 (Aqua), nogui, win32, win64 and wince.
If you install FPC from fink, you will be fine downloading Lazarus source and compiling as detailed below. However, its possibly not a good idea to mix fink FPC with the Sourceforge binary install of Lazarus.
MacPorts
MacPorts also has a package description of the cocoa-64 bit version of Lazarus. Install it with:
Step 4: Install the Lazarus IDE
Note: For installation on Apple Silicon/AArch64, please refer to the Lazarus Fixes 2.0 or Lazarus Trunk instructions to build a native Lazarus IDE. Skip to the building instructions and use the Lazarus Fixes 2.0 source / Lazarus Trunk source / Lazarus 2.1.0 release version source download as you wish.
Download and install the Lazarus IDE from the Lazarus IDE file area. When you arrive at that file area, choose the correct version of your operating system. The vast majority of Mac users should now choose the 64 bit packages in the Lazarus macOS x86-64 directory. Every Mac computer since late 2006 has been 64 bit capable. The fact that Apple has completely dropped all 32 bit support from macOS 10.15 Catalina (released in October 2019) is another reason to choose the 64 bit packages.
Step 5: Configure the Debugger
In versions of Lazarus 1.8.4 and earlier, you needed to use gdb as a debugger, slow to install and hard to sign. Since Lazarus 2.0.0 you can (and should) use lldb, a debugger provided by Apple, no signing required.
Assuming you have installed what is necessary and started Lazarus, all that remains is configuring the debugger. If you don't do this now, Lazarus will try to use gdb and fail.
First, click Tools > Options > Debugger. Top right of the window now open has a label, 'Debugger type and path', you must set both. Select 'LLDB debugger (with fpdebug) (Beta)'.
If it is not shown in the selection list, see Installing LazDebuggerFpLLdb below. The XCode command line tools install lldb to the /usr/bin directory. Save those settings and you can now try to compile the almost nothing program that Lazarus has kindly provided for you (click the small green triangle near top left).
Next you see a puzzling question, see image below. Choose a 'Debug Format' from one of the offered -
Martin_fr, the person who has given us this interface between Lazarus and lldb, suggests you use 'dwarf3' . Then, you need to enter your password, a macOS cuteness because one application appears to be interfering with another. In this case, that's fine!
In the latest versions of Lazarus (tested on 2.1.0 compiled from source) click Lazarus > Preferences.. > Debugger > Debugger backend. In the Debugger type and path box select 'LLDB debugger (with fpdebug)(Beta) and /usr/bin/lldb. This requires that the package lazdebuggerfplldb.lpk has been installed for it to work as described below.
When running the debugger from time to time you will be asked for your password to allow debugging. This is for your own safety.
Extra Information on using lldb
A great deal of information about using lldb appears in this forum thread. Here are a few gems, again, from Martin_fr:
In the unexpected case of problems, it may be worth trying 'dwarf with sets' instead of just 'dwarf3'.
The 'debug info' setting only affects the units directly in your project. However, units in packages may have debug info too. This can be:
- set per package
- for many, but not all packages in the menu Tools > Configure 'Build Lazarus'
- Project > Project Options > Additions and Overrides
If you change settings for a package, you might want to check which package you expect to step into when debugging. Packages you do not step into, do not need debug info.
If you use a type from a package (such as TForm from LCL) it is enough that your unit (in which you declare the variable / must declare and use a variable to include the type) has debug info. Reducing the number of packages with debug info (including those that default to have debug info), can shorten the debuggers start-up time.
Also it may be worth comparing (it has not been tested) the debuggers start up time for the same settings, only changing the checkbox 'use external debug info'.
This needs to be only set in your project. If set in your project it will affect all packages. (If set in a package it will do nothing / at least should..)
Installing LazDebuggerFpLLdb
If you installed from source and used the bigide parameter to make, then the correct debugger will be installed, as a package, and ready to go. If, however, you installed in another way, it may, or may not be there. From the main IDE screen, click Packages->Install/UninstallPackages. Shown is two lists of packages, the list on the left is installed, the list on the right is available to install. Look for LazDebuggerFpLldb (exactly that, there are some similar named but less suitable packages). If it is on the right hand side, click it, press 'Install Selection' and then 'Save and rebuild IDE'. This will take a little time, the IDE will shutdown and restart and all should be well. Now jump back up the page and continue configuring the debugger.
Cocoa 64 bit vs Carbon 32 bit
Lazarus using the Apple 64 bit Cocoa framework should now meet the needs of users. The Apple 32 bit Carbon framework works pretty much as expected but you are advised to try Cocoa first, because Apple has dropped support for 32 bit applications and the Carbon framework from macOS 10.15 Catalina which was released in October 2019.
Alternatives include QT and GTK2+, both requiring additional libraries and GTK2+ on the Mac appears to get little attention these days. QT on the Mac does have some strong supporters on the Lazarus forum.
Cocoa is now undeniably the future on the Mac. It is possible to build an all Cocoa version of Lazarus with release 2.0.0 and later. It is also possible to make a Carbon install of Lazarus (unless you are running macOS 10.15 Catalina or later) and use that to generate Cocoa 64 bit binaries.
In the Carbon or Cocoa IDE, you need to set the Target to the 64 bit processor and select the Cocoa Widget set:
- Open your project with Lazarus and from the menu select Project > Project Options
- In the 'Config and Target' panel set the 'Target CPU family' to be 'x86_64'
- In the 'Additions and Overrides' panel click on 'Set LCLWidgetType' pulldown and set the value to 'Cocoa'
- For some reason Lazarus sets the compiler to '/usr/local/bin/ppc386' - which results in 32 bit applications. Make sure under Tools > Options that 'Compiler Executable' is set to '/usr/local/bin/fpc' to get 64 bit applications.
- Now compile your project - and please feed back any problems you experience.
FPC + Lazarus Compatibility Matrix
Not every combination of Lazarus and Free Pascal is compatible with every installation of macOS. Please refer to the following table in order to find the correct version for your development environment:
Lazarus 1.6.0 | Lazarus 1.6.2 | Lazarus 1.6.4 | Lazarus 1.8.x | Lazarus 2.0.y | Lazarus 2.0.8 | Lazarus 2.0.10 | |
---|---|---|---|---|---|---|---|
FPC 3.0.0 | FPC 3.0.2 | FPC 3.0.4 | FPC 3.2.0 | ||||
PPC processors | |||||||
Mac OS X 10.4 (Tiger) | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible |
Mac OS X 10.5 (Leopard) | Not tested | Not tested | Not tested | Not tested | Incompatible | Incompatible | Incompatible |
Intel processors | |||||||
Mac OS X 10.4 (Tiger) | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible | Incompatible |
Mac OS X 10.5 (Leopard) | Not tested | Not tested | Not tested | Not tested | Compatible^ | Not tested | Compatible^**† |
Mac OS X 10.6 (Snow Leopard) | Compatible | Compatible | Compatible | Compatible | Compatible* | Not tested | Not tested |
Mac OS X 10.7 (Lion) | Compatible | Compatible | Compatible | Compatible | Not tested | Not tested | Not tested |
OS X 10.8 (Mountain Lion) | Compatible* | Compatible* | Compatible* | Compatible* | Compatible | Compatible**# | Compatible**# |
OS X 10.9 (Mavericks) | Compatible* | Compatible* | Compatible* | Compatible* | Compatible | Compatible**† | Compatible**† |
OS X 10.10 (Yosemite) | Compatible* | Compatible* | Compatible* | Compatible* | Compatible | Compatible**† | Compatible**† |
OS X 10.11 (El Capitan) | Compatible* | Compatible* | Compatible* | Compatible* | Compatible | Compatible***† | Compatible† |
macOS 10.12 (Sierra) | Compatible* | Compatible* | Compatible* | Compatible* | Compatible | Compatible***† | Compatible† |
macOS 10.13 (High Sierra) | Not tested | Not tested | Compatible | Not tested | Compatible | Compatible***† | Compatible† |
macOS 10.14 (Mojave) | Not tested | Not tested | Not tested | Not tested | Compatible | Compatible***† | Compatible† |
macOS 10.15 (Catalina) | Not tested | Not tested | Not tested | Not tested | Compatible | Compatible***† | Compatible† |
macOS 11.0.1 (Big Sur) | Not tested | Not tested | Not tested | Not tested | Compatible | Compatible***† | Compatible† |
Apple Silicon processors | |||||||
macOS 11.0.1 (Big Sur) | Not tested | Not tested | Not tested | Not tested | Not tested | Not tested | Compatible†† |
x = 0, 2 or 4; y = 0, 2, 4, 6, 8 or 10
^ Carbon interface compiles - Cocoa does not.
* Restrictions apply to debugging with gdb.
** See Installing Lazarus 2.0.8, 2.0.10 with FPC 3.2.0 for macOS 10.10 and earlier for instructions.
*** See Installing Lazarus 2.0.8 with FPC 3.2.0 for macOS 10.11+ for instructions.
# Cannot run with/without debugging in the IDE. Can run compiled application outside of the IDE. See Issue #37324
† Cannot run without debugging in the IDE. Can run compiled application outside of the IDE. See Lazarus IDE - Unable to 'run without debugging' for workaround. See Issue #36780.
†† You need to compile a native aarch64 version of FPC 3.2.0 and Lazarus trunk from source to support an Apple Silicon Mac. Refer to these instructions for FPC and these instructions for the Lazarus IDE.
Installing non-release versions of the Lazarus IDE
Lazarus Fixes 2.0
There are a number of reasons why you may be better off using a non-release version of Lazarus, specifically, fixes_2_0. Particularly:
- You almost certainly need to target Cocoa, macOS 10.15 Catalina does not support 32 bit Carbon at all.
- The Cocoa widget set has steadily improved, and the lldb debugger interface has rapidly improved, since even v2.0.0.
- Fixes_2_0 is a safer and more stable option than trunk, but still gets the new features much faster than the release version.
Precompiled binaries based on fixes_2_0 are not available from SourceForge but can be obtained from fpcupdeluxe. But here we will discuss downloading source and building. A little slow initially but very reliable and a great test of your compiler install ! You will need git which is included in all recent versions of the Xcode command line tools which you should have already installed (see Xcode Command Line Tools above).
About svn or git: The Xcode 11.4 command line tools on macOS 10.15 no longer install svn, only git. You can install subversion via fink, ports or brew.
Additional notes for building a native aarch64 Lazarus IDE for an Apple Silicon processor Mac
- Ensure you have compiled a native aarch64 Free Pascal Compiler (see Apple Silicon Support for how to do this).
- When building Lazarus, change the CPU_TARGET in the instructions below from x86_64 (Intel) to aarch64 (ARM64).
- Omit the bigide option from the Lazarus build because the TAChart component currently fails to build.
- Once Lazarus has been built, go to the Package > Install/Uninstall Packages menu and install the following packages so that you can use the debugger:
- fpdebug
- LazDebuggerFp
- LazDebuggerFpLldb
- Rebuild Lazarus from within the IDE.
Downloading Lazarus Fixes 2.0 source
Create a directory for Lazarus and download the current fixes version:
Using git:
Using svn:
Depending on your internet connection and server congestion this takes a few seconds or a couple of minutes.
Updating Lazarus Fixes 2.0 source
To keep your fixes_2_0 installation up to date is as easy as:
Using git:
Using svn:
Building Lazarus Fixes 2.0 source
- Note I pass a parameter to use a config directory that is based on the name of the actual install directory. It makes some scripting easy.
- On older macOS supporting 32bit applications, replace above make line with 'make LCL_PLATFORM=carbon CPU_TARGET=i386 bigide ' and setup your project as mentioned in the Carbon and Cocoa section below.
You might like to put a small script in your $HOME/bin directory and even set a path to it (very UNIX!)
Lazarus Trunk
Precompiled binaries based on the trunk development version of the Lazarus IDE are not available from SourceForge, so here's how to download the trunk source using svn or git and build the Lazarus IDE. You will need svn (before macOS 10.15 - Catalina) or git (after macOS 10.14 - Mojave) which is included in the Xcode command line tools which you should have already installed (see Xcode Command Line Tools above).
Additional notes for building a native aarch64 Lazarus IDE for an Apple Silicon processor Mac
- Ensure you have compiled a native aarch64 Free Pascal Compiler (see Apple Silicon Support for how to do this).
- When building Lazarus, change the CPU_TARGET in the instructions below from x86_64 (Intel) to aarch64 (ARM64).
- Omit the bigide option from the Lazarus build because the TAChart component currently fails to build.
- Once Lazarus has been built, go to the Package > Install/Uninstall Packages menu and install the following packages so that you can use the debugger:
- fpdebug
- LazDebuggerFp
- LazDebuggerFpLldb
- Rebuild Lazarus from within the IDE.
Downloading Lazarus trunk source
Using git:
Using svn:
Updating Lazarus trunk source
To update your existing trunk source.
Using git:
Using svn:
Building Lazarus trunk source
What does the bigide make argument do?
The bigidemake argument adds a bunch of packages to Lazarus that many find useful and cannot do without. The packages that are added are:
|
|
|
The above list is sourced from the [Lazarus source directory]/IDE/Makefile.fpc and may be subject to change.
Note that if you have not compiled your own Lazarus IDE with the bigide argument, you can install any of these packages yourself using the Lazarus IDE Package > Install/Uninstall Packages.. dialog.
Installing non-release versions of FPC
Free Svn For Mac
FPC Trunk
- FPC User Changes in Trunk - may break existing code.
Note that since fpc trunk is by definition still under development, some of the features may still change before they end up in a release version.
The source code is kept in a version control system called subversion or svn for short, and is mirrored in git:
- macOS 10.5 and higher already contain a command line svn or git client if you have installed the Xcode command line utilities. You can also use fink, port or brew to get an svn client on newer macOS. SVN clients with GUI (graphical user interface) are available from Versiontracker. A quite handy client, which integrates in Finder, is SCPlugin.
- You also need the latest released Free Pascal Compiler version (3.2.0 as of July 2020) installed in order to be able to successfully compile the development (trunk) version.
Create a directory where you would like to put the source (eg fpc in your home directory). You don't need to be root to do this. Any normal user can do this. Open an Applications > Utilities > Terminal and do the following:
Using git:
Using svn:
This will create a directory called 'fpc', which can be later used in the IDE, and download the FPC source to it.
To subsequently download/update the latest source changes you can simply do:
Using git:
Using svn:
To build and install FPC (the highlighted text should be all on one line):
You will also need to update the links for the compiler in /usr/local/bin which will be pointing to the previous FPC version. For example:
Note that you will need to build a new ppc386
compiler if you want to continue to compile 32 bit applications by replacing these lines (this may not be possible after Xcode 11.3.1 and macOS 10.14.6 Mojave because of Apple's removal of 32 bit frameworks):
with these two lines:
Known issues and solutions
Resurrecting Subversion (svn) on Catalina and Big Sur
Xcode version 11.3.1 (Mojave) was the last version to include the Subversion (svn) utilities. You can however copy the utilities and their associated libraries from a Mojave Mac to Catalina and Big Sur on both Intel and ARM processor Macs. There are two methods to do this - one uses Subversion from Xcode and the other uses Subversion from the command line tools as follows:
Installing Lazarus 2.0.8 with FPC 3.2.0 for macOS 10.11+
- There is a patch needed for Lazarus 2.0.8 so that the Cocoa widgetset can be compiled:
- After making this patch, recompile Lazarus 2.0.8 from within itself or with this build_laz.sh shell script (adjust path for Lazarus source as required):
Installing Lazarus 2.0.8, 2.0.10 with FPC 3.2.0 for macOS 10.10 and earlier
- [Lazarus 2.0.8 only] There is a patch required Lazarus 2.0.8 so that the Cocoa widgetset can be compiled. See above.
- [Lazarus 2.0.8 + 2.0.10] There is also a patch needed for FPC 3.2.0. Edit the FPC 3.2.0 source in ./packages/cocoaint/src/CocoaAll.pas and comment out or remove the CoreImage linking line:
- To rebuild FPC 3.2.0 with the patch, you need an FPC 3.0.4 binary installation. My build_320.sh shell script to rebuild and reinstall FPC 3.2.0 (adjust path for FPC source as required):
Note that:
- if more than one line above is highlighted, all the highlighted content should be on one line;
- you may need to change the second line depending on where your FPC Source code is installed;
- you will almost certainly need to run the script by using
sudo
.
Now rebuild Lazarus with this build_laz.sh shell script (adjust path for Lazarus source as required):
- macOS 10.5 Leopard
- After installing Xcode 3.1 (includes the command line tools) for Leopard, the first issue is that Xcode 3.1 does not come with the Clang compiler.
- The solution is to create/add this to the .fpc.cfg file in your home directory:
- The second issue is that the official Lazarus Mac OS X i386 download of FPC is FPC 3.0.4 and not 3.2.0.
- The solution is to download the source for FPC 3.2.0 to your home directory. Open an Applications > Utilities > Terminal and:
- The third issue is that the official Lazarus Mac OS X i386 download for Lazarus 2.0.10 was compiled with FPC 3.0.4 and not FPC 3.2.0.
- The solution is to download the Lazarus release sources to your home directory. Open an Applications > Utilities > Terminal and:
Mac Svn Tool
- Compiling FPC 3.2.0 on Leopard is tricky (thanks to Jonas for supplying the solution). Before compiling FPC 3.2.0, make this change to the source so that it will not attempt to link the missing CoreImage framework. Then compile using the following build_320.sh script (enter your password at the prompt for the install to proceed):
Note: The highlighted line above should all be on one line.
Svn Mac Os
- Compiling Lazarus 2.0.10 is less tricky. Before compiling Lazarus 2.0.10, make this change to the source so that the 'run without debugging' option will work. I use the following build_laz.sh script:
Note: The highlighted line above should all be on one line.
- Finally, launch the newly compiled lazarus.app and adjust these Lazarus settings:
- Tools > Options > Environment > Files > Compiler executable: this should be set to /usr/local/bin/ppc386.
- Project > Project Options > Custom Options: add -WM10.5 to the Custom options.
- Project > Project Options > Config and Target > Target CPU family: set to i386.
- Project > Project Options > Config and Target > Current LCL widgetset: set to Carbon.
- Project > Project Options: in the left pane, at the bottom, check 'Set compiler options as default'.
You should now be able to successfully compile and run the Lazarus default blank form project.
- macOS 10.8 Mountain Lion additional steps
- The first issue is that the official Lazarus pkg file downloads will not install on Mountain Lion, giving the error 'Lazarus IDE cannot be installed on this disk' being the only disk in the system!
- The solution is to download the Lazarus release sources to your home directory. Open an Applications > Utilities > Terminal and:
- Unfortunately the compiler and assembler in the last version of Xcode and its command line tools available for Mountain Lion is too old to compile Lazarus.
- The solution is to download the macOS Clang7 binary package from https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz, uncompress it and install in your home directory.
- Open an Applications > Utilities > Terminal and:
Now follow the steps above.
Lazarus IDE - Unable to 'run without debugging'
If you are using the Lazarus IDE 2.0.10 and the Run > Run without debugging menu option fails with a dialog similar to:
then you need to patch the Lazarus 2.0.10 source code (Issue #37324 and Issue #36780). Specifically, patch ./ide/main.pp as below (unpatched lines shown first, patched lines shown second):
and recompile the Lazarus IDE.
Alternatively, you can omit patching the source code and simply recompile Lazarus 2.0.10 with FPC 3.0.4.
A similar patching exercise and recompiling, or simply recompiling with FPC 3.0.4, needs to be done for Lazarus 2.0.8 if it has been compiled with FPC 3.2.0.
Upgrading from Mojave (10.14) to Catalina (10.15)
- Run
sudo xcode-select --install
- To enable Lazarus to locate the crt1.10.5.o file change in /etc/fpc.cfg the -Fl behind '#ifdef cpux86_64' from
to
Building the FPC compiler from Mojave (10.14) onwards
- To find the crt1.10.5.o file when building a later Free Pascal Compiler version from source, you need to specify:
on the make command line because FPC ignores the /etc/fpc.cfg configuration file during builds of itself.
Mac Installation FAQ
- See the Mac Installation FAQ for solutions to other common problems that may arise during (and after) installation of Lazarus and Free Pascal on macOS.
Uninstalling Lazarus and Free Pascal
Installed using fink
The complete uninstall of all fpc and lazarus packages is done with:
Game dev tycoon free download apk. If you want to preserve changes to the preference file /sw/etc/fpc.cfg, do:
For the removal of the Lazarus preferences subdirectory in your home directory, and the files that it contains, see the end of the next section.
Installed from packages or source
Normally you uninstall an application on macOS simply by dragging it from the Applications folder to the trash. But because Lazarus and Free Pascal are development tools, they're installed in several folders that you don't normally see in Finder.
You can copy and save the commands below to file uninstallLaz.sh and run it if you need to uninstall Lazarus and Free Pascal. You can usually install newer versions of Lazarus and Free Pascal over older versions, but as with most software it's not a bad idea to clean out everything before you install a newer version. This list of commands should also give you a sense of where the various pieces of Lazarus and Free Pascal are located.
Note that this assumes you have version 3.0.4 of Free Pascal installed. If you have a different version, change the two lines with a version number to specify your version.
To run this script, change to the directory where it's stored and enter:
Then enter your password when prompted.
Lazarus preference folder .lazarus in the home directory
Lazarus also creates a .lazarus preferences subdirectory in your home directory where it stores environment settings and a list of recently opened projects and files. You can leave this folder alone if you want the new version of Lazarus you're installing to use your old settings. macOS normally doesn't show files or folders whose names start with a dot (.). To see this folder and its contents, open an Applications > Utilities > Terminal and enter the following in the Terminal window:
To remove it, execute the following commands:
Legacy Information
See Legacy Information for details of:
- installing Lazarus on Mac OS X 10.4 (Tiger);
- installing Lazarus on PowerPC-based Macs;
- old Xcode versions;
- installing the gdb debugger;
- compatibility matrix for Lazarus 1.0.0 through 1.6.4 and FPC 2.6.0 through 3.0.2.
See also
- Mac Portal for an overview of development for macOS with Lazarus and Free Pascal.
- Mac Installation FAQ for solutions to the most frequent problems that may arise during (and after) installation of Lazarus and Free Pascal on macOS.