<?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: Installing MySQL gem on Windows &amp; cygwin for Rails</title>
	<atom:link href="http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/feed" rel="self" type="application/rss+xml" />
	<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails</link>
	<description>Official Site of Phase Shift, LLC an IT Consulting Group from Baton Rouge, LA</description>
	<lastBuildDate>Mon, 06 Sep 2010 16:38:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Pete</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-1055</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-1055</guid>
		<description>I couldn&#039;t get the latest versions of mysql to compile at all on cygwin. Using the version listed on this page works, but the link is dead...&lt;a href=&#039;http://downloads.mysql.com/archives.php?p=mysql-5.0&amp;v=5.0.67&#039; rel=&quot;nofollow&quot;&gt;Use this one instead&lt;/a&gt;.

Also, don&#039;t put the mysql source in a path with spaces, because that&#039;ll cause problems too.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t get the latest versions of mysql to compile at all on cygwin. Using the version listed on this page works, but the link is dead&#8230;<a href='http://downloads.mysql.com/archives.php?p=mysql-5.0&amp;v=5.0.67' rel="nofollow">Use this one instead</a>.</p>
<p>Also, don&#8217;t put the mysql source in a path with spaces, because that&#8217;ll cause problems too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-763</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Fri, 26 Feb 2010 01:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-763</guid>
		<description>Guys, thanks for the helpful comments.  I&#039;ve updated this post with the new information.</description>
		<content:encoded><![CDATA[<p>Guys, thanks for the helpful comments.  I&#8217;ve updated this post with the new information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-761</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Thu, 18 Feb 2010 02:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-761</guid>
		<description>guys, i had the same problem with the recursive errors on make install.  first, i recommend running make first and then make install.  second, you have two options to resolve.  one is to get ttydefaults.h and put it in your system directory (as noted above).  the other is to install readline from cygwin so that you can do:

./configure --without readline CFLAG=-02&quot;

See here for more help:
http://bugs.mysql.com/bug.php?id=45057

i would also like to thank the author for showing us the way to get this up and running.</description>
		<content:encoded><![CDATA[<p>guys, i had the same problem with the recursive errors on make install.  first, i recommend running make first and then make install.  second, you have two options to resolve.  one is to get ttydefaults.h and put it in your system directory (as noted above).  the other is to install readline from cygwin so that you can do:</p>
<p>./configure &#8211;without readline CFLAG=-02&#8243;</p>
<p>See here for more help:<br />
<a href="http://bugs.mysql.com/bug.php?id=45057" rel="nofollow">http://bugs.mysql.com/bug.php?id=45057</a></p>
<p>i would also like to thank the author for showing us the way to get this up and running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssaidwho</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-758</link>
		<dc:creator>ssaidwho</dc:creator>
		<pubDate>Tue, 08 Dec 2009 20:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-758</guid>
		<description>I had errors similar to Alexis, but his fixes didn&#039;t work for me. Daren&#039;s suggestion to copy the file from another system did the trick for me:

cp ttydefaults.h /usr/include/sys/

then I ran configure without arguments and make install.

I didn&#039;t try copying from this source, but its probably the same file: http://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/ttydefaults.h

I checked out the betterlogic solution but couldn&#039;t find the mysql development package in the recommended location</description>
		<content:encoded><![CDATA[<p>I had errors similar to Alexis, but his fixes didn&#8217;t work for me. Daren&#8217;s suggestion to copy the file from another system did the trick for me:</p>
<p>cp ttydefaults.h /usr/include/sys/</p>
<p>then I ran configure without arguments and make install.</p>
<p>I didn&#8217;t try copying from this source, but its probably the same file: <a href="http://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/ttydefaults.h" rel="nofollow">http://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/ttydefaults.h</a></p>
<p>I checked out the betterlogic solution but couldn&#8217;t find the mysql development package in the recommended location</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger rubygems</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-251</link>
		<dc:creator>roger rubygems</dc:creator>
		<pubDate>Thu, 13 Aug 2009 16:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-251</guid>
		<description>also you need to have installed the gcc package for cygwin [a gotcha for me] so that compilation of the mysql gem works</description>
		<content:encoded><![CDATA[<p>also you need to have installed the gcc package for cygwin [a gotcha for me] so that compilation of the mysql gem works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger rubygems</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-250</link>
		<dc:creator>roger rubygems</dc:creator>
		<pubDate>Thu, 13 Aug 2009 16:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-250</guid>
		<description>Note also that you can install libmysql-devel from cygwin ports and then it will also work.
See http://betterlogic.com/roger/?p=1829</description>
		<content:encoded><![CDATA[<p>Note also that you can install libmysql-devel from cygwin ports and then it will also work.<br />
See <a href="http://betterlogic.com/roger/?p=1829" rel="nofollow">http://betterlogic.com/roger/?p=1829</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahin Kordasti</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-218</link>
		<dc:creator>Shahin Kordasti</dc:creator>
		<pubDate>Wed, 15 Jul 2009 14:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-218</guid>
		<description>Uhm useful guide I guess but I had to run make before running make install or the gem command would fail. Would be nice if that had been mentioned as it took me hours to figure out why it didnt work :/</description>
		<content:encoded><![CDATA[<p>Uhm useful guide I guess but I had to run make before running make install or the gem command would fail. Would be nice if that had been mentioned as it took me hours to figure out why it didnt work :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mads</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-86</link>
		<dc:creator>mads</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-86</guid>
		<description>./configure --without-libedit --without-readline --without-server CFLAGS=-O2
worked flawlessly on cygwin with make/gcc/readline installed (not libreadline, that&#039;s a dependency anyway; I mean readline under Devel). This was MySQL 5.1.35.

This is unrelated to Rails, I needed the mysql-client to install MySQLdb on cygwin, but it&#039;s the same issue.</description>
		<content:encoded><![CDATA[<p>./configure &#8211;without-libedit &#8211;without-readline &#8211;without-server CFLAGS=-O2<br />
worked flawlessly on cygwin with make/gcc/readline installed (not libreadline, that&#8217;s a dependency anyway; I mean readline under Devel). This was MySQL 5.1.35.</p>
<p>This is unrelated to Rails, I needed the mysql-client to install MySQLdb on cygwin, but it&#8217;s the same issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luke</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-83</link>
		<dc:creator>luke</dc:creator>
		<pubDate>Wed, 08 Apr 2009 09:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-83</guid>
		<description>Thanks a lot, Alexis, I went through the same difficulties you described. And thanks to your comments I was able to finally install gem mysql :-)</description>
		<content:encoded><![CDATA[<p>Thanks a lot, Alexis, I went through the same difficulties you described. And thanks to your comments I was able to finally install gem mysql :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daren</title>
		<link>http://phaseshiftllc.com/archives/2008/10/26/installing-mysql-gem-on-windows-cygwin-for-rails/comment-page-1#comment-82</link>
		<dc:creator>daren</dc:creator>
		<pubDate>Tue, 31 Mar 2009 04:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://phaseshiftllc.com/?p=146#comment-82</guid>
		<description>I couldn&#039;t find a cygwin package containing /usr/include/sys/ttydefaults.h so I copied the file from my cent0S box and it built without errors.</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t find a cygwin package containing /usr/include/sys/ttydefaults.h so I copied the file from my cent0S box and it built without errors.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
