title: pygame installation: sdl-config command not found
body: <p>I used</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>./configure --prefix=$HOME
  make
  make install
  </code></pre>
  
  <p>to install sdl2, 
  after which I tried to install pygame by </p>
  
  <pre class="lang-none prettyprint-override"><code>cd ../pygame-1.9.1release/
  python setup.py install
  </code></pre>
  
  <p>but I am getting an error:</p>
  
  <pre class="lang-none prettyprint-override"><code>linuxnx:~/python/library/pygame-1.9.1release&gt; python setup.py install
  WARNING, No "Setup" File Exists, Running "config.py"
  Using UNIX configuration...
  Hunting dependencies...
  sh: sdl-config: command not found
  WARNING: "sdl-config" failed!
  sh: smpeg-config: command not found
  WARNING: "smpeg-config" failed!
  Unable to run "sdl-config". Please make sure a development version of SDL is installed.
  </code></pre>