-
Notifications
You must be signed in to change notification settings - Fork 547
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
Does not compile against OSX binary install #6
Comments
Yeah, I need to add a bunch of tweaks to extconf for this. It's on my internal TODO, shoulda probably opened a ticket for it. This'll work ;) |
fixed it real quick. |
Wanna see if this helps at all? |
Doesn't fix it. And extconf.rb line 7 should be "with-mysql-dir" |
well shiiiit, I was really hoping I wouldn't have to do something like this: http://github.com/oldmoe/mysqlplus/blob/master/ext/extconf.rb |
I gave up ;) |
Great, installs perfectly without needing any additional config options. I know it's ugly but from a user perspective it's a million times better now. |
rad, thanks for trying it out. I'll push a new gem soon. |
rubies/ruby-1.9.2-rc2/bin/ruby extconf.rb --with-mysql-config=/Applications/xampp/xamppfiles/bin/mysql_config mysql.h is missing. please check your installation of mysql and try again. extconf.rb failed |
zbage: when installing mysql related gems you need to have mysql lib and development files installed on your system. |
gem install mysql2 -- --with-mysql-config=/Applications/xampp/xamppfiles/bin/mysql_config Already installed XAMPP Developer package checking for rb_thread_blocking_region()... yes mysql.h is missing. please check your installation of mysql and try again. extconf.rb failed |
Very strange... |
Very similar failure here. Regarding the mkmf.log the compiler knew where the mysql.h is but another issue mislead the extconf.rb: So the have_header functions fails for another reason not because the header is not there. |
ARCH_FLAG should be ARCH_FLAGS |
This also works for me |
I installed the 5.1.45 OSX binary package from dev.mysql.com. The headers are in /usr/local/mysql/include:
So I get this error:
The text was updated successfully, but these errors were encountered: