LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-21-2011, 09:48 AM   #1
kathu
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
problem with ns2.34 installation in fedora 14


hi sir,
i am installing ns2.34 in fedora14 but i got the following error
/home/amma/Desktop/ns-allinone-2.34/tk8.4.18/unix/../generic/tk.h:81:23: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error1
tk8.4.18 make failed! Exiting …
plz help me out from this……
i need your help,waiting for your reply…….
thanks in advance….
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-21-2011, 10:33 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,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Welcome to LQ.

Fedora : The usual, for ns2 : # yum install \
gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \
libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel


cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && ./install

..
 
0 members found this post helpful.
Old 07-22-2011, 07:22 AM   #3
kathu
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
sorry sir,i didn't get you
can you explain clearly..........
 
Old 07-22-2011, 10:31 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,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
What is it, you don't understand ? ?

Open a terminal window and type su ( And enter the root password.)
Next command :
yum install gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel

When all the build prerequisites have been installed : exit

And next :
cd ns-allinone-2.34/ && export CC=gcc34 CXX=g++34 && ./install

..
 
2 members found this post helpful.
Old 07-23-2011, 04:58 AM   #5
kathu
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
after type that command i got the following error
cannot retrieve repository metadata (repomd.xml) for repository: fedora.
please verify its path and try again

is this error related to fedora packages problem?
 
Old 07-24-2011, 08:53 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Quote:
cannot retrieve repository metadata (repomd.xml) for repository: fedora.

That's when you have no internet connection ... usually, AFAIK.
 
Old 07-25-2011, 11:50 AM   #7
kathu
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank you sir..........
ns2 installation completed.......
give me guidelines to install Xgraph.....
 
Old 07-28-2011, 07:18 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Building xgraph, post #2 here ..

http://www.linuxquestions.org/questi...2-34-a-862233/
 
Old 08-01-2011, 10:45 AM   #9
kathu
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank u so much.....i installed successfully
 
Old 02-01-2012, 01:29 PM   #10
LordThakur
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy More Problems

Hi There, I was having similar problems. I ran the commands posted here and was able to overcome the problem I was having and the installation moves beyond that point. However, now there is another problem . Following are the last few messages I get:

trace/cmu-trace.cc:1157: error: no matching function for call to `std::bitset<16ul>::to_string()'
make: *** [trace/cmu-trace.o] Error 1
Ns make failed!


Would be extremely grateful for any help. I am also using Fedora14 and am trying to install ns2.35 on it.

Regards
Thakur
 
Old 02-01-2012, 04:41 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,563

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
Post #10, @LordThakur : Welcome to LQ.

'ns-allinone-2.35' is a little tricky, as all files must be compiled
with gcc / g++ version 4.4.4 .
None of the default Fedora 14 gcc's (versions 3.4.6, 4.5.1) will do.

gcc44, 32bits gcc44-4.4.4-13.el5.i386.rpm
http://ftp.scientificlinux.org/linux...3.el5.i386.rpm
64bits gcc44-4.4.4-13.el5.x86_64.rpm
http://ftp.scientificlinux.org/linux...el5.x86_64.rpm

gcc44-c++, 32bits gcc44-c++-4.4.4-13.el5.i386.rpm
http://ftp.scientificlinux.org/linux...3.el5.i386.rpm
64bits gcc44-c++-4.4.4-13.el5.x86_64.rpm
http://ftp.scientificlinux.org/linux...el5.x86_64.rpm

And the gmp-4.1.4 libgmpxx*, 32bits gmpxx-4.1.4-10EL5.i386.rpm
https://docs.google.com/open?id=0B7S...U2YTM5Mzc3NGM1
64bits gmpxx-4.1.4el5-1.x86_64.rpm
https://docs.google.com/open?id=0B7S...IzNWFhYWE3NjFl

# rpm -Uvh gmpxx-4.1.4<?>.<arch>.rpm
# rpm -Uvh --nodeps gcc44-4.4.4-13.el5.<arch>.rpm
# rpm -Uvh gcc44-c++-4.4.4-13.el5.<arch>.rpm && exit

Please start from scratch with a new unpacked ns-allinone-2.35.tar.gz .
And : cd ns-allinone-2.35/ && export CC=gcc44 CXX=g++44 && ./install

Good luck !

Last edited by knudfl; 02-01-2012 at 05:51 PM.
 
Old 02-01-2012, 08:46 PM   #12
LordThakur
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Dear Knudfl,

Thank you so much for such a prompt and detailed response. I did figure out that the problem was because of the version of the gcc. I managed to install ns2.34. However, I may have to install ns2.35 on another machine in a couple days so will definitely try your instructions. Thanks for the help.

Regards
Thakur
 
Old 01-25-2013, 12:34 AM   #13
nisar083
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by kathu View Post
hi sir,
i am installing ns2.34 in fedora14 in vmware
but i got the following error
bash: ./install: Permission denied
plz help me out from this……
i need your help,waiting for your reply…….
thanks in advance….
Nisar Ahmad
 
  


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
NS2 Installation on Fedora 14 installed on VMware ccmulenga Linux - Newbie 13 01-05-2012 04:54 AM
Fedora NS2 Installation assistance request. sindhu subramanian Linux - Newbie 19 03-11-2011 01:51 AM
need the correct installation of ns2.34 fedora version. sandhya_it17m Linux - Laptop and Netbook 1 01-05-2010 01:20 AM
NS2 installation problem in fedora 7 rahat ullah Linux - Newbie 5 10-27-2009 02:56 AM
ns2.33 installation procedure in fedora karmel Linux - Newbie 4 05-08-2009 10:46 PM


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

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