title: Where to find mysql include files for configuring Sphinx on MAMP
body: <p>I tried to configure using <code>/.configure</code>
  got the following error
  can anyone tell me how to resolve this?? I'm unable to find mysql files and include folder in MAMP/Library</p>
  
  <p>any help..</p>
  
  <pre><code>configuring Sphinx
  ------------------
  
  checking for CFLAGS needed for pthreads... none
  checking for LIBS needed for pthreads... -lpthread
  checking for pthreads... found
  checking whether to compile with MySQL support... yes
  checking for mysql_config... not found
  checking MySQL include files... configure: error: missing include files.
  
  ******************************************************************************
  ERROR: cannot find MySQL include files.
  
  Check that you do have MySQL include files installed.
  The package name is typically 'mysql-devel'.
  
  If include files are installed on your system, but you are still getting
  this message, you should do one of the following:
  
  1) either specify includes location explicitly, using --with-mysql-includes;
  2) or specify MySQL installation root location explicitly, using --with-mysql;
  3) or make sure that the path to 'mysql_config' program is listed in
     your PATH environment variable.
  
  To disable MySQL support, use --without-mysql option.
  ******************************************************************************
  </code></pre>
  
  <p>Many Thanks,</p>