<?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: MySQL ruby gem install problem on Mac OS X Leopard</title>
	<atom:link href="http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/</link>
	<description>Fixes for Apple AirPort, QuickTime AVI, and other Leopard Issues</description>
	<pubDate>Fri, 18 May 2012 06:15:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Craig Ulliott</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2097</link>
		<dc:creator>Craig Ulliott</dc:creator>
		<pubDate>Sat, 16 Jul 2011 15:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2097</guid>
		<description>If you're using RVM you will need to specify the location of the ruby headers

env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config --with-ruby-include=/Users/craig/.rvm/src/ruby-1.9.2-p180/</description>
		<content:encoded><![CDATA[<p>If you&#8217;re using RVM you will need to specify the location of the ruby headers</p>
<p>env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config &#8211;with-ruby-include=/Users/craig/.rvm/src/ruby-1.9.2-p180/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Squeeze Page Creator</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2082</link>
		<dc:creator>Squeeze Page Creator</dc:creator>
		<pubDate>Sat, 11 Jun 2011 06:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2082</guid>
		<description>Wow! You've just fixed my problem! I having the same issue with my MySQL ruby gem and I applied your fix. This works for me perfectly. Thanks!</description>
		<content:encoded><![CDATA[<p>Wow! You&#8217;ve just fixed my problem! I having the same issue with my MySQL ruby gem and I applied your fix. This works for me perfectly. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2076</link>
		<dc:creator>Harry</dc:creator>
		<pubDate>Fri, 03 Jun 2011 07:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2076</guid>
		<description>Great post!! Thanks for sharing an informative and interesting article. Keep it up!</description>
		<content:encoded><![CDATA[<p>Great post!! Thanks for sharing an informative and interesting article. Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2075</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Fri, 03 Jun 2011 02:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2075</guid>
		<description>This is awesome!! Thank you so much for posting this!! :)</description>
		<content:encoded><![CDATA[<p>This is awesome!! Thank you so much for posting this!! <img src='http://installingcats.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quick Hit: Library not loaded: libmysqlclient.16.dylib &#187; Rebecca Miller-Webster</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2046</link>
		<dc:creator>Quick Hit: Library not loaded: libmysqlclient.16.dylib &#187; Rebecca Miller-Webster</dc:creator>
		<pubDate>Tue, 19 Apr 2011 19:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2046</guid>
		<description>[...] reading this post, and futzing around, I got it to work. Here was the fix: sudo install_name_tool -change [...]</description>
		<content:encoded><![CDATA[<p>[...] reading this post, and futzing around, I got it to work. Here was the fix: sudo install_name_tool -change [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 我如何安装OS X的下10.5.4 MySQL的红宝石宝石 &#124; IT技术问答论坛IT技术问答论坛</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-2008</link>
		<dc:creator>我如何安装OS X的下10.5.4 MySQL的红宝石宝石 &#124; IT技术问答论坛IT技术问答论坛</dc:creator>
		<pubDate>Tue, 08 Feb 2011 17:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-2008</guid>
		<description>[...] ， 这个 ， 这个 ， 这个 [...]</description>
		<content:encoded><![CDATA[<p>[...] ， 这个 ， 这个 ， 这个 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-454</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Mon, 05 Jan 2009 05:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-454</guid>
		<description>Thanks a lot for this, it helped me solve the the last in a long chain of problems I've been encountering.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this, it helped me solve the the last in a long chain of problems I&#8217;ve been encountering.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg H</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-272</link>
		<dc:creator>Greg H</dc:creator>
		<pubDate>Sun, 14 Sep 2008 20:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-272</guid>
		<description>Hi - I don't suppose anyone has a suggestion for this error I'm getting...still can't seem to get the mysql gem installed   :(

Macintosh-2:myequity greg$ sudo env ARCHFLAGS="-arch i386" gem install mysql --   --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib   --with-mysql-include=/usr/local/mysql/include -V

WARNING:  RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance.
Updating metadata for 69 gems from http://gems.rubyforge.org/
.....................................................................
complete
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

/opt/local/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include -V
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... yes
checking for mysql_ssl_set()... yes
checking for mysql.h... yes
creating Makefile

make
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.3.0 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H -I/usr/local/mysql/include -I/usr/local/mysql/include -I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common  -c mysql.c
mysql.c: In function 'Init_mysql':
mysql.c:2015: error: 'ulong' undeclared (first use in this function)
mysql.c:2015: error: (Each undeclared identifier is reported only once
mysql.c:2015: error: for each function it appears in.)
mysql.c:2015: error: syntax error before numeric constant
mysql.c:2018: error: syntax error before numeric constant
make: *** [mysql.o] Error 1


Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
Results logged to /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
Macintosh-2:myequity greg$</description>
		<content:encoded><![CDATA[<p>Hi - I don&#8217;t suppose anyone has a suggestion for this error I&#8217;m getting&#8230;still can&#8217;t seem to get the mysql gem installed   <img src='http://installingcats.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Macintosh-2:myequity greg$ sudo env ARCHFLAGS=&#8221;-arch i386&#8243; gem install mysql &#8212;   &#8211;with-mysql-dir=/usr/local/mysql &#8211;with-mysql-lib=/usr/local/mysql/lib   &#8211;with-mysql-include=/usr/local/mysql/include -V</p>
<p>WARNING:  RubyGems 1.2+ index not found for:</p>
<p>RubyGems will revert to legacy indexes degrading performance.<br />
Updating metadata for 69 gems from <a href="http://gems.rubyforge.org/" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/gems.rubyforge.org');">http://gems.rubyforge.org/</a><br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
complete<br />
Building native extensions.  This could take a while&#8230;<br />
ERROR:  Error installing mysql:<br />
        ERROR: Failed to build gem native extension.</p>
<p>/opt/local/bin/ruby extconf.rb install mysql &#8212; &#8211;with-mysql-dir=/usr/local/mysql &#8211;with-mysql-lib=/usr/local/mysql/lib &#8211;with-mysql-include=/usr/local/mysql/include -V<br />
checking for mysql_query() in -lmysqlclient&#8230; no<br />
checking for main() in -lm&#8230; yes<br />
checking for mysql_query() in -lmysqlclient&#8230; no<br />
checking for main() in -lz&#8230; yes<br />
checking for mysql_query() in -lmysqlclient&#8230; yes<br />
checking for mysql_ssl_set()&#8230; yes<br />
checking for mysql.h&#8230; yes<br />
creating Makefile</p>
<p>make<br />
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.3.0 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H -I/usr/local/mysql/include -I/usr/local/mysql/include -I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common  -c mysql.c<br />
mysql.c: In function &#8216;Init_mysql&#8217;:<br />
mysql.c:2015: error: &#8216;ulong&#8217; undeclared (first use in this function)<br />
mysql.c:2015: error: (Each undeclared identifier is reported only once<br />
mysql.c:2015: error: for each function it appears in.)<br />
mysql.c:2015: error: syntax error before numeric constant<br />
mysql.c:2018: error: syntax error before numeric constant<br />
make: *** [mysql.o] Error 1</p>
<p>Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.<br />
Results logged to /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out<br />
Macintosh-2:myequity greg$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nuc</title>
		<link>http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/comment-page-1/#comment-187</link>
		<dc:creator>nuc</dc:creator>
		<pubDate>Sat, 26 Jul 2008 11:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://installingcats.com/2007/12/13/mysql-ruby-gem-install-problem-on-mac-os-x-leopard/#comment-187</guid>
		<description>You're absolutely amazing!!!!!!!!!


Thank you :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re absolutely amazing!!!!!!!!!</p>
<p>Thank you <img src='http://installingcats.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

