ugexe / zef

Raku Module Management
Artistic License 2.0
209 stars 45 forks source link

Incorrect? behavior of native dependencies #357

Closed antoniogamiz closed 4 years ago

antoniogamiz commented 4 years ago

Context

I have described this issue here. I am trying to specify native dependencies for Documentable (node, perl, etc).

Expected Behavior

zef should be able to recognize these dependencies (because they are indeed installed)

Actual Behavior

zef install . fails due to unmet dependencies.

Steps to Reproduce

Create a simple module and add

  "depends": [
    "node:from<native>",
    "perl:from<native>",
  ],

to the META6.json file.

Your Environment

niner commented 4 years ago

Does Documentable really need a libnode.so? Is there even such a thing? I can understand zef not finding libperl.so, as that's usually installed into a non-standard location. Or did you actually mean "node:from<bin>"? It's possible, that zef doesn't understand this stringified form yet. But then it does support {"name": "node", "from": "bin"}

antoniogamiz commented 4 years ago

Oh, I think bin is the solution. I will try it and comment.

On Mon, Jun 22, 2020, 13:01 niner notifications@github.com wrote:

Does Documentable really need a libnode.so? Is there even such a thing? I can understand zef not finding libperl.so, as that's usually installed into a non-standard location. Or did you actually mean "node:from"? It's possible, that zef doesn't understand this stringified form yet. But then it does support {"name": "node", "from": "bin"}

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ugexe/zef/issues/357#issuecomment-647445281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPOARZ4RTX2CSHXKJL5Z23RX42XJANCNFSM4OENP47A .

antoniogamiz commented 4 years ago

Yep, it was that. Thanks a lot, docs does not cover these arguments well enough I think...