[Lazarus] Installation issue - unit not found

Michael Van Canneyt michael at freepascal.org
Sun May 7 09:02:16 CEST 2017



On Sun, 7 May 2017, Gabriella Lynns via Lazarus wrote:

> I have been trying to install Lazarus for two unprivileged users, each in a subdirectory of their own $HOME  I've been using a
> script originally from getlazarus.org
>  
> The first installation went smoothly. The second, using exactly the same script, failed with:
>  
> /home/gl/Development/FreePascal/lazarus/components/lazutils/lazutils.pas(20,47) Fatal: (10022) Can't find unit
> LazarusPackageIntf used by LazUtils
> Fatal: (1018) Compilation aborted
> Makefile:2702: recipe for target 'lazutils.ppu' failed
> make[1]: *** [lazutils.ppu] Error 1
> make[1]: Leaving directory '/home/gl/Development/FreePascal/lazarus/components/lazutils'
> Makefile:3052: recipe for target 'lazutils' failed
> make: *** [lazutils] Error 2
>  
> This occurs during the lazarus 'make all'. fpc installed fine.
>  
> Any idea what is going on here? Why does a script which works for one unprivileged user fail with another unprivileged user 5
> minutes later? The only difference I can see in the two users is that one of them (the one that fails) is in the SUDOERS file.
> And there is no sudo in the setup script.

Is this on the same machine ?

if so:
Does the script use the /tmp directory ? 
Maybe there are some leftover files in some subdirectory of the /tmp directory ?

If not:
does the second machine contain a prior installation of Free/Pascal lzazarus ?

Michael.


More information about the Lazarus mailing list