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
Having issues building mysql gem in ruby 2.0.0 in Windows #23
Comments
Looks like, by the configure options given: The option Please see again my blog article about the usage options. |
Hi, sorry I copied the output from the wrong window, I was trying other options. Entering the following command with only the
It fails to build
Perhaps it's something wrong with my environment that's causing the failure. I'm using Windows 7 64bit if that makes any difference. |
Hello, for extconf process not detecting the mysql lib could only happen if the version of ruby you're using differs in bits from the library you extracted. Are you trying ruby 2.0.0 x64? I don't see specifics of the version your using (ruby --version can tell us that) Can you confirm which version of ruby and which version of devkit you are using? Thank you |
The ruby devkit was installed from chocolatey http://chocolatey.org/packages/ruby.devkit Hope that helps |
@bapti can you look for I would like to look at what is reporting as problem by GCC. Thank you. |
Here you are, it's a bit of an epic
|
@bapti thank you. It is interesting it cannot find Can you confirm the contents of the connector you extracted? specifically the contents of |
It does seem really odd, I extracted the folder from the 6.0.2 download linked in the blog article, or related SO question, I can't remember exactly. I managed to get the |
@bapti can you try the following two options? Option 1:
That should use that directory too. Option 2: break down directories:
Please try each one of the scenarios and let's see the contents of Thank you and really sorry the inconveniences. |
Hi Luis, the installation worked with option 1, thanks for all your help!!
|
@bapti great to hear! I will recommend moving on to use Will update my blog post to avoid others suffering the same fate 😢 Closing this now. Thank you for your patience and help figuring this out! |
Not able to mysql gem in ruby 2.3.3 version. My ruby version :ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32]. Getting below exception:
C:/Ruby23-x64/bin/ruby.exe -r ./siteconf20170123-7004-xoua5t.rb extconf.rb Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: C:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/mysql-2.9.1/mkmf.log extconf failed, exit code 1 Gem files will remain installed in C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mysql-2.9.1 for inspection. ######Attaching gem_make.out and mkmf.log file. |
I've documented the issue in this SO question http://stackoverflow.com/questions/17673612/installing-mysql-ruby-gem-in-windows-fails-using-ruby-2-0-0
However here's a quick overview - I'm running the following command from the tutorial http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/
I get the following error
I'm not quite sure what i'm doing wrong here.
The text was updated successfully, but these errors were encountered: