maybe your user does not have enough rights.
try running the commands you posted as root.

btw, you also have to export QTDIR/ is /space/.../qt4-compiled your qt dir?

regards