Are you sure your Mac is 64 bit? Most blog posts don't mention that there are still a large number of people using 32 bit machines (myself included).
-Bradly On Mon, Aug 31, 2009 at 11:20 PM, Guyren G Howe <[email protected]> wrote: > > Sigh. > > Can't get MySQL with Rails working. Been at it all day. Let me try to > summarize. > > Installed mysql-5.1.37-osx10.5-x86_64 > > > > Did > sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- –with-mysql- > config=/usr/local/mysql/bin/mysql_config > > which resulted in: > > ERROR: Error installing mysql: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb install mysql -- –with-mysql-config=/usr/local/mysql/bin/ > mysql_config > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lm... yes > checking for mysql_query() in -lmysqlclient... no > > <snip> > > checking for mysql_query() in -lmysqlclient... no > *** 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. > > > > > I installed all the stuff in the MySQL dmg. Got tired of having to > restart System Preferences to go into MYSQL prefs, so installed a 64 > bit version someone made. But with *either* of them, trying to either > stop or start MySQL locked up System Preferences and sent this to the > console: > > 8/31/09 11:11:54 PM authexec[66464] executing /Users/gisborne/Library/ > PreferencePanes/MySQL.prefPane/Contents/Resources/mahelper > 8/31/09 11:11:54 PM kernel SAM Multimedia: READ or WRITE failed, > SENSE_KEY = 0x05, ASC = 0x6f, ASCQ = 0x03 > 8/31/09 11:11:54 PM kernel disk2: privilege violation. > > > over and over. I killed System Preferences, but it's still happening. > Process numbers involved keep changing, so I can't work out how to > kill it. > > I've been googling all sorts of slightly different versions of how to > fix this, and tried all sorts of things, but they all fail in the same > way. > > Thoughts? > > Regards, > > Guyren G Howe > Relevant Logic LLC > > guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178 > > Ruby/Rails, REALbasic, PHP programming > PostgreSQL, MySQL database design and consulting > Technical writing and training > > Read my book, Real OOP with REALbasic: < > http://relevantlogic.com/oop-book/about-the-oop-book.php > > > > > > > --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
