Renaming the ns-2 folder

When changing the main ns-2 folder, there is a problem doing a reinstall using the ./install command. The tk directory is not updated with regards to the correct folder name. To make this right, dive into the tk8.x.x/unix subdirectory and edit the directory entries in the “Makefile” file. Do remember to correct all entries, also the ones towards the end of the file.

Then jump back to the main ns-2 directory and run the ./install command again. Good luck!

One thought on “Renaming the ns-2 folder

  1. [...] If you are moving and renaming ns-2 folders as time goes by, check the tip here on a potential problem with tk. LD_AddCustomAttr("AdOpt", "1"); LD_AddCustomAttr("Origin", [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.