After installing NS-2.35 on Fedora 17 by calling the script ./install on the shell the following message is printed on the screen many often. "Please compile your nam separately". The message tells us that the NAM utility has not been installed properly. In order to install the NAM utility change the file xwd.c.
The location of the file xwd.c is ns-allinone-2.35/nam-1.15/xwd.c. In the file xwd.c comment the following line of code as shown below.
// #include <X11/Xmu/WinUtil.h>
Save the file xwd.c.
Run the ./install script on the Shell again. NAM utility will be installed properly.