NS2 on Mac OS X

Written on 16:43 by SunnySea

1. Download ns-2.

直接下載allinone package即可,我測試過2.32,可以正常地在MacBook Pro, Intel C2D CPU上執行。

2. Make sure that the X11 has already intalled on your Mac OS X. 如果還沒有安裝,請參考

3. Compile and Install

解開allinone package,至該目錄下執行./install

2.32沒有遇到官方Wiki 所說2.29的error message,好事一件:D

4. Modify the .bash_profile



5. Enjoy it!



先執行X11,在到ns-2安裝目錄下執行

我找了一下,2.32並沒有提供像之前的tutorial-example

因此可以到下載example

順利執行的話就可以看到ns先正常運作,再來nam視窗就會出現囉

If you enjoyed this post Subscribe to our feed

No Comment

張貼留言