You're right, I'm just used to programming in glX.<br>Here is the revised patch:<br><br>Index: rakefile<br>===================================================================<br>--- rakefile&nbsp;&nbsp;&nbsp; (revision 20)<br>+++ rakefile&nbsp;&nbsp;&nbsp; (working copy)
<br>@@ -23,7 +23,7 @@<br>&nbsp;&nbsp;&nbsp;&nbsp; # Don't understand why swig doesn't define this...<br>&nbsp;&nbsp;&nbsp;&nbsp; swig_args = &quot;-DSWIGMAC&quot;<br>&nbsp;else<br>-&nbsp;&nbsp;&nbsp; extconf_args = &quot;&quot;<br>+&nbsp;&nbsp;&nbsp; extconf_args = &quot;--with-ldflags='-lGL -lGLU -lglut'&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp; swig_args = &quot;-I/usr/include&quot;<br>&nbsp;end<br><br><br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">minh thu</b> &lt;<a href="mailto:noteed@gmail.com">noteed@gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<br><br>Robert,<br>why do you add -lX11 ? glut already wrap x11 on x11 based machines.
<br><br>sincerly,<br>vo minh thu<br><br>2006/8/28, Robert Krimen &lt;<a href="mailto:grin.k1tt3n@gmail.com">grin.k1tt3n@gmail.com</a>&gt;:<br>&gt; Index: ext/glut/rakefile<br>&gt; ===================================================================
<br>&gt; --- ext/glut/rakefile&nbsp;&nbsp; (revision 20)<br>&gt; +++ ext/glut/rakefile&nbsp;&nbsp; (working copy)<br>&gt; @@ -23,7 +23,7 @@<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Don't understand why swig doesn't define this...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swig_args = &quot;-DSWIGMAC&quot;
<br>&gt;&nbsp;&nbsp;else<br>&gt; -&nbsp;&nbsp;&nbsp;&nbsp;extconf_args = &quot;&quot;<br>&gt; +&nbsp;&nbsp;&nbsp;&nbsp;extconf_args = &quot;--with-ldflags='-lX11 -lGL -lGLU -lglut'&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;swig_args = &quot;-I/usr/include&quot;<br>&gt;&nbsp;&nbsp;end<br>&gt;<br>&gt;<br>
</blockquote></div><br>