-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using curb on Windows #37
Comments
Does anyone have an answer for this? |
@tenaciousflea: I installed curb on a Windows XP machine a few weeks ago, and when I had to do it on a second machine I decided to document my steps in case I had to do it a third time. You can see how I did it over here on my blog. |
The thing is I couldn't find libcurl for mingw32 anywhere. The download page is so complicated for that project, it's hopeless. In the end, I decided to use http://github.com/archiloque/rest-client |
Yeah, really anytime you need to compile source on windows... it's not going to be an easy task... I've thought about setting up a mingw32 build environment and cross compiling binary win32 releases of curb, but don't have a need for it, since I don't use windows... if anyone else is interested in supporting it this would be a different story of course... |
I've had curb working with Windows for some time. To pass extconf args to gem, you need an extra pair of dashes. I used the "Win32 - Generic" package, specifically "Win32 2000/XP 7.21.3 libcurl SSL Günter Knauf 3.02 MB", http://www.gknw.net/mirror/curl/win32/curl-7.21.3-devel-mingw32.zip
A few notes:
|
thanks |
I have tried every thing but still cant install curb on Windows 10
checking for curl-config... no Provided configuration options: Try passing --with-curl-dir or --with-curl-lib and --with-curl-include extconf failed, exit code 1 Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/curb-0.9.3 for inspection. |
Refactor: Filter env hash to only have keys of type string
I am trying to install the curb gem. Since I need to have "A working (lib)curl installation, with development stuff" installed on my computer, I went to the cURL Download Wizard and downloaded this package.
But adding the bin into my PATH did not produce improvement and I still got an error when I try to install the curb gem, such as:
Even though, curl is already in the PATH.
I also tried raking the gem with this command:
rake install EXTCONF_OPTS='--with-curl-dir=B:\curl'
But all it fails saying "make failed" and throwing a bunch of errors like this:
The text was updated successfully, but these errors were encountered: