Attempting to install Lazarus and build project using Circle CI fails lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- mewpokemon · 2022-02-24 07:47 Heyas! I'm trying to automate building my project on MacOS using Circle CI. I've never worked on a Mac before so I'm totally in the dark.  However, it seems to me that something is seriously wrong with the installation procedure.  I'm executing the following commands: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i                            pwd              curl -L -o ~/fpc- src-3.2.2-20210709-macosx.dmg 'https://sourceforge.net/projects/lazaru s/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.0/fpc- src-3.2.2-20210709-macosx.dmg'              ls -l ~              hdiutil attach ~/fpc-src-3.2.2-20210709-macosx.dmg              ls -l /Volumes/fpcsrc-3.2.2              sudo installer -pkg /Volumes/fpcsrc-3.2.2/fpcsrc-3.2.2-20210709.pkg -target /            curl -L -o ~/fpc-3.2.2.intelarm64-macosx.dmg 'https://sourceforge.net/ projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.0/fpc- 3.2.2.intelarm64-macosx.dmg'              hdiutil attach ~/fpc-3.2.2.intelarm64-macosx.dmg              ls -l /Volumes/fpc-3.2.2.intelarm64-macosx              sudo installer -pkg /Volumes/fpc-3.2.2.intelarm64-macosx/fpc-3.2.2-intelarm64-macosx.mpkg -target /              curl -L -o ~/Lazarus-2.2.0-0-x86_64-macosx.pkg 'https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86- 64/Lazarus%202.2.0/Lazarus-2.2.0-0-x86_64-macosx.pkg'              sudo installer -pkg ~/Lazarus-2.2.0-0-x86_64-macosx.pkg -target /            ls -l /usr/local/bin/laz*              ls -l /Library/Lazarus/              cd /usr/local/bin              ./lazbuild ~/Project/TildaDesigner.lpr  It tells me that there is a symbolic link from /usr/local/bin to /Library/Lazarus/lazbuild but that there is no object /Library/Lazarus.  calling lazbuild fails with lazbuild file not found. Can anyone help me at all? TIA Daniel. ---------------------------------------------------------------------- mewpokemon · 2022-02-24 09:19 I have achieved some limited success finding that lazbuild has actually been installed into: /Applications/Lazarus/lazbuild Still trying to get the whole process to complete, however. ---------------------------------------------------------------------- mewpokemon · 2022-02-24 09:50 The build process now works.  I'll paste the script for those interested. However, I don't know how to provide a MacOS binary distribution.  I'll see what I can come up with. Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i             pwd              curl -L -o ~/fpc-src-3.2.2-20210709-macosx.dmg 'htt ps://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86- 64/Lazarus%202.2.0/fpc-src-3.2.2-20210709-macosx.dmg'              ls -l ~              hdiutil attach ~/fpc-src-3.2.2-20210709-macosx.dmg            ls -l /Volumes/fpcsrc-3.2.2              sudo installer -pkg /Volumes/fpcsrc-3.2.2/fpcsrc-3.2.2-20210709.pkg -target /            curl -L -o ~/fpc-3.2.2.intelarm64-macosx.dmg 'https://sourceforge .net/projects/lazarus/files/Lazarus%20macOS%20x86- 64/Lazarus%202.2.0/fpc-3.2.2.intelarm64-macosx.dmg'              hdiutil attach ~/fpc-3.2.2.intelarm64-macosx.dmg              ls -l /Volumes/fpc-3.2.2.intelarm64-macosx              sudo installer -pkg /Volumes/fpc-3.2.2.intelarm64-macosx/fpc-3.2.2-intelarm64-macosx.mpkg -target /              curl -L -o ~/Lazarus-2.2.0-0-x86_64-macosx.pkg 'https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86- 64/Lazarus%202.2.0/Lazarus-2.2.0-0-x86_64-macosx.pkg'              sudo installer -pkg ~/Lazarus-2.2.0-0-x86_64-macosx.pkg -target /            curl -L -o ~/bgrabitmap.zip 'https://github.com/bgrabitmap/bgr abitmap/archive/refs/tags/v11.4.zip'              unzip ~/bgrabitmap.zip -d ~/.              export PATH=/Applications/Lazarus:$PATH              make -C ~/bgrabitmap-11.4 generate              make -C ~/bgrabitmap-11.4 BGRABitmapPack              ls -l ~/bgrabitmap-11.4/bgrabitmap/lib            curl -L -o ~/virtualtreeview.zip 'https://github.com/blikblum/VirtualTreeView- Lazarus/archive/refs/heads/lazarus-v5.zip'              unzip ~/virtualtreeview.zip -d ~/.              /Applications/Lazarus/lazbuild ~/VirtualTreeView-Lazarus- lazarus-v5/Source/virtualtreeview_package.lpk              /Applications/Lazarus/lazbuild --add-package ~/VirtualTreeView- Lazarus-lazarus-v5/Source/virtualtreeview_package.lpk              /Applications/Lazarus/lazbuild ./TildaDesigner.lpr              ls -l ---------------------------------------------------------------------- mischi · 2022-02-25 21:43 What do you exactly mean by macOS binary distribution? Software for macOS usually come as app, which is a folder, app with a particular structure with the binary code, libraries, resources and so on. Such an app is usually distributed as a disk image. Lazarus can create such an app folder through the project settings. But in many cases it needs some final tweaking. MiSchi. ---------------------------------------------------------------------- trev · 2022-02-26 00:16 See our Wiki article: Deploying Your Application - macOS Deployment. You may also profit from checking out the Wiki's Mac Portal.