My friend Manuel posted me a fix: i tried with ns v.2.29 and he tried with 
version 2.31 and this fic resolved the problem.
Here is the description:

- open the file called tkBind.c in folder   ns-allinone-x.xx/tk8.4.xx/generic 
where instead of 'x'es insert your installed version of ns and tk (note thath 
ns-allinone-x.xx folder is where you installed ns, if different change it).
- go at line 586 of this file and add the following 3 line at line 589:

   #ifdef GenericEvent
   /* GenericEvent */          0,
   #endif 


after this, you will be ablle to read in tkBind.c file lines like the following:

   /* ColormapNotify */        COLORMAP,
   /* ClientMessage */        0,
   /* MappingNotify */        0,
   #ifdef GenericEvent
   /* GenericEvent */          0,
   #endif 
   /* VirtualEvent */        VIRTUAL,
   /* Activate */        ACTIVATE,        
   /* Deactivate */        ACTIVATE,
   /* MouseWheel */        KEY
};


after these steps run in terminal ./install to rebuild all ns.

** Changed in: ubuntu
       Status: New => Fix Released

-- 
nam (ns2) does not work after partial upgrade of ubuntu 9.04 on 9th May 2009
https://bugs.launchpad.net/bugs/374039
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to