Recent

Author Topic: Installing package on UDOO  (Read 2700 times)

themissingsock

  • Newbie
  • Posts: 3
Installing package on UDOO
« on: February 16, 2014, 02:30:53 pm »
I have recently purchased a UDOO Quad and installed Ubuntu,
after installing Lazarus 0.9.30.2  I have tried to add the package sdposerialaz . I have managed to get it to compile but when I go to add the package and rebuild Lazarus I get the message
/usr/lib/lazarus/0.9.30.2/ide/compileroptions.ppl(4744) Fatal: Can't Write PPU-File

I think its permissions , but where ? as that folder has permissions  set for read/write for all .

Rails

  • Guest
Re: Installing package on UDOO
« Reply #1 on: February 16, 2014, 05:03:39 pm »
Yes, it is a permissions issue. Take a look at the following thread.

http://forum.lazarus.freepascal.org/index.php/topic,23534.msg140777.html#msg140777

My temporary solution until the developers get a handle on this issue is to change the ownership of the lazarus directory under /usr and everything below lazarus to my regular user. 

You can also go into Tools/Configutre build lazarus and set that to something other than clean all, save, save the settings, and then build lazarus. Once that goes ok, go back and try installing the package again. This time it should build OK.

However, Run/Clean up Build Files seems also to have permissions issues. At the moment, the only fix for that is to change the permissions/ownership of lazarus as above, or install lazarus under your user instead of /usr.
« Last Edit: February 16, 2014, 05:06:08 pm by Rails »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Installing package on UDOO
« Reply #2 on: February 17, 2014, 05:22:17 pm »
Please install latest stable instead, 0.9.30.2 is more than 2 years old and many things have improved including this issue AFAIK. The IDE will use user's home directory if lazarus directory (and its subdirectories) is unwritable.

 

TinyPortal © 2005-2018