Lazarus IDE/make/errors/1

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search

Example: make[1]: *** [../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[1]: 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[1]: *** [../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.