MacOS Install Trunk Branch Alongside of 2.0.10? lazarus / 3-General ---------------------------------------------------------------------- Dan3468298 · 2020-07-26 16:12 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! ---------------------------------------------------------------------- skalogryz · 2020-07-26 16:34 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. ---------------------------------------------------------------------- Dan3468298 · 2020-07-26 17:30 In the app GUI, do I select 'Trunk' or 'Fixes' before selecting 'Install FP+Laz'?  Or do I have to install both?   Thanks! ---------------------------------------------------------------------- skalogryz · 2020-07-26 17:51 you probably want to use Lazarus only. and you want select only "Trunk" for it. ---------------------------------------------------------------------- Dan3468298 · 2020-07-26 18:35 Errors on attempt, Logs: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Going to install/update Lazarus only with given options.FPCUP(deluxe) is starting up. Bootstrap dir:         /Applications/LazTrunk/fpcbootstrapFPCupdeluxe basedir:   /Applications/LazTrunkFPC URL:               https://svn.freepascal.org/svn/fpc/trunkFPC options:           FPC source directory:  /Applications/LazTrunk/fpcsrcFPC install directory: /Applications/LazTrunk/fpcLazarus URL:               https://svn.freepascal.org/svn/lazarus/trunkLazarus options:         Lazarus source directory:  /Applications/LazTrunk/lazarusLazarus install directory: /Applications/LazTrunk/lazarus Please stand back and enjoy ! 26-7-20 13:31:15: fpcupdeluxe: V304 (20200722) started.FPCUPdeluxe V1.8.0e for x86_64-darwin running on Mac OS X 10.15.5 Found valid bsdtar application.Found valid make application.Found valid make application.fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Deleting Lazarus primary config file (lazarus.cfg).fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Running "make distclean" twice inside /Applications/LazTrunk/lazarus/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)make: *** No rule to make target `distclean'.  Stop.fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): Checking Lazarus sources with TSVNClientFound valid svn application.fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): sources ok.fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Start checkout/update of Lazarus sources.fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: Directory /Applications/LazTrunk/lazarus is not an SVN repository (or a repository with the wrong remote URL).fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): Running SVN checkout or update.fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)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)fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: 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)fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: 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)fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: 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)fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: Executing: /usr/bin/svn cleanup --non- interactive /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn update --quiet --non-interactive --trust-server-cert -r HEAD /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: ERROR: SVN client error return code: 18432fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/svn info /Applications/LazTrunk/lazarus (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): SVN gave error code: 18432 fpcupdeluxe: info: LazarusNativeInstaller (DownloadFromSVN: Lazarus): SVN gave error message: svn: error: Failed to locate 'svn'.svn: error: The subversion command line tools are no longer provided by Xcode. fpcupdeluxe: ERROR: LazarusNativeInstaller (GetModule: Lazarus): Checkout/update of Lazarus sources failure.  ERROR: Fpcupdeluxe fatal error !Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence LazarusSequencer (Only): Failure running fpcupdeluxe: error executing sequence Only fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: Performing a SVN/GIT/HG/FTP checkout ... please wait, could take some time.fpcupdeluxe: WARNING: SVN client error return code: 18432fpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: SVN client error return code: 18432fpcupdeluxe: Start of compile error summary. Not sure how to precede.   Mayday! ---------------------------------------------------------------------- DonAlfredo · 2020-07-26 19:27 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 · 2020-07-26 20:37 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][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  Going to install/update Lazarus only with given options.FPCUP(deluxe) is starting up. Bootstrap dir:         /Applications/LazTrunk/fpcbootstrapFPCupdeluxe basedir:   /Applications/LazTrunkFPC URL:               https://svn.freepascal.org/svn/fpc/trunkFPC options:           FPC source directory:  /Applications/LazTrunk/fpcsrcFPC install directory: /Applications/LazTrunk/fpcLazarus URL:               https://github.com/graemeg/lazarus.gitLazarus options:           Lazarus source directory:  /Applications/LazTrunk/lazarusLazarus install directory: /Applications/LazTrunk/lazarus Please stand back and enjoy ! 26-7-20 15:36:09: fpcupdeluxe: V304 (20200722) started.FPCUPdeluxe V1.8.0e for x86_64-darwin running on Mac OS X 10.15.5 Found valid bsdtar application.Found valid make application.Found valid make application.fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Deleting Lazarus primary config file (lazarus.cfg).fpcupdeluxe: info: LazarusNativeInstaller (CleanModule: Lazarus): Running "make distclean" twice inside /Applications/LazTrunk/lazarus/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)Makefile:134: *** Compiler /Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc not found.  Stop.fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): Checking Lazarus sources with TGitClientFound valid git application.fpcupdeluxe: Executing: /usr/bin/git status --porcelain (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git config remote.origin.url (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (CheckModule: Lazarus): sources ok.fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Start checkout/update of Lazarus sources.fpcupdeluxe: Executing: /usr/bin/git log -n 1 --grep=^git-svn-id: (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git status --porcelain --untracked-files=no (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (GitClient: Lazarus): Running GIT checkout or update.fpcupdeluxe: Executing: /usr/bin/git status --porcelain (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git config remote.origin.url (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git pull --all --recurse-submodules=yes (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git submodule update (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git reset --hard (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git rev-list --max-count=1 HEAD (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: Executing: /usr/bin/git log -n 1 --grep=^git-svn-id: (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision: 63657fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision: 63657fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): No Lazarus patches defined.fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): Looking for LLDB debugger for Lazarus.fpcupdeluxe: Executing: /Library/Developer/CommandLineTools/usr/bin/lldb --version (working dir: /Applications/LazTrunk/lazarus)fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): GDB --version output: lldb-1103.0.22.10fpcupdeluxe: info: LazarusNativeInstaller (ConfigModule: Lazarus): GDB major version: 1103fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.1.0fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 0.0.0fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): Running: make lazbuildfpcupdeluxe: 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)Makefile:134: *** Compiler /Applications/LazTrunk/fpc/bin/x86_64-darwin/fpc not found.  Stop.fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned exit status #512  ERROR: Fpcupdeluxe fatal error !Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDESequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence LazarusSequencer (Only): Failure running fpcupdeluxe: error executing sequence Only ******************* ************************************************************ fpcupdelu xe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision: 63657fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision: 63657fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.1.0fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 0.0.0fpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned exit status #512fpcupdeluxe: Done !! ---------------------------------------------------------------------- trev · 2020-07-27 00:29 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. ---------------------------------------------------------------------- Dan3468298 · 2020-07-27 01:24 Quote from: trev on July 27, 2020, 02:29:08 amThe 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. ---------------------------------------------------------------------- DonAlfredo · 2020-07-27 05:10 @Dan346829 We now have (your) proof that GIT can be used. However. QuoteGoing to install/update Lazarus only with given options.You need to install FPC first to compile Lazarus. ---------------------------------------------------------------------- Dan3468298 · 2020-07-27 16:30 Quote from: DonAlfredo on July 27, 2020, 07:10:39 am@Dan346829 We now have (your) proof that GIT can be used. However. QuoteGoing 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. ---------------------------------------------------------------------- DonAlfredo · 2020-07-27 16:42 Don't worry about that. The whole install by fpcupdeluxe will be separate from your normal install. Quotefor 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 · 2020-07-27 17:02 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; ---------------------------------------------------------------------- Dan3468298 · 2020-07-27 22:29 How can the RTL not be installed if I used fpupdeluxe?   What is the file name for RTL? ---------------------------------------------------------------------- Dan3468298 · 2020-07-28 19:55 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! ---------------------------------------------------------------------- Dan3468298 · 2020-07-28 21:03 My LazTrunk' Lazarus.cfg' contains only  '--primary-config- path=/Applications/LazTrunk/config_lazarus' ---------------------------------------------------------------------- Dan3468298 · 2020-07-28 23:57 Changing that value to '--primary-config- path=/Applications/LazTrunk/lazarus' enabled Lazarus 2.1.0 to start up with no errors.  Problem solved. Was this problem caused by a bad install config at GIT?