I used a long time to understand how to install software on HPCC. Previously, due to the limited permission I also failed to install anything on the university HPCC.
The solution is simple for most cases. Set up the install directory in your own directory. I have a folder at ~/bin and add it to the PATH by export PATH=~/bin:$PATH. Then install software there.
When you ./configure a source file, in most condition, add –prefix=~/bin is fine. But you should check the configure file to see whether it has other requirement.
Here I use ImageMagick as example. I always use it to generate animation with VMD and combine figures generated by GNUPLOT. (citaiton: http://www.imagemagick.org/script/install-source.php)
I passed 76 test, no errors : )