LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Installing NS2.26 (Network Simulator) Error:can't find X library (https://www.linuxquestions.org/questions/debian-26/installing-ns2-26-network-simulator-error-cant-find-x-library-655310/)

linuxsimulationboy 07-12-2008 10:10 AM

Installing NS2.26 (Network Simulator) Error:can't find X library
 
Hi All,
I am trying to install NS2.26 and encountering some problems.
Some Info
Latest version of Debian.
Used instructions from Mathew Miller
www.matthewjmiller.net
Compiling using gcc 2.95


I get an error during the compilation of NS2.26 stating
checking XOpenDisplay in -lX11... (cached) no
can't find X library
Ns configuration failed!


I have installed the below
apt-get install libstdc++2.10-glibc2.2
apt-get install libx11-dev
apt-get install libxt-dev


Has anybody any idea what I am missing on my installation?

Many thanks

Colin

knudfl 07-12-2008 10:54 AM

The latest version is ns--2.33 ... usually builds with gcc 4.x.x
on any new system.

Here is the an example on Ubuntu 8.04
http://suchaxplore.blogspot.com/2008...buntu-804.html

"ns-allinone-2.33.tar.gz" has few dependencies, e.g.
Ubuntu 7.10 will need: 'libx11-dev' and 'libxmu-dev'
Ubuntu 8.04 : the same + 'libxmu-headers' and 'libxt-dev'

( I have not yet tested ns2 on Debian, but "latest" would
probably be like Ubuntu 8.04 )

Good Luck !

linuxsimulationboy 07-12-2008 03:47 PM

Hi,
Thanks for the reply. Unfortunately i need to use the older NS2.26 version as I am using the MNS2.0 module and a RSVP-TE patch that have been developed for this version.

I have been told I need to compile it with gcc 2.95, which I have been doing.

Cheers.

knudfl 07-13-2008 02:41 AM

Well, impossible to say anything about your errors,
when your Debian is unknown. Etch ? Sid ? Unstable ?

Regards


All times are GMT -5. The time now is 07:01 PM.