View Single Post
  (#1) Old
DenisM DenisM is offline
Posts: 34
Join Date: Mar 2010
Default Installing MYSQL on OS X 10.6.4 ? - 08-01-2010, 10:36 PM

Should I be able to run Netbeans 6.9 + MySQL on a Dell 10V Hackintosh ?
NB runs but gives errors on startup of Ruby on Rails application.
Spec:SnowLeopard 10.6.4 , 2Gigs RAM.

I'm getting an error that tells me to install as follows: gem install mysql.
However I cannot seem to get it installed.
ERROR: Failed to build gem native extension.
This is the reason stated in terminal:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
MySQL has been reinstalled - seemed a normal install.
but will not run. Responds :
command not found
Install of mysql seems to demand this line: (per various searches)

sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/bin/mysql
Is ARCHFLAGS="-arch i386" appropriate for the Intel Atom ?


Reply With Quote