Error while installing rock

Hi,
I am trying to install rock on a Linux Mint 17.2 system.I am constantly
getting the error

ERROR: got an error processing rtt, waiting for pending jobs to end
Command failed
rtt(/home/sambeet/rock/tools/rtt): failed in configure phase

Attatched with this is the logfile.

Can someone please help me to fix this?

Regards

Sambeet