1. Would you please specify the error status?
2. nanosim have a little bit of post-installation problems.
One is:
after installation you have'nt see ./bin directory and you see only ./exec directory
then you must post-install with a command like:
install_ns -r root_ns_installation -plat your_platform(i.e. linux)