My Tango with Installing NS2 on Kubuntu 6.10


This page simply documents what I all needed to do to get things working with ns2 on Kubuntu 6.10 (Edgy Eft). This presumes, you by default follow the instructions on the ns2 web sites, and then do the following. Some of this info is gleaned and condensed from the install problem web sites, the other is by trial and error. Note that this list of instructions is yet under testing. Also note that I'm using bash for my shell, so if you choose csh or something else, make modifications as necessary.

  1. Install the gcc/g++ 4.0 packages from adept
  2. export CC="gcc-4.0"
  3. export CXX="g++-4.0"
  4. export LD_LIBRARY_PATH="/usr/lib:/usr/local/lib"
  5. copy libotcl.so from otcl build directory to /usr/local/lib
  6. Install the Xorg dev files to get the X11 headers (necessary for NAM) through adept. You can get these through the xorg-dev package.