Install ns2 on Macbook Snowleopard

February 24th, 2010

Essentially, two things. First, when configure, add --x-libraries /usr/X11R6/lib --x-includes /usr/X11R6/include. Second, add -framework CoreFoundation into each Makefile.in you need to build. Probably there should be a better way to add this flag with less effort, there is an “all-recursive” dependency item in “ns” makefile, which is quite a bit amount of labor work to modify all those “recursively”.

The “./install” is really somehow ugly written. For example, when “nam”‘s compilation failed, it will not stop. I really suggest you build each separately by hand, which maybe even easier.

One Response to “Install ns2 on Macbook Snowleopard”

  1. Oscar says:

    Hi,

    I am trying to install ns2 on my macbook. In each Makefile.in, where should I put -framework CoreFoundation?

    Thanks,
    Oscar

RSS feed for comments on this post. And trackBack URL.

Leave a Reply