<?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>Sat, 07 Nov 2009 21:58:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
