Lazarus

Installation => macOS / Mac OS X => Topic started by: GillesH on September 14, 2017, 03:45:15 pm

Title: [Solved]How install 2 versions of Lazarus ?
Post by: GillesH on September 14, 2017, 03:45:15 pm
Hello,

Currently only one version is installed : 1.8.RC4. Unfortunately the TMS FNC UI Pack beta testing does not work with this version (reply mail of TMS) and so I must also install a 1.6.4.

Although it is less comfortable than with windows, I installed
My problem is using the configuration folders : Currently the 2 versions use /Users/untel/.lazarus.  :o
I have however created 2 lazarus.cfg files placed in the executable folder of each version containing:
But despite this, the 2 versions recreate a folder /Users/untel/.lazarus (previously erased).
I would prefer not to use sh to launch Lazarus.
Do you know a solution? Thanks. Gilles.
Title: Re: How install 2 versions of Lazarus ?
Post by: Phil on September 14, 2017, 03:47:51 pm
Do you know a solution? Thanks. Gilles.

You have to specify an alternate config file for one of the installations. See step 3 here:

https://macpgmr.github.io/MacXPlatform/UsingCocoaFromTrunk.html
Title: Re: How install 2 versions of Lazarus ?
Post by: GillesH on September 14, 2017, 04:06:30 pm
So...
Code: Pascal  [Select]
  1. cd /Developer/lazarus-1.6.4
  2. open lazarus.app --args "--pcp=~/.lazarus-1.6.4"
and
Code: Pascal  [Select]
  1. cd /Developer/lazarus-1.8
  2. open lazarus.app --args "--pcp=~/.lazarus-1.8"

Impeccable ! Thank you.
Regards. Gilles[/code]