Recent

Author Topic: ubuntu 24.04 install ZEOS zcomponentdesign.lpk error " "laz.virtualtrees.pas"  (Read 1173 times)

smerps

  • Newbie
  • Posts: 1
ubuntu 24.04 with LAZARUS 3.0,   canot install any ICL, with error  Unable to find file "laz.virtualtrees.pas".



for test :   
https://github.com/frones/ZeosLib/releases/tag/8.0.0-stable
canot install zcomponentdesign.lpk

full errors:   

Unable to find file "laz.virtualtrees.pas".
If it belongs to your project, check search path in
Project -> Compiler Options -> Search Paths -> Other Unit Files. If this file belongs to a package, check the appropriate package compiler options. If this file belongs to Lazarus, make sure compiling clean. If the file belongs to FPC then check fpc.cfg. If unsure, check Project -> CompilerOptions -> Test



thanks for all helps.


TRon

  • Hero Member
  • *****
  • Posts: 3619
ubuntu 24.04 with LAZARUS 3.0,
Lazarus itself is at version number 3.4. Don't let your distro dictate the version number to use.

Quote
canot install any ICL, with error  Unable to find file "laz.virtualtrees.pas".
Access right issues.

Your package manager installs Lazarus in a directory with limited access rights. Installing a package in lazarus requires Lazarus to be rebuild. If everything works as it should be working in Lazarus then Lazarus figures out that it can't access the installation directory and falls back to the configuration directory. Unfortunately that doesn't always work as expected (there are several reasons for that and the devs are working on that ).

Remedy: install Lazarus into user-space.
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018