November 23, 2021 Re: what i don't like about dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luís Ferreira | On Tuesday, 23 November 2021 at 18:00:16 UTC, Luís Ferreira wrote:
> On Tue, 2021-11-23 at 17:36 +0000, Imperatorn via Digitalmars-d-learn wrote:
>> On Tuesday, 23 November 2021 at 14:01:15 UTC, Adam D Ruppe wrote:
>> > On Tuesday, 23 November 2021 at 13:49:36 UTC, Imperatorn wrote:
>> > > How do you propose dub would do that
>> >
>> > By asking the system package manager.
>>
>> Well yeah, but how without doing a lot of work
>
> If I iterpret system package manager as distribution-specific, relying on system package manager is not the way. There is tools like pkg- config or pkgconf that provides mechanisms to manage dependencies and its required configurations to link/compile the library with the dependent software.
Yeah, and also just on some platforms
|
November 23, 2021 Re: what i don't like about dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn Attachments:
| On Tue, 2021-11-23 at 21:00 +0000, Imperatorn via Digitalmars-d-learn wrote: > On Tuesday, 23 November 2021 at 18:00:16 UTC, Luís Ferreira wrote: > > On Tue, 2021-11-23 at 17:36 +0000, Imperatorn via Digitalmars-d-learn wrote: > > > On Tuesday, 23 November 2021 at 14:01:15 UTC, Adam D Ruppe wrote: > > > > On Tuesday, 23 November 2021 at 13:49:36 UTC, Imperatorn wrote: > > > > > How do you propose dub would do that > > > > > > > > By asking the system package manager. > > > > > > Well yeah, but how without doing a lot of work > > > > If I iterpret system package manager as distribution-specific, relying on system package manager is not the way. There is tools like pkg- config or pkgconf that provides mechanisms to manage dependencies and its required configurations to link/compile the library with the dependent software. > > Yeah, and also just on some platforms Ideally we should cover the platforms that have this mechanisms standardized and also have something similar to e.g. Python packaging, which have a list of paths like $PATH to look for packages in order. -- Sincerely, Luís Ferreira @ lsferreira.net |
Copyright © 1999-2021 by the D Language Foundation