Wednesday, March 3, 2010

NS2, Windows 7, and Cygwin 1.7: What a nightmare

The rumor has it that this is the worst combination ever. The reason? It doesn't work. I try it myself. Well what I did is to build NS2 (2.33 and 2.34) over Cygwin 1.7. It creates error when the installation suite builds Tcl.

Looking for the solution online, someone also experience similar problems. Here is the summary:

- NS2 works well over Cygwin 1.5, but does not work over Cygwin 1.7.
- Cygwin 1.5 does not work on Windows 7 see[].

Unfortunately, Cygwin 1.5 can not be obtained easily.

Potential solution:

I am planning to try this. If you have comments, please let me know.

1. Use NS version 2.35 which has not officially available yet.
2. Install Cygwin 1.5.
- Windows XP: You have to get setup-legacy.exe file from Cygwin (instead of setup.exe). It helps install version 1.5 rather than version 1.7
- Windows 7: Again, Windows 7 does not support Cygwin version 1.5. So you have to run it on the compatibility (Windows 95) mode.

What I will do next is to test these solutions. I will blog about it again soon.

3 comments:

Unknown said...

hello
i am also facing the same problem and i asking if you have solve it yat

Teerawat Issariyakul said...

Yes, please look at the following post.

http://www.ns2ultimate.com/post/441093095/ns-2-35-works-on-cygwin

Unknown said...

Many businesspeople contend business networking is a more cost-effective method of generating new business than advertising or public relations efforts. This is because business networking is a low-cost activity that involves more personal commitment than company money.