<?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: Install MySQL and MySQL Ruby gem on Snow Leopard, 64 bit</title>
	<atom:link href="http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/</link>
	<description>Just a placeholder</description>
	<lastBuildDate>Wed, 17 Mar 2010 13:46:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Apache, PHP, Mysql, PhpMyAdmin on Snow &#171; Craptex&#39;s Blog</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-568</link>
		<dc:creator>Apache, PHP, Mysql, PhpMyAdmin on Snow &#171; Craptex&#39;s Blog</dc:creator>
		<pubDate>Fri, 05 Mar 2010 16:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-568</guid>
		<description>[...] Yes we are speaking about install Mysql server and PhpMyAdmin on our Snow Leopard machine. In reality we&#8217;ll use apache preinstalled on Snow, so we need only to install Mysql and PhpMyAdmin. In order to install Mysql please follow this [...]</description>
		<content:encoded><![CDATA[<p>[...] Yes we are speaking about install Mysql server and PhpMyAdmin on our Snow Leopard machine. In reality we&#8217;ll use apache preinstalled on Snow, so we need only to install Mysql and PhpMyAdmin. In order to install Mysql please follow this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kain</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-556</link>
		<dc:creator>kain</dc:creator>
		<pubDate>Mon, 08 Feb 2010 00:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-556</guid>
		<description>you haven&#039;t downloaded the source, you got the binary tarball</description>
		<content:encoded><![CDATA[<p>you haven&#8217;t downloaded the source, you got the binary tarball</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chong Kee</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-555</link>
		<dc:creator>Chong Kee</dc:creator>
		<pubDate>Mon, 08 Feb 2010 00:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-555</guid>
		<description>I&#039;m a newbie at this and hit a problem early on when doing the long one line configure:

-bash: ./configure: No such file or directory

Unlike Rob, I did download the source code into usr/local/mysql, and the tar ball unpacked to a directory mysql-5.1.43-osx10.6-x86_64. I cd into mysql-5.1.43-osx10.6-x86_64, and did the &quot;CC=gcc CFLAGS=&quot;-arch x86_64 -O3 -fno-omit-frame-pointer&quot; etc long one line command.

What should I do now? Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m a newbie at this and hit a problem early on when doing the long one line configure:</p>
<p>-bash: ./configure: No such file or directory</p>
<p>Unlike Rob, I did download the source code into usr/local/mysql, and the tar ball unpacked to a directory mysql-5.1.43-osx10.6-x86_64. I cd into mysql-5.1.43-osx10.6-x86_64, and did the &#8220;CC=gcc CFLAGS=&#8221;-arch x86_64 -O3 -fno-omit-frame-pointer&#8221; etc long one line command.</p>
<p>What should I do now? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CantRemembrances &#187; Blog Archive &#187; Upgrading your Rails Development Mac to Snow Leopard</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-554</link>
		<dc:creator>CantRemembrances &#187; Blog Archive &#187; Upgrading your Rails Development Mac to Snow Leopard</dc:creator>
		<pubDate>Sun, 07 Feb 2010 06:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-554</guid>
		<description>[...] starters, you may way want to glance over this very useful iCoreTech blog post to see if it works for you. But if you run into a lot of issues like I did, you may need to do it [...]</description>
		<content:encoded><![CDATA[<p>[...] starters, you may way want to glance over this very useful iCoreTech blog post to see if it works for you. But if you run into a lot of issues like I did, you may need to do it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sleepbotzz</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-1/#comment-539</link>
		<dc:creator>sleepbotzz</dc:creator>
		<pubDate>Wed, 13 Jan 2010 01:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-539</guid>
		<description>BUMP what Ajay says below ...

upgrade past Ruby 1.9.1 v243 and the make should build</description>
		<content:encoded><![CDATA[<p>BUMP what Ajay says below &#8230;</p>
<p>upgrade past Ruby 1.9.1 v243 and the make should build</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kain</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-536</link>
		<dc:creator>kain</dc:creator>
		<pubDate>Wed, 06 Jan 2010 03:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-536</guid>
		<description>guessing, this is a C extension, and gem is trying to build documentation for those methods.</description>
		<content:encoded><![CDATA[<p>guessing, this is a C extension, and gem is trying to build documentation for those methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-2/#comment-507</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Tue, 05 Jan 2010 15:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-507</guid>
		<description>Hi  kain
Thanks for your help
I get the same answer as rob :

dhcp-71:LaunchDaemons gg$ sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions.  This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

No definition for time_set_minute

No definition for time_set_second

No definition for time_set_neg

No definition for time_set_second_part

No definition for time_equal

No definition for error_errno

No definition for error_sqlstate
Installing RDoc documentation for mysql-2.8.1...

No definition for next_result

No definition for field_name

No definition for field_table

No definition for field_def

No definition for field_type

No definition for field_length

No definition for field_max_length

No definition for field_flags

No definition for field_decimals

No definition for time_inspect

No definition for time_to_s

No definition for time_get_year

No definition for time_get_month

No definition for time_get_day

No definition for time_get_hour

No definition for time_get_minute

No definition for time_get_second

No definition for time_get_neg

No definition for time_get_second_part

No definition for time_set_year

No definition for time_set_month

No definition for time_set_day

No definition for time_set_hour

No definition for time_set_minute

No definition for time_set_second

No definition for time_set_neg

No definition for time_set_second_part

No definition for time_equal

No definition for error_errno

No definition for error_sqlstate


--

So I understand that mysql is correctly installed but what is the pb with those definitions ?

Thanks

Guillaume</description>
		<content:encoded><![CDATA[<p>Hi  kain<br />
Thanks for your help<br />
I get the same answer as rob :</p>
<p>dhcp-71:LaunchDaemons gg$ sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
Building native extensions.  This could take a while&#8230;<br />
Successfully installed mysql-2.8.1<br />
1 gem installed<br />
Installing ri documentation for mysql-2.8.1&#8230;</p>
<p>No definition for next_result</p>
<p>No definition for field_name</p>
<p>No definition for field_table</p>
<p>No definition for field_def</p>
<p>No definition for field_type</p>
<p>No definition for field_length</p>
<p>No definition for field_max_length</p>
<p>No definition for field_flags</p>
<p>No definition for field_decimals</p>
<p>No definition for time_inspect</p>
<p>No definition for time_to_s</p>
<p>No definition for time_get_year</p>
<p>No definition for time_get_month</p>
<p>No definition for time_get_day</p>
<p>No definition for time_get_hour</p>
<p>No definition for time_get_minute</p>
<p>No definition for time_get_second</p>
<p>No definition for time_get_neg</p>
<p>No definition for time_get_second_part</p>
<p>No definition for time_set_year</p>
<p>No definition for time_set_month</p>
<p>No definition for time_set_day</p>
<p>No definition for time_set_hour</p>
<p>No definition for time_set_minute</p>
<p>No definition for time_set_second</p>
<p>No definition for time_set_neg</p>
<p>No definition for time_set_second_part</p>
<p>No definition for time_equal</p>
<p>No definition for error_errno</p>
<p>No definition for error_sqlstate<br />
Installing RDoc documentation for mysql-2.8.1&#8230;</p>
<p>No definition for next_result</p>
<p>No definition for field_name</p>
<p>No definition for field_table</p>
<p>No definition for field_def</p>
<p>No definition for field_type</p>
<p>No definition for field_length</p>
<p>No definition for field_max_length</p>
<p>No definition for field_flags</p>
<p>No definition for field_decimals</p>
<p>No definition for time_inspect</p>
<p>No definition for time_to_s</p>
<p>No definition for time_get_year</p>
<p>No definition for time_get_month</p>
<p>No definition for time_get_day</p>
<p>No definition for time_get_hour</p>
<p>No definition for time_get_minute</p>
<p>No definition for time_get_second</p>
<p>No definition for time_get_neg</p>
<p>No definition for time_get_second_part</p>
<p>No definition for time_set_year</p>
<p>No definition for time_set_month</p>
<p>No definition for time_set_day</p>
<p>No definition for time_set_hour</p>
<p>No definition for time_set_minute</p>
<p>No definition for time_set_second</p>
<p>No definition for time_set_neg</p>
<p>No definition for time_set_second_part</p>
<p>No definition for time_equal</p>
<p>No definition for error_errno</p>
<p>No definition for error_sqlstate</p>
<p>&#8211;</p>
<p>So I understand that mysql is correctly installed but what is the pb with those definitions ?</p>
<p>Thanks</p>
<p>Guillaume</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-1/#comment-504</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 17 Dec 2009 06:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-504</guid>
		<description>So I figured out what the issue was...

It turns our there is a bug in version 243 of ruby 1.9.1.

Just update to the latest ruby (376 at this time) and it works fine.

Ajay</description>
		<content:encoded><![CDATA[<p>So I figured out what the issue was&#8230;</p>
<p>It turns our there is a bug in version 243 of ruby 1.9.1.</p>
<p>Just update to the latest ruby (376 at this time) and it works fine.</p>
<p>Ajay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-1/#comment-503</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 17 Dec 2009 06:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-503</guid>
		<description>Everything works until the last step (which is the most crucial and one that I have scoured 100s of websites for)..

The Last Step:
 sudo env ARCHFLAGS=&quot;-arch x86_64&quot; gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config


The Result:
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
	ERROR: Failed to build gem native extension.

/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/bin/ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... no
checking for mysql.h... yes
creating Makefile

make
gcc -I. -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/i386-darwin9.7.0 -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/backward -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -I/usr/local/mysql/include/mysql  -arch x86_64 -fno-omit-frame-pointer   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL -fno-common  -O2 -g -Wall -Wno-parentheses  -fno-common -pipe -fno-common  -o mysql.o -c mysql.c
In file included from /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby.h:32,
                 from mysql.c:5:
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h: In function ‘INT2NUM’:
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h: In function ‘UINT2NUM’:
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:472: warning: comparison is always true due to limited range of data type
mysql.c: In function ‘escape_string’:
mysql.c:290: error: lvalue required as left operand of assignment
mysql.c:290: error: lvalue required as left operand of assignment
mysql.c: In function ‘real_escape_string’:
mysql.c:434: error: lvalue required as left operand of assignment
mysql.c:434: error: lvalue required as left operand of assignment
make: *** [mysql.o] Error 1


Gem files will remain installed in /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/mysql-2.8.1 for inspection.
Results logged to /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/mysql-2.8.1/ext/mysql_api/gem_make.out</description>
		<content:encoded><![CDATA[<p>Everything works until the last step (which is the most crucial and one that I have scoured 100s of websites for)..</p>
<p>The Last Step:<br />
 sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install mysql &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config</p>
<p>The Result:<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>/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/bin/ruby extconf.rb &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
checking for mysql_ssl_set()&#8230; yes<br />
checking for rb_str_set_len()&#8230; no<br />
checking for rb_thread_start_timer()&#8230; no<br />
checking for mysql.h&#8230; yes<br />
creating Makefile</p>
<p>make<br />
gcc -I. -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/i386-darwin9.7.0 -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/backward -I/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_H  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -I/usr/local/mysql/include/mysql  -arch x86_64 -fno-omit-frame-pointer   -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL -fno-common  -O2 -g -Wall -Wno-parentheses  -fno-common -pipe -fno-common  -o mysql.o -c mysql.c<br />
In file included from /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby.h:32,<br />
                 from mysql.c:5:<br />
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h: In function ‘INT2NUM’:<br />
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type<br />
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:464: warning: comparison is always true due to limited range of data type<br />
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h: In function ‘UINT2NUM’:<br />
/Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/include/ruby-1.9.1/ruby/ruby.h:472: warning: comparison is always true due to limited range of data type<br />
mysql.c: In function ‘escape_string’:<br />
mysql.c:290: error: lvalue required as left operand of assignment<br />
mysql.c:290: error: lvalue required as left operand of assignment<br />
mysql.c: In function ‘real_escape_string’:<br />
mysql.c:434: error: lvalue required as left operand of assignment<br />
mysql.c:434: error: lvalue required as left operand of assignment<br />
make: *** [mysql.o] Error 1</p>
<p>Gem files will remain installed in /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/mysql-2.8.1 for inspection.<br />
Results logged to /Users/ajayreddy/.ruby_versions/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/mysql-2.8.1/ext/mysql_api/gem_make.out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StuFF mc</title>
		<link>http://www.icoretech.org/2009/08/install-mysql-and-mysql-ruby-gem-on-snow-leopard-64-bit/comment-page-1/#comment-502</link>
		<dc:creator>StuFF mc</dc:creator>
		<pubDate>Wed, 16 Dec 2009 15:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.icoretech.org/?p=45#comment-502</guid>
		<description>Hey just wanted to mention that for me the trick was doing the whole &quot;rubygems update&quot; thingy in your post. I couldn&#039;t install the mysql gem on rvm 1.9.1 and this did the trick ;) Now I&#039;m onto the &quot;incompatible character encodings: UTF-8 and ASCII-8BIT&quot; issue but that&#039;s another problem.</description>
		<content:encoded><![CDATA[<p>Hey just wanted to mention that for me the trick was doing the whole &#8220;rubygems update&#8221; thingy in your post. I couldn&#8217;t install the mysql gem on rvm 1.9.1 and this did the trick ;) Now I&#8217;m onto the &#8220;incompatible character encodings: UTF-8 and ASCII-8BIT&#8221; issue but that&#8217;s another problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
