LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-24-2012, 05:36 AM   #1
mohadeseh_mohammadi
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy install ns2.34 on ubuntu 10.10


hello
i am facing some problem during installation of NS2.34 on ubuntu10.10 where during building of OTCL i got an error i.e X include does not found exiting installation..
I have this:
checking for X11 header files
can't find X includes
otcl-1.13 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
then I write :
sudo yum install libX11-devel
but i have this error:
Setting up Install Process
No package libX11-devel available.
Nothing to do

please help me.i am in force to solve this problem
 
Old 10-24-2012, 09:00 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,628

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Welcome to LQ.

No 'yum' in Ubuntu. ( 'yum' : That's Fedora, CentOS, Scientific, RHEL.)

Ubuntu :
sudo apt-get install \
g++ g++-4.1 make automake autoconf libxmu-dev libtool patch xgraph


.
 
Old 10-24-2012, 09:17 AM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
You should be able to install ns2.34 using the following commands:

sudo apt-get update

sudo apt-get install ns nam xgraph
 
Old 10-24-2012, 09:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,628

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
# 3

No package by name 'ns'.

Ubuntu 10.10 : The package 'ns2' will provide ns-2.35~RC6-1
File list http://packages.ubuntu.com/oneiric/i386/ns2/filelist


.

Last edited by knudfl; 10-24-2012 at 09:39 AM.
 
Old 10-24-2012, 09:49 AM   #5
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
Yes, that is correct, you need to use 'ns2' instead 'ns':

sudo apt-get install ns2 nam xgraph

Also, check the list of repositories defined in your /etc/apt/sources.list file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install ns2 in ubuntu 11.10 miu Linux - Networking 20 10-31-2013 02:50 PM
Unable to install ns2.34 on ubuntu 11.10 san_as Linux - Software 1 05-01-2012 10:25 AM
how to install ns2 in ubuntu 12.04 beta ?? trpraveen Linux - Software 2 04-26-2012 08:53 AM
How to install ns2 2.33 in ubuntu 10.04 andolby Linux - Software 1 03-21-2011 10:48 PM
NS2.34 won't install on ubuntu 9.10 insync Linux - Wireless Networking 1 02-25-2010 02:34 AM


All times are GMT -5. The time now is 11:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration