-
Notifications
You must be signed in to change notification settings - Fork 436
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
if Config::CONFIG['target_os'] == 'mingw32' #172
Comments
Hi @rivendale2010, could you check if the current master is working? Since we got rid of the c extension it could be much easier. |
i'm fairly new to these things :) thanks very much for the reply i'm trying to install Diaspora on my windows box, i'm not sure why but it is still including this extconf.rb with reference to the c files? i have installed all the other gems but the typhoeus gem i'm in over my head with :) is it possible for me to make the update? |
@rivendale2010, are you ok with posting your question to the mailinglist again? There are more people who are able to help. |
yup, sure. .thanks. not many seem interested in the windows OS issues but i try again. :_) |
I just checked the diaspora project. |
thanks very much for the kind support, after a week of looking that's the only reply that made any sense! lol... i know it's odd, but honestly i think it is retrieving the files from master, but the extconf.rb file is still calling explicitly for directory locations that are not included in the gem Where does this extconf.rb file come from? the only place i find it is on my local repository????? |
Hi @rivendale2010, there is no extconf.rb any more in typhoeus. Did you replaced the line in the Gemfile and ran a |
it worked this time! thank you so much! I really means a lot! :) PS: i did exactly the same thing 200 times yesterday , making the fetch and all, and it did move to 4.0, till this morning? but what ever the cause, i'm HAPPY now! You are a gem! :) E:\ruby193_diaspora_ [master +2 ~3 -0 !]> gem install typhoeus |
Glad it worked out! |
well, you know, trying to run Rails apps on Windows is a bit of a bear! but this new version of typhoeus sure does help, thanks again for the excellent support! |
on my windows PC this line in the extconf.rb file refers to a directory that can not be created because it is under the directory created by the gem install
if Config::CONFIG['target_os'] == 'mingw32'
find_library('curl', 'curl_easy_init',
File.join(ROOT, 'cross', 'curl-7.19.4.win32', 'bin'))
else
(That would be nice)
the extconf.rb file is in E:\Ruby193\lib\ruby\gems\1.9.1\gems\typhoeus-0.3.3\ext\typhoeus
i can not add the needed files in this location, and my edits to extconf.rb it are overwritten by the install as well...
the optional parameter for include directory does not change the hard coding in the file, so...
what do i do?
ERROR
E:\ruby193_diaspora_ [master +2 ~2 -0 !]> gem install typhoeus
Building native extensions. This could take a while...
ERROR: Error installing typhoeus:
ERROR: Failed to build gem native extension.
extconf.rb:9: Use RbConfig instead of obsolete and deprecated Config.
checking for curl/curl.h in E:/Ruby193/lib/ruby/gems/1.9.1/gems/typhoeus-0.3.3/c
ross/curl-7.19.4.win32/include... no
need libcurl
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
thank you
The text was updated successfully, but these errors were encountered: