title: How to set the TMPDIR environment variable to another directory?
body: <p>I'M triyng to compile ffmpeg and there is a problem with tmp dir because is mounted with noexec:</p>
  
  <blockquote>
    <p>./configure --enable-libmp3lame --enable-libvorbis --disable-mmx
    --enable-shared Unable to create and execute files in /tmp.  Set the TMPDIR environment variable to another directory and make sure that it
    is not mounted noexec. Sanity test failed.</p>
    
    <p>If you think configure made a mistake, make sure you are using the
    latest version from SVN.  If the latest version fails, report the
    problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on
    irc.freenode.net. Include the log file "config.err" produced by
    configure as this will help solving the problem.</p>
  </blockquote>
  
  <p>How to set the TMPDIR environment variable to another directory?</p>