Hello and welcome to LinuxQuestions,
As the error states:
Code:
cc1plus: error: /root/ns-allinone-2.34/tclcl-1.19: Permission denied
Try using sudo with your command:
and see where that gets you. If you get an error that your user is not in the sudoers list, then you need to add it as root with visudo.
Kind regards,
Eric