LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-31-2009, 09:44 PM   #1
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Rep: Reputation: 0
ns installation


hi,
i had problem to install ns-2.1b8-mvast, i try to install ns-allinone 2.1b8 and then add ADMR and ODMRP protocols from ns-2.1b8-mcast. but i don't know how?
i found a text from a link that is now expired. could any one explain it clear for me?
i'm a new user with linux and ns.
thanks in advance

this is the text:
tar xzvf ns-allinone-2.1b8.tar.gz
gedit install
===================
search/replace
./configure
>> bash ./configure
save
===================
tar xzvf ns-2ns-2.1b8-mcast.gz
rename ns-2.1b8-mcast>> ns-2.1b8
mv ns-2.1b8 >> ns-allinone-2.1b8
cd ns-allinone-2.1b8
patch -p1 < ../ns-allinone-2.1b8.patch
sudo mkdir /opt/ns
sudo chown -R gweep:gweep /opt/ns \\\ sudo chown -R gweep\\\:gweep /opt/ns
export LD_LIBRARY_PATH=/opt/ns/2.1b8
cd ns-allinone-2.1b8/tcl8.3.2/unix
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
======================
make clean

และ

make distclean
======================
make
make install


cd ../../tk8.3.2/unix
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../../otcl-1.0a7
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../tclcl-1.0b11
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../ns-2.1b8
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
export PATH=/opt/ns/bin:$PATH
make
make install
 
Old 11-01-2009, 01:44 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,945

Rep: Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028Reputation: 7028
Quote:
Originally Posted by jeni_m110 View Post
hi,
i had problem to install ns-2.1b8-mvast, i try to install ns-allinone 2.1b8 and then add ADMR and ODMRP protocols from ns-2.1b8-mcast. but i don't know how?
i found a text from a link that is now expired. could any one explain it clear for me?
i'm a new user with linux and ns.
thanks in advance

this is the text:
tar xzvf ns-allinone-2.1b8.tar.gz
gedit install
===================
search/replace
./configure
>> bash ./configure
save
===================
tar xzvf ns-2ns-2.1b8-mcast.gz
rename ns-2.1b8-mcast>> ns-2.1b8
mv ns-2.1b8 >> ns-allinone-2.1b8
cd ns-allinone-2.1b8
patch -p1 < ../ns-allinone-2.1b8.patch
sudo mkdir /opt/ns
sudo chown -R gweep:gweep /opt/ns \\\ sudo chown -R gweep\\\:gweep /opt/ns
export LD_LIBRARY_PATH=/opt/ns/2.1b8
cd ns-allinone-2.1b8/tcl8.3.2/unix
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
======================
make clean

และ

make distclean
======================
make
make install


cd ../../tk8.3.2/unix
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../../otcl-1.0a7
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../tclcl-1.0b11
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
make
make install
cd ../ns-2.1b8
CFLAGS="-g -O2 -fno-stack-protector" CXXFLAGS="-g -O2 -fno-stack-protector" bash ./configure --prefix=/opt/ns/2.1b8
rm config.log
export PATH=/opt/ns/bin:$PATH
make
make install
And isn't this almost the same question you have in another thread?

Everyone there has given you advice, but you're not taking much of it.
 
Old 11-01-2009, 04:19 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,523

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
please do not double post
 
  


Closed Thread


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
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 02:15 PM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 05:46 PM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 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
Open Source Consulting | Domain Registration