Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-03

Lazarus directory settings

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Chavoux Luyt

Second stupid question: Under options I can set the default Lazarus directory. Is there a setting somewhere for default ppu (or unit source) directory? I get an error when trying to install a new component (unrelated to lazreport):
lazarus.pp(1,1) Fatal: Cannot find lazreport used by Lazarus.

However, I already compiled and installed the lazreport component (And can see it on a tab among the other controls). My only guess is that the ppu file was not created because of a permissions issue? Or else I need to set the default directory for linking installed units somewhere?

Thanks again,
Chavoux

Chavoux Luyt wrote 14 lines
Hi I am feeling very stupid now, but not sure where exactly to look. I installed Lazarus using aptitude on Debian (under /use/libs/lazarus). However, I see that that whole directory tree belongs to root. So if I install a new package, how does it get added to the IDE (since I am running lazarus as a normal user)? Should the installation not give the lazarus directories to the users group instead of root? I suppose there is some kind of magic involved that makes it work when recompiling the IDE with the new packages, but I would like to understand what. Thanks, Chavoux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180302/cc7ed8ab/attachment.html>

Reply by email

Mattias Gaertner
to Chavoux Luyt
Second stupid question: Under options I can set the default Lazarus directory. Is there a setting somewhere for default ppu (or unit source) directory?

No. Every package has its own ppu directory.

I get an error when trying to install a new component (unrelated to lazreport): lazarus.pp(1,1) Fatal: Cannot find lazreport used by Lazarus.

Build Lazarus with -vt. See, if the compiler can't find lazreport.ppu or does not like what it found.

However, I already compiled and installed the lazreport component (And can see it on a tab among the other controls).

You lost me. How did you 'installed the lazreport and see it' with a Fatal error?

My only guess is that the ppu file was not created because of a permissions issue?

Mattias

Reply by email