[Lazarus] Compile error on ubuntu jaunty

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 11 10:21:44 CEST 2009


On Tue, 11 Aug 2009 14:46:04 +0700
Diwakoe <diwakoe at gmail.com> wrote:

> On Tue, Aug 11, 2009 at 2:17 PM, dmitry
> boyarintsev<skalogryz.lists at gmail.com> wrote:
> >> Is there any howto to fix this error?
> > writing to "/usr/lib/" requires root rights.
> >
> > you need to change /usr/lib/lazarus write access
> > - or -
> > run as "sudo lazarus"
> >
> > thanks,
> > dmitry
> 
> Hi dmitry,
> 
> So, everytime run lazarus to create project must use root account or
> just when installing component?

Neither.

ideintf/texttools.pas is part of the IDEIntf package, which is only built when you compile the IDE.
This is not needed when compiling a project and neither when installing
a package.
I wonder, what you did exactly to get this error.

When you install a package the IDE has to rebuild only the lazarus
executable. When you installed lazarus via deb package the lazarus
folder is only writable by root. The IDE checks if the folder is
writable and puts the new executable into ~/.lazarus/bin/.

So normally a normal user can install packages.

Mattias




More information about the Lazarus mailing list