Typically this is caused when a user does not have write permissions to a particular directory, in this case “/tmp”. Please check that directory exists and that you have write permissions. If you don’t have permission for this directory, you can set which directory the compiler uses as it’s temp directory by setting the “TMP” environment flag. As an example, try creating a “tmp” directory in your home directory (“mkdir ~/tmp”) and then set TMP to this new directory (“export TMP=~/tmp” or “setenv TMP ~/tmp”).
If you do have write permission in “/tmp”, please add “-v” to you compilation line and post the complete output.