Created On:  10 August 2011

Problem:

The error message "can not create temporary directory" appears when compiling a program, or when executing a utility (such as Micro Focus's mfsupport utility).

Resolution:

Here are a few items to check in resolving this problem:

Is the TMPDIR environment variable set?  Micro Focus follows the value of this environment variable when creating temporary files.

If TMPDIR is set, does the directory pointed to by TMPDIR exist?  If so, do you have permission to write in that directory?  You can test this by using a UNIX command to create or "touch" a new file in that directory.

If TMPDIR is not set, Micro Focus uses default locations of /tmp or /var/tmp.  Is there a permissions problem, or a disk space problem, in these locations?

To solve the problem, you could set the environment variable TMPDIR to a location having adequate permissions and disk space.