title: GLEW build fail
body: <p>I need to load extensions in Ubuntu 11.10.  I tried building GLEW but I get the following odd error...</p>
  
  <pre><code>~/Downloads/glew-1.7.0$ make 
  cc -shared -Wl,-soname=libGLEW.so.1.7 -o lib/libGLEW.so.1.7.0 src/glew.pic_o -L/usr/X11R6/lib64 -lXmu -lXi -lGLU -lGL -lXext -lX11 
  /usr/bin/ld: cannot find -lXmu 
  /usr/bin/ld: cannot find -lXi 
  collect2: ld returned 1 exit status 
  make: *** [lib/libGLEW.so.1.7.0] Error 1 
  </code></pre>
  
  <p>Here's what I've found suggested (and thus tried with no success):</p>
  
  <pre><code>sudo apt-get install --reinstall mesa-common-dev
  
  sudo apt-get install --reinstall libx11-dev
  </code></pre>
  
  <p>I also saw somewhere to simply put a <code>#define GL_GLEXT_EXTENSIONS</code> at the top of the file, and that didn't work either.</p>
  
  <p>If anyone could show me how to fix that odd error so I could build GLEW and/or show me how to manually load OpenGL extensions in Linux (I only see code on how to do it in Windows...) that would be great!</p>