how to create new directory in ns2.32 on fedora 16
Linux - SoftwareThis 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
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.
how to create new directory in ns2.32 on fedora 16
i am working with ns2.32 on fedora16 and everytime i run make command i get the following error
[afsha@localhost ns-2.32]$ make install
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
mkdir: cannot create directory `/usr/local/man': Permission denied
make: *** [dirs] Error 1
and i am not able to find "man" folder directly in local..it is placed in "share "folder and when i try to open the folder "man" its contents are not displayed.so can u tell me how to access the contents of man so that i no longer get this "permission denied message"
Thanks,
After running make install command i get following output:
[root@localhost ns-2.32]# make install
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot stat `ns': No such file or directory
make: *** [install-ns] Error 1
thanks
i successfully installed the ns2
but when i run the code i get following output
"you are using trace file older than 1.0a5 which will not allow ypu to run the namgraph"
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 8
I don't see any error in the text. That's a successful install !
Two files are copied : 'ns' to /usr/local/bin/.
And the man page 'ns.1' to /usr/local/man/man1
whenever i make some changes in the aodv.cc and make file and then recompile ns2 it gives me foll output
[afsha@localhost ns-2.32]$ make install
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot remove `/usr/local/bin/ns': Permission denied
make: *** [install-ns] Error 1
is my make install command successful?
and then sometimes besides this error i also get "cannot stat ns"
afsha@localhost ns-2.32]$ make install
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot stat `ns': No such file or directory
make: *** [install-ns] Error 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.