[Lazarus] Online Package Manager errors ?

Michael Van Canneyt michael at freepascal.org
Tue Apr 14 15:52:09 CEST 2020



On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis via lazarus wrote:

> Hi,
>
> Στις 14/4/2020 4:15 μ.μ., ο Michael Van Canneyt via lazarus έγραψε:
>>
>>
>> On Tue, 14 Apr 2020, Dimitrios Chr. Ioannidis wrote:
>>
>>>> Don't distribute binaries, only sources. The binary may not work on all
>>>> distributions, you'd need to provide one for all platforms (which 
>>>> you may
>>>> not have yourself). It may be outdated, no security fixed applied etc..
>>>>
>>>> Michael.
>>>
>>> Hmm, how about archive and/or object files for static linking ? An 
>>> approach that I saw in mormot ( I don't know if it is the same in OPK 
>>> I didn't check the package there ... )
>>
>> Not good, you need to provide this for all possible architectures, and 
>> that's not
>> possible for most people.
>
> Yeap, I understand this. I'm still thinking my options .
>
> < snip >
>
>> Distributing binaries is simply a big no-no. You must rely on the package
>> manager of your system for that.
>
> You've got a point. After all, someone that uses a IDE and a compiler 
> AND want to install some packages, I assume that is capable enough to 
> use his system's package manager to solve any dependencies that may 
> exist ...

Exactly my reasoning.

Michael.


More information about the lazarus mailing list