Topic: MySQL Native Bindings
I was setting up everything (properly, no more locomotive/MAMP for me, as i got sick of the weird config the more i learned) using http://hivelogic.com/articles/2005/12/0 ysql_tiger
Im no unix/server geek, thought i made a huge mistake once but i was wrong...
anwyays, i get to the last part of the setup, which suggest MySQL native binding to speed up rails apps...
and I got this:
blinking8s:~ blinking8s$ sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
Select which gem to install for your platform (i686-darwin8.7.1)
1. mysql 2.7.1 (mswin32)
2. mysql 2.7 (ruby)
3. mysql 2.6 (ruby)
4. mysql 2.5.1 (ruby)
5. Cancel installation
Building native extensions. This could take a while...
*** 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.
Provided configuration options:
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
i read through the link posted above and notices other users were having the same error, but...i just dont understand their way to fix it. I googled stuff, hardly anything remotely dated...i tried a few of the mentions, nothing...
also...on my mysql prefs pane in system profs (OSX 10.4.7) i have no way to stop the mysql server it appearts, the button just says "start mysql server" and that the instance is running below it...
I repaired the mysql server stop/start issue...it didnt finish the install before i ran the pane install...dumb me. dont know how that happened...reinstall worked fine though...so it seems.
Last edited by blinking8s (2006-08-07 07:30:37)