build OK, run OK; set TMPDIR before building

export TMPDIR=...
print errors, stderr and stdout to console when script/run is run