LinuxQuestions.org
Visit Jeremy's Blog.
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 08-07-2014, 07:16 AM   #1
Riaz Khan
Member
 
Registered: Apr 2012
Posts: 41
Blog Entries: 2

Rep: Reputation: Disabled
ns2.29 installation problems


i tried to install ns2.29 on fedora 14 installed on vmware software. when i run the command ./install, i got the error

"gcc -pipe -c -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix -I/home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic -I/home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../bitmaps -I/home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tcl8.4.11/generic -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED /home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c
In file included from /home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic/tkInt.h:21:0,
from /home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.h:18,
from /home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic/tk3d.c:16:
/home/riazkhan/Desktop/ns-allinone-2.29/ns-allinone-2.29/tk8.4.11/unix/../generic/tk.h:96:23: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.4.11 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com"


please help me to resolve this
 
Old 08-08-2014, 03:48 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
install fedora 20

please stay current
fedora 14 is 6 versions and 3+ years out of date
 
Old 08-14-2014, 03:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Ns2 prerequisites, Fedora :
# yum install gcc-c++ compat-gcc-34-c++ automake autoconf libtool libXmu-devel

* ns-2.29 :
$ tar xvf ns-allinone-2.29.3.tar.gz
$ cd ns-allinone-2.29/
$ export CC=gcc34 CXX=g++34 && ./install

-

Last edited by knudfl; 08-14-2014 at 04:40 AM.
 
Old 08-20-2014, 07:36 AM   #4
Riaz Khan
Member
 
Registered: Apr 2012
Posts: 41
Blog Entries: 2

Original Poster
Rep: Reputation: Disabled
thanks Knudfl,

I did the above given steps and ns2.29 installed successfully.


but the NAM was not working. I followed some of the links for the same problem on this forum and did the following things:


pasted the unpacked nam-1.14-x86_64 folder in ns-allinone-2.29 folder and then did the following

>$ Su
pw:******

#cd ns-allinone-2.29
#cp nam/usr/local/bin


now the NAM is only working when i run my TCL script with ROOT access, I mean only at "#" and not at '$'


Please help me sir...

Last edited by Riaz Khan; 08-20-2014 at 08:06 AM.
 
  


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
Problems in Installation of NS2.27 on Ubuntu 9.10 Scofield Linux - General 7 03-15-2013 04:47 AM
ns2.29.3 installation on fedora 15 , nam installation problem Narges Linux - Networking 5 10-31-2011 12:09 PM
Problems with installation of NS2.27 on Ubutu10.04 sawyer Linux - General 4 01-27-2011 03:00 AM
installation problems in ns2.34 in centos bgprasuna Linux - Software 1 07-22-2010 08:46 AM
Facing problems with ns2 installation in xubnutu ritoban87 Linux - Networking 6 01-28-2010 05:02 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration