LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ns 2 installation error (https://www.linuxquestions.org/questions/linux-newbie-8/ns-2-installation-error-4175456731/)

praveensheri 04-03-2013 12:57 PM

ns 2 installation error
 
/home/jeevan/pks/ns-allinone-2.34/tk8.4.18/unix/../generic/tk.h:81: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
jeevan@jeevan-Inspiron-N4050:~/pks/ns-allinone-2.34$

knudfl 04-03-2013 01:28 PM

Welcome to LQ.

sudo apt-get install libxmu-dev
... will install all the required X11 packages.

praveensheri 04-03-2013 02:07 PM

ns-2.34-allinone installation error
 
sir, i did but again i am getting following error


jeevan@jeevan-Inspiron-N4050:~$ sudo apt-get install libxmu-dev
[sudo] password for jeevan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libxmu-dev

knudfl 04-03-2013 02:47 PM

# 3.

Which version of Ubuntu ? ?

gnrj 04-04-2013 12:07 AM

ns-2.34
 
ubuntu 10.10

knudfl 04-04-2013 01:30 AM

# 5.

OK, Ubuntu 10.10 Maverick is not supported any more, was moved to the old archive.

Please replace /etc/apt/sources.list with this :
Code:

deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe

Next : sudo apt-get update && sudo apt-get install libxmu-dev

-


All times are GMT -5. The time now is 02:19 AM.