<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails MySQL and Leopard</title>
	<atom:link href="http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/</link>
	<description>a plain personal blog</description>
	<lastBuildDate>Wed, 03 Mar 2010 04:45:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Blythe</title>
		<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/comment-page-1/#comment-40</link>
		<dc:creator>Blythe</dc:creator>
		<pubDate>Wed, 11 Mar 2009 23:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=30#comment-40</guid>
		<description>Thanks Philipp!

I used your trick then copied files as recommended on:
http://bugs.mysql.com/bug.php?id=29580

cd /usr/local/mysql/lib 
mkdir mysql
cp libmysqlclient.15.dylib mysql/libmysqlclient.15.dylib</description>
		<content:encoded><![CDATA[<p>Thanks Philipp!</p>
<p>I used your trick then copied files as recommended on:<br />
<a href="http://bugs.mysql.com/bug.php?id=29580" rel="nofollow">http://bugs.mysql.com/bug.php?id=29580</a></p>
<p>cd /usr/local/mysql/lib<br />
mkdir mysql<br />
cp libmysqlclient.15.dylib mysql/libmysqlclient.15.dylib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/comment-page-1/#comment-14</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=30#comment-14</guid>
		<description>Thanks so much Philipp. Your post came as a savior. Sebastian&#039;s ARCHFLAGS fixed the issue for me as well. I can now rake to pleasure :) Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks so much Philipp. Your post came as a savior. Sebastian&#8217;s ARCHFLAGS fixed the issue for me as well. I can now rake to pleasure <img src='http://www.schmidp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thiago</title>
		<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/comment-page-1/#comment-6</link>
		<dc:creator>Thiago</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=30#comment-6</guid>
		<description>Hi Philipp, tried to use your solution but got the following error. I&#039;m on a Leopard clean install.

----------------------
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
extconf.rb:1: command not found: /usr/local/mysql/bin/mysql_config --cflags
*** 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.
(...)
----------------------

Ideas? Thank you so much! :)</description>
		<content:encoded><![CDATA[<p>Hi Philipp, tried to use your solution but got the following error. I&#8217;m on a Leopard clean install.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Building native extensions.  This could take a while&#8230;<br />
ERROR:  While executing gem &#8230; (Gem::Installer::ExtensionBuildError)<br />
    ERROR: Failed to build gem native extension.</p>
<p>ruby extconf.rb install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
extconf.rb:1: command not found: /usr/local/mysql/bin/mysql_config &#8211;cflags<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers.  Check the mkmf.log file for more<br />
details.  You may need configuration options.<br />
(&#8230;)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Ideas? Thank you so much! <img src='http://www.schmidp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/comment-page-1/#comment-5</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=30#comment-5</guid>
		<description>I came up with a &quot;less intrusive&quot; solution:

http://www.notsostupid.com/blog/2007/10/25/ruby-leopard-and-gems/

It boils down to

sudo bash -c &quot;ARCHFLAGS=&#039;-arch i386&#039; gem install mysql ...&quot;</description>
		<content:encoded><![CDATA[<p>I came up with a &#8220;less intrusive&#8221; solution:</p>
<p><a href="http://www.notsostupid.com/blog/2007/10/25/ruby-leopard-and-gems/" rel="nofollow">http://www.notsostupid.com/blog/2007/10/25/ruby-leopard-and-gems/</a></p>
<p>It boils down to</p>
<p>sudo bash -c &#8220;ARCHFLAGS=&#8217;-arch i386&#8242; gem install mysql &#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Harvey</title>
		<link>http://www.schmidp.com/2007/09/29/rails-mysql-and-leopard/comment-page-1/#comment-4</link>
		<dc:creator>Charles Harvey</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.schmidp.com/?p=30#comment-4</guid>
		<description>Thanks Philipp this worked great.  I had to add a couple of lines to get it to work on my machine see below.

cd /usr/lib/ruby/1.8/universal-darwin9.0/
sudo mv rbconfig.rb rbconfig.rb.orig
sudo chmod 777 /usr/lib/ruby/1.8/universal-darwin9.0/
sudo sed &quot;s/-arch ppc//g&quot; rbconfig.rb.orig &gt; rbconfig.rb
sudo chmod 755 /usr/lib/ruby/1.8/universal-darwin9.0/
sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config</description>
		<content:encoded><![CDATA[<p>Thanks Philipp this worked great.  I had to add a couple of lines to get it to work on my machine see below.</p>
<p>cd /usr/lib/ruby/1.8/universal-darwin9.0/<br />
sudo mv rbconfig.rb rbconfig.rb.orig<br />
sudo chmod 777 /usr/lib/ruby/1.8/universal-darwin9.0/<br />
sudo sed &#8220;s/-arch ppc//g&#8221; rbconfig.rb.orig &gt; rbconfig.rb<br />
sudo chmod 755 /usr/lib/ruby/1.8/universal-darwin9.0/<br />
sudo gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config</p>
]]></content:encoded>
	</item>
</channel>
</rss>
