Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Missing curl on Windows #1

Open
topac opened this issue Apr 10, 2015 · 5 comments
Open

Missing curl on Windows #1

topac opened this issue Apr 10, 2015 · 5 comments

Comments

@topac
Copy link

topac commented Apr 10, 2015

Hi, I cloned this repo and the recipes too on windows but when I try to install any recipe:

--> Detected platform: i686-w64-mingw32 (x86-windows)
--> About to process libffi version 3.0.10 (x86-windows)
--> Fetching files...
knapsack/utils.rb:16:in `spawn': No such file or directory - curl (Errno::ENOENT)
        from knapsack/utils.rb:16:in `download'
        from knapsack/recipe/helpers/fetcher.rb:22:in `block (2 levels) in define_fetcher'
        from knapsack/recipe/helpers/fetcher.rb:19:in `each'
        from knapsack/recipe/helpers/fetcher.rb:19:in `block in define_fetcher'
        from knapsack/recipe.rb:135:in `instance_exec'
        from knapsack/recipe.rb:135:in `block in perform'
        from knapsack/recipe.rb:252:in `checkpoint'
        from knapsack/recipe.rb:131:in `perform'
        from knapsack/recipe.rb:161:in `block in cook'
        from knapsack/recipe.rb:160:in `each'
        from knapsack/recipe.rb:160:in `cook'
        from bin/knap-build.rb:84:in `<main>'
        from bin/knap-build.rb:in `eval'
@topac
Copy link
Author

topac commented Apr 10, 2015

And also the tar command! Can I submit a pull request to drop the dependency on tar and curl?

@Azolo
Copy link
Member

Azolo commented Apr 10, 2015

As long as the existing recipes can still be built, I don't see any problems with that.

The project does have a quite a few undocumented dependencies and silent failures.
I just don't remember/know what they are. So yeah, hack away and make the project better.

If you happen to do something that doesn't quite fit the overall purpose of the project then we can talk about it. But my view is: The best solution to the problem is the one that gets built.

@topac
Copy link
Author

topac commented Apr 10, 2015

I agree with you. Is there an automated way to test all the builds? Otherwise i'm gonna have to write a script that simply call knap-build on all the available recipes.

@Azolo
Copy link
Member

Azolo commented Apr 10, 2015

There isn't. If you wanted to add something like that to the project itself that would probably be ok.

Or if you see something you might think would be nice but don't want do it yourself, open up an issue and I'll flag it as feature request and try to get to it if I get a chance.

@topac
Copy link
Author

topac commented Apr 17, 2015

@Azolo I created this pull request #2
Builds are ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants