I am currently trying to run NS2 on Ubuntu 18.04. Using the ns-allinone-2.35 package recommended by the main website (isi.edu), I am having a segmentation fault error when trying to run xgraph12.2. NS-2 and nam run fine - however, even when xgraph is 'installed' I get:
sdean@ubuntu:~/ns2/ns-allinone-2.35$ xgraph
Segmentation fault (core dumped)
I have gone through several tutorials on the web that are supposed to address this problem with no success. I HAVE set the PATH and LIBRARY variables correctly along with changing it to run gcc/g++ 4.8. I understand I am trying to run an old software package on a newer OS, but NS-3 did not do what we needed. I am open to using an older OS. However, I had errors with build-essentials autoconf automake libxmu-dev
on Linux older systems.
As another hint, through trying a couple different remedies messing around, I get a lot of permission denied output. I try running as sudo but still no luck.
Thank you