toland/patron

Create a binary gem for windows users

toland opened this issue · 2 comments

From a comment on the blog:

Hi, can you try to use rake-compiler for creating binary gem for windows users?

http://github.com/luislavena/rake-compiler/tree/master

Hi, I have a gem with dependancy on patron.

Whilst i can get curb to compile against my windows 7 box (using http://www.gknw.net/mirror/curl/win32/curl-7.19.7-devel-mingw32.zip) and the params:

gem install curl-multi-0.2.gem -- --with-curl-dir=c:\curl --with-curl-include=c:\curl\include

Patron keeps telling me:

extconf.rb:41:in `

': Can't find libcurl or curl/curl.h (RuntimeError)

even though i am using exactly the same external parameters as per Curb.

Any ideas? This is a real show-stopper for me, and i know the Windows/Curl boundary i a source of much pain for us poor windows users....

I currently use rake-compiler to build Patron but I don't have a Windows box to test on. If someone is willing to test and submit patches I am willing to merge them.