Recent

Author Topic: MacOS Install Trunk Branch Alongside of 2.0.10?  (Read 1840 times)

Dan3468298

  • Full Member
  • ***
  • Posts: 129
MacOS Install Trunk Branch Alongside of 2.0.10?
« on: July 26, 2020, 06:12:24 pm »
Looking for some guidance on installing the Trunk Branch that has latest fixes alongside 2.0.10.   Questions:

1) Where do I download Trunk Fixes install from?

2) Can I pick another directory on install to install this instance, or are other additional considerations needed?

Thanks!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2532
    • havefunsoft.com
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #1 on: July 26, 2020, 06:34:08 pm »
for ease of use you might want to try fpcupdeluxe. it should get the trunk for you, and should be able to setup Lazarus into a separate directory.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #2 on: July 26, 2020, 07:30:17 pm »
 In the app GUI, do I select 'Trunk' or 'Fixes' before selecting 'Install FP+Laz'?  Or do I have to install both?   Thanks!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2532
    • havefunsoft.com
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #3 on: July 26, 2020, 07:51:11 pm »
you probably want to use Lazarus only.
and you want select only "Trunk" for it.

Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #4 on: July 26, 2020, 08:35:46 pm »
Errors on attempt, Logs:

Code: Pascal  [Select][+][-]
  1. Going to install/update Lazarus only with given options.
  2. FPCUP(deluxe) is starting up.
  3.  
  4. Bootstrap dir:         /Applications/LazTrunk/fpcbootstrap
  5. FPCupdeluxe basedir:   /Applications/LazTrunk
  6. FPC URL:               https://svn.freepascal.org/svn/fpc/trunk
  7. FPC options:          
  8. FPC source directory:  /Applications/LazTrunk/fpcsrc
  9. FPC install directory: /Applications/LazTrunk/fpc
  10. Lazarus URL:               https://svn.freepascal.org/svn/lazarus/trunk
  11. Lazarus options:          
  12. Lazarus source directory:  /Applications/LazTrunk/lazarus
  13. Lazarus install directory: /Applications/LazTrunk/lazarus
  14.  
  15. Please stand back and enjoy !
  16.  
  17. 26-7-20 13:31:15: fpcupdeluxe: V304 (20200722) started.
  18. FPCUPdeluxe V1.8.0e for x86_64-darwin running on Mac OS X 10.15.5
  19.  
  20. Found valid bsdtar application.
  21. Found valid make application.
  22. Found valid make application.
  23. fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Deleting Lazarus primary config file (lazarus.cfg).
  24. fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Running "make distclean" twice inside /Applications/LazTrunk/lazarus/
  25. fpcupdeluxe: Executing: /usr/bin/make FPC=/Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc PP=/Applications/LazTrunk/fpc/bin/x86_64-darwin/ppcx64 PREFIX=/Applications/LazTrunk/lazarus INSTALL_PREFIX=/Applications/LazTrunk/lazarus LAZARUS_INSTALL_DIR=/Applications/LazTrunk/lazarus/ OS_SOURCE=darwin CPU_SOURCE=x86_64 OS_TARGET=darwin CPU_TARGET=x86_64 --directory=/Applications/LazTrunk/lazarus/ distclean (working dir: /Applications/LazTrunk/lazarus)
  26. make: *** No rule to make target `distclean'.  Stop.
  27. fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): Checking Lazarus sources with TSVNClient
  28. Found valid svn application.
  29. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  30. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  31. fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): sources ok.
  32. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Start checkout/update of Lazarus sources.
  33. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  34. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  35. fpcupdeluxe: info: Directory /Applications/LazTrunk/lazarus is not an SVN repository (or a repository with the wrong remote URL).
  36. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  37. fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): Running SVN checkout or update.
  38. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  39. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  40. fpcupdeluxe: Executing: /usr/bin/svn checkout --quiet --non-interactive --trust-server-cert -r HEAD https://svn.freepascal.org/svn/lazarus/trunk/ /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  41. fpcupdeluxe: WARNING: SVN client error return code: 18432
  42. fpcupdeluxe: Executing: /usr/bin/svn checkout --quiet --non-interactive --trust-server-cert -r HEAD https://svn.freepascal.org/svn/lazarus/trunk/ /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  43. fpcupdeluxe: WARNING: SVN client error return code: 18432
  44. fpcupdeluxe: Executing: /usr/bin/svn checkout --quiet --non-interactive --trust-server-cert -r HEAD https://svn.freepascal.org/svn/lazarus/trunk/ /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  45. fpcupdeluxe: WARNING: SVN client error return code: 18432
  46. fpcupdeluxe: Executing: /usr/bin/svn checkout --quiet --non-interactive --trust-server-cert -r HEAD https://svn.freepascal.org/svn/lazarus/trunk/ /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  47. fpcupdeluxe: WARNING: SVN client error return code: 18432
  48. fpcupdeluxe: Executing: /usr/bin/svn cleanup --non-interactive /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  49. fpcupdeluxe: Executing: /usr/bin/svn update --quiet --non-interactive --trust-server-cert -r HEAD /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  50. fpcupdeluxe: ERROR: SVN client error return code: 18432
  51. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  52. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  53. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  54. fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)
  55. fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): SVN gave error code: 18432
  56.  
  57. fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): SVN gave error message: svn: error: Failed to locate 'svn'.
  58. svn: error: The subversion command line tools are no longer provided by Xcode.
  59.  
  60. fpcupdeluxe: ERROR: LazarusNativeInstaller (GetModule: Lazarus): Checkout/update of Lazarus sources failure.
  61.  
  62.  
  63. ERROR: Fpcupdeluxe fatal error !
  64. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  65. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only
  66.  
  67. fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.
  68. fpcupdeluxe: WARNING: SVN client error return code: 18432
  69. fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.
  70. fpcupdeluxe: WARNING: SVN client error return code: 18432
  71. fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.
  72. fpcupdeluxe: WARNING: SVN client error return code: 18432
  73. fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.
  74. fpcupdeluxe: WARNING: SVN client error return code: 18432
  75. fpcupdeluxe: Start of compile error summary.
  76. fpcupdeluxe: ERROR: SVN client error return code: 18432
  77. fpcupdeluxe: Start of compile error summary.

Not sure how to precede.   Mayday!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1364
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #5 on: July 26, 2020, 09:27:58 pm »
The log is very clear. Newest XCode does not include SVN, so you cannot checkout a SVN repository.
You can try to choose a GIT version of FPC and Lazarus trunk. AFAIK, GIT is made available by XCode, but I stand corrected if not.
See screenshot.

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #6 on: July 26, 2020, 10:37:35 pm »
Did the git version and installed well but MacOS told the Laz App file was damaged.  So tried download again and received:

Code: Pascal  [Select][+][-]
  1.  
  2. Going to install/update Lazarus only with given options.
  3. FPCUP(deluxe) is starting up.
  4.  
  5. Bootstrap dir:         /Applications/LazTrunk/fpcbootstrap
  6. FPCupdeluxe basedir:   /Applications/LazTrunk
  7. FPC URL:               https://svn.freepascal.org/svn/fpc/trunk
  8. FPC options:          
  9. FPC source directory:  /Applications/LazTrunk/fpcsrc
  10. FPC install directory: /Applications/LazTrunk/fpc
  11. Lazarus URL:               https://github.com/graemeg/lazarus.git
  12. Lazarus options:          
  13. Lazarus source directory:  /Applications/LazTrunk/lazarus
  14. Lazarus install directory: /Applications/LazTrunk/lazarus
  15.  
  16. Please stand back and enjoy !
  17.  
  18. 26-7-20 15:36:09: fpcupdeluxe: V304 (20200722) started.
  19. FPCUPdeluxe V1.8.0e for x86_64-darwin running on Mac OS X 10.15.5
  20.  
  21. Found valid bsdtar application.
  22. Found valid make application.
  23. Found valid make application.
  24. fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Deleting Lazarus primary config file (lazarus.cfg).
  25. fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Running "make distclean" twice inside /Applications/LazTrunk/lazarus/
  26. fpcupdeluxe: Executing: /usr/bin/make FPC=/Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc PP=/Applications/LazTrunk/fpc/bin/x86_64-darwin/ppcx64 PREFIX=/Applications/LazTrunk/lazarus INSTALL_PREFIX=/Applications/LazTrunk/lazarus LAZARUS_INSTALL_DIR=/Applications/LazTrunk/lazarus/ OS_SOURCE=darwin CPU_SOURCE=x86_64 OS_TARGET=darwin CPU_TARGET=x86_64 --directory=/Applications/LazTrunk/lazarus/ distclean (working dir: /Applications/LazTrunk/lazarus)
  27. Makefile:134: *** Compiler /Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc not found.  Stop.
  28. fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): Checking Lazarus sources with TGitClient
  29. Found valid git application.
  30. fpcupdeluxe: Executing: /usr/bin/git status --porcelain (working dir: /Applications/LazTrunk/lazarus)
  31. fpcupdeluxe: Executing: /usr/bin/git config remote.origin.url (working dir: /Applications/LazTrunk/lazarus)
  32. fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): sources ok.
  33. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Start checkout/update of Lazarus sources.
  34. fpcupdeluxe: Executing: /usr/bin/git log -n 1 --grep=^git-svn-id: (working dir: /Applications/LazTrunk/lazarus)
  35. fpcupdeluxe: Executing: /usr/bin/git status --porcelain --untracked-files=no (working dir: /Applications/LazTrunk/lazarus)
  36. fpcupdeluxe: info: LazarusNativeInstaller (GitClient: Lazarus): Running GIT checkout or update.
  37. fpcupdeluxe: Executing: /usr/bin/git status --porcelain (working dir: /Applications/LazTrunk/lazarus)
  38. fpcupdeluxe: Executing: /usr/bin/git config remote.origin.url (working dir: /Applications/LazTrunk/lazarus)
  39. fpcupdeluxe: Executing: /usr/bin/git pull --all --recurse-submodules=yes (working dir: /Applications/LazTrunk/lazarus)
  40. fpcupdeluxe: Executing: /usr/bin/git submodule update (working dir: /Applications/LazTrunk/lazarus)
  41. fpcupdeluxe: Executing: /usr/bin/git reset --hard (working dir: /Applications/LazTrunk/lazarus)
  42. fpcupdeluxe: Executing: /usr/bin/git rev-list --max-count=1 HEAD (working dir: /Applications/LazTrunk/lazarus)
  43. fpcupdeluxe: Executing: /usr/bin/git log -n 1 --grep=^git-svn-id: (working dir: /Applications/LazTrunk/lazarus)
  44. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision: 63657
  45. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision: 63657
  46. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): No Lazarus patches defined.
  47. fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): Looking for LLDB debugger for Lazarus.
  48. fpcupdeluxe: Executing: /Library/Developer/CommandLineTools/usr/bin/lldb --version (working dir: /Applications/LazTrunk/lazarus)
  49. fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): GDB --version output: lldb-1103.0.22.10
  50. fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): GDB major version: 1103
  51. fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.1.0
  52. fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 0.0.0
  53. fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): Running: make lazbuild
  54. fpcupdeluxe: Executing: /usr/bin/make --directory=/Applications/LazTrunk/lazarus FPC=/Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc PP=/Applications/LazTrunk/fpc/bin/x86_64-darwin/ppcx64 USESVN2REVISIONINC=0 PREFIX=/Applications/LazTrunk/lazarus INSTALL_PREFIX=/Applications/LazTrunk/lazarus LAZARUS_INSTALL_DIR=/Applications/LazTrunk/lazarus/ FPCDIR=/Applications/LazTrunk/fpcsrc FPCMAKE=/Applications/LazTrunk/fpc/bin/x86_64-darwin/fpcmake PPUMOVE=/Applications/LazTrunk/fpc/bin/x86_64-darwin/ppumove LCL_PLATFORM=cocoa OPT=-vw-n-h-l-d-u-t-p-c- lazbuild (working dir: /Applications/LazTrunk/lazarus)
  55. Makefile:134: *** Compiler /Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc not found.  Stop.
  56. fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned exit status #512
  57.  
  58.  
  59. ERROR: Fpcupdeluxe fatal error !
  60. Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
  61. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  62. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only
  63.  
  64. *******************************************************************************
  65.  
  66. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision: 63657
  67. fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision: 63657
  68. fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.1.0
  69. fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 0.0.0
  70. fpcupdeluxe: Start of compile error summary.
  71. fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned exit status #512
  72. fpcupdeluxe: Done !!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1074
  • Former Delphi 1-7, 10.2 User
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #7 on: July 27, 2020, 02:29:08 am »
The last version of Xcode that included svn was 11.3.1. Xcode also includes git (but git-svn etc have also been removed).

The Installing Lazarus on macOS Wiki article was recently updated to provide both svn and git options for downloading fixes and trunk and compiling them.
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6, Xcode 11.3.1
o Lazarus v2.1.0 r64160, FPC v3.3.1 Nov 27 21:16:31, macOS 11.0.1 (aarch64), Xcode 12.2
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (PD VM)

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #8 on: July 27, 2020, 03:24:35 am »
The last version of Xcode that included svn was 11.3.1. Xcode also includes git (but git-svn etc have also been removed).

The Installing Lazarus on macOS Wiki article was recently updated to provide both svn and git options for downloading fixes and trunk and compiling them.

Thanks for pointing that out.  Will give the command line a go. 
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1364
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #9 on: July 27, 2020, 07:10:39 am »
@Dan346829
We now have (your) proof that GIT can be used.

However.
Quote
Going to install/update Lazarus only with given options.
You need to install FPC first to compile Lazarus.

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #10 on: July 27, 2020, 06:30:56 pm »
@Dan346829
We now have (your) proof that GIT can be used.

However.
Quote
Going to install/update Lazarus only with given options.
You need to install FPC first to compile Lazarus.

OK.  Followed  skalogryz advice not to do that since I have FPC already installed for Laz 2.0.10.
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1364
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #11 on: July 27, 2020, 06:42:22 pm »
Don't worry about that. The whole install by fpcupdeluxe will be separate from your normal install.

Quote
for ease of use you might want to try fpcupdeluxe. it should get the trunk for you, and should be able to setup Lazarus into a separate directory.
I guess his advice should include FPC ....  :)

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #12 on: July 27, 2020, 07:02:34 pm »
Selected GIT for FPC+Lazarus.   Install ran OK and Laz Trunk start up screen displayed.   But I got an access violation on selecting Start IDE.  I am installing trunk in Applications/LazTrunk.  See attached pics;

« Last Edit: July 27, 2020, 07:07:46 pm by Dan3468298 »
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #13 on: July 28, 2020, 12:29:58 am »
How can the RTL not be installed if I used fpupdeluxe?   What is the file name for RTL?
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: MacOS Install Trunk Branch Alongside of 2.0.10?
« Reply #14 on: July 28, 2020, 09:55:32 pm »
Can anyone give me a hand?  I would like to get Trunk running to test some bug reports.  I fixed the FPPKGCONFIG.CFG issue by selecting 'File: /Applications/LazTrunk/fpcpkgconfig/fppkg.cfg' for Trunk.   But I still get an Access Error.  Thanks!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

 

TinyPortal © 2005-2018