Hi:
I´m a Delphi programmer for a long time and now I´ve decided to give Lazarus a shot, because I got tired of needing windows on VM to use the Delphi IDE.
In other words, I´m a Lazarus newbie, and I´m having a hard time making the ide works.
I´m running mac OS 11 (freshly installed), fpc-3.2.0.intel-macosx, fpc-src-3.2.0-2-laz, MacPorts-2.6.4_1-11-BigSur, Lazarus-2.0.11-r64280-x86_64-macosx
Here what I´ve done, step by step:
1 - Installed xcode
2 - Installed macports
3 - Created a system certificate
4 - Installed gdb (macport)
5 - Signed gdb with the previously created certificate
6 - Installed homebrew
7 - Installed gdb (homebrew)
8 - Configured tools\options\debugger like image1
9 - Tried to rebuild IDE.
Then I keep getting this...
Build IDE: Exit code 2, Errors: 10
Panic: make: Entering directory `/Applications/Lazarus'
Panic: /Library/Developer/CommandLineTools/usr/bin/make -C ide idepkg
Panic: mkdir: ../units/i386-darwin/cocoa: Permission denied
Panic: make[1]: *** [../units/i386-darwin/cocoa] Error 1
Panic: make: *** [idepkg] Error 2
Panic: make[1]: Entering directory `/Applications/Lazarus/ide'
Panic: /bin/mkdir -p ../units/i386-darwin/cocoa
Panic: make[1]: Leaving directory `/Applications/Lazarus/ide'
Panic: make: Leaving directory `/Applications/Lazarus'
Panic: tool stopped with exit code 2. Use context menu to get more information.
Also, when I first started the IDE I got this message on a dialogbox:
Error in EditorMacroScript
The package EditorMacroScript (pascalscript macros) has detected a problem and was deactivated.
The package failed its selftest with the message: "Failed point param X [Exp: 1001 / Got: -1 / Info: False / SynTxt: ]"
Any help would be much appreciated.