Example: make: *** [../units/x86_64-linux/gtk2] Error 1
To find out what is going wrong, right-click on the message and select "Copy All Shown and Hidden Messages to Clipboard", then paste the results somewhere.
I got the following text:
make: Entering directory `/usr/lib/lazarus/1.0.10' /usr/bin/make -C ide idepkg make: Entering directory `/usr/lib/lazarus/1.0.10/ide' /bin/mkdir -p ../units/x86_64-linux/gtk2 /bin/mkdir: cannot create directory '../units': Permission denied make: *** [../units/x86_64-linux/gtk2] Error 1
The problem seems to be "cannot create directory '../units': Permission denied", and the third line shows which folder was denying permission (/usr/lib/lazarus/1.0.10/ide). To fix the problem, I did this:
sudo chmod 777 /usr/lib/lazarus/1.0.10
That cleared this error, but led to a new one:
svn2revisioninc.pas(51,40) Fatal: Can not find unit UTF8Process used by Svn2RevisionInc.