Check the mkmf.log file for more details Installing mysql on Leopard

2 Apr

Today I was trying to do a

gem install mysql.
and kept getting this issue

*** 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 had to do to finally install the gem.

sudo gem install mysql — –with-mysql-dir=/usr/local/mysql

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.