[Pkg-pascal-devel] Bug#898310: lcl-units-1.8 unusable due to file permissions

Chris Dryburgh rackware at sympatico.ca
Fri May 11 21:37:41 BST 2018


Hi Paul,

You can use the Lazarus IDE without recompiling. To use many of the 
packages that come with lcl-units-1.8 you must install them and 
recompile the IDE.

1. Under the Lazarus menu select Package -> Install / Uninstall Packages 
...
2. Select a package "Available for installation" and press "Install 
selection".
3. Push the "Save and rebuild IDE".
4. On the popup push "Continue".

If successful Lazarus will complete compiling and restart automatically.

In order to recompile the Lazarus IDE fpc needs read / write permissions 
to various files and folders. In this case those under 
/usr/lib/lazarus/1.8.2/components/. There may be other locations where 
access is required I have not tested this out fully. The permissions are 
currently set to root and are not available to the fcp compiler.

The threads workaround was to use the deb packages provided by the 
Lazarus project on Sourceforge.

Chris

On 2018-05-11 02:15 PM, Paul Gevers wrote:
> Hi Chris
>
> Thanks for reporting issues. They are an enormous important way to
> contribute.
>
> On 10-05-18 02:14, Chris Dryburgh wrote:
>> To use these packages with the Lazarus IDE they must be installed and
>> the IDE must be recompiled. When doing this the following compile error
>> is displayed.
> Can you explain better what you did? I don't know how to reproduce your
> issue. As far as I know you can use the IDE without recompiling.
>
>> lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus. Check
>> if package LazControlDsgn creates lazcontroldsgn.ppu, check nothing
>> deletes this file and check that no two packages have access to the unit
>> source..
>>
>> Discussion and temporary workarounds are on the Lazarus forum.
>>
>> https://forum.lazarus.freepascal.org/index.php?topic=38728.0
> Reading that discussion and some of the links to solutions, the best
> solution I found was: use the Debian packages to work around this issue.
>
> So, what did you do that caused that solution to not work.
>
> Paul



More information about the Pkg-pascal-devel mailing list