* * *

Author Topic: [Solved]How install 2 versions of Lazarus ?  (Read 1642 times)

GillesH

  • Jr. Member
  • **
  • Posts: 55
[Solved]How install 2 versions of Lazarus ?
« 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
  • /Developer/lazarus-1.6.4
  • /Developer/lazarus-1.8
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:
  • --primary-config-path=/Users/untel/.lazarus-1.8, for one
  • --primary-config-path=/Users/untel/.lazarus-1.6.4 for the other
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.
« Last Edit: September 14, 2017, 04:07:07 pm by GillesH »

Phil

  • Hero Member
  • *****
  • Posts: 2749
Re: How install 2 versions of Lazarus ?
« Reply #1 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

GillesH

  • Jr. Member
  • **
  • Posts: 55
Re: How install 2 versions of Lazarus ?
« Reply #2 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]

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus