[Lazarus] Multiple versions of the same package and its dependencies?
Michael Van Canneyt
michael at freepascal.org
Tue Jun 4 15:17:49 CEST 2024
On Tue, 4 Jun 2024, Luca Olivetti via lazarus wrote:
> Hello,
>
> I have a problem with one project and zeosdbo, so I'm trying different
> versions of zeosdbo.
> In the project inspector I change the min/max version of the required package
> (zcomponent) so it uses the one I want to try.
> Lazarus knows all versions of the zcomponent package so it doesn't flag the
> requirement as missing, however zcomponent itself depends on other packages
> of the same version and lazarus marks them as missing until I open the lpk
> one by one.
> This happens every time I try to change the version of the required
> zcomponent.
> Shouldn't lazarus already know the different versions of all the packages?
> This is with lazarus 3.2 btw, I didn't yet try 3.4
The zeos packages themselves need to indicate the min/max versions of the
packages they depend on. Then, if lazarus needs to decide the dependencies,
it will select the correct ones if it knows them.
I used the versioning extensively, and it works fine, but every package must
"play nice" before it can work correctly.
Michael.
More information about the lazarus
mailing list