Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok, how about you actually think for yourself a little... as above you are getting "ns: command not found" and going by the info you showed us that is clearly correct. there is obviously an "NS" program though... have you tried to run that??
why you have created so many directories i mean simply copy the ns-allinoe 2.31 patch in your salady directory and un tar it there it will create and a folder there with name ns-allinone 2.31
then simply as super user run ./install from terminal
and follow the steps i have posted just change /your/path as /home/salady
thats all
remove the your current directory and start everything from beginning
still problem again refer me try to copy paste what ever you do and send me through my personal mail kazim425@hotmail.com
i'm also failed to install ns-allinone-2.33 on fedora 8,
i'm following step1&2 and i'm thinking there is not have a problem in my step1&2
ok this is my step 3..
my step 3 gedit ~/.bashrc text is:-
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
is it correct?
after saving the [.bashrc(~) - gedit]
im type [ [kfaizal@localhost etc]$ source ~/.bashrc]
then i'm type [kfaizal@localhost etc]$ ns
and the output is [bash: ns: command not found]
i'm trying too restart and the same output [bash: ns: command not found] i'm get..
i've try the step1,2,3 around 10times and the result still the same..
somebody please help me
hello sir i am facing the same TCL problem i have made the required changes ..please help
regards,
Quote:
Originally Posted by kazim425
you can follow these steps in any linux environment
INSTALLING NS-2 ON FEDORA 8
STEP 1
From terminal login as super user and do the following.(internet must also be connected in order to install the package dependencies.
yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install xorg-x11-proto-devel
yum install libXt-devel
And for nam installation (optional):
yum install libXmu-devel
STEP 2
From terminal go to the folder where the ns-allinone patch is placed and type the following to extract
$ tar -xzf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.29
$. /install
STEP 3
Now go to /etc folder and type
gedit ~/.bashrc
Add the following lines to the end of it. Remember replace "/your/path" by something like "/home/kazim". And accordingly also change the version numbers. This is for ns 2.31.
Note: the step described above is important; otherwise, you cannot run ns successfully.
or you can restart your X windows.i.e. logout and then login, or reboot your system, to make it work.)
Now, the installation has been completed. If you try:
$ ns
Then a "%" will appear on the screen.type "exit" to quit the mode and back to "$"
If you miss out step 1 you may get the following errors
Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
make: *** No targets specified and no makefile found. Stop.
Can not create xgraph; But xgraph is an optional package, continuing...
If you miss step 3
At the prompt when you type ns you will get
Ns command not found
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.