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.
Ns2 , Fedora 11 :
1) su , password
2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel
3) exit
4) tar xvf ns-allinone-2.33.tar.gz
5) cd ns-allinone-2.33/
6) ./install
7) Please follow the instructions, ending the "install" text :
"IMPORTANT NOTICES: (1) .. (2) .. "
8) ./validate
.....
Good luck !
.....
Hi!
thanks for your response
but after ./validate this message appears:
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode
validate overall report: some portable tests failed:
./test-all-red
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Could you plz explain to me what means and what i must do
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
'cd ns-allinone-2.33/ns-2.33/'
./validate
Quote:
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode
I want to check if I had written successfully the environnement variables
----------------------------------------------------------------------
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/xwz/Bureau/ns-allinone-2.33/otcl-1.13:/home/xwz/Bureau/ns-allinone-2.33/lib
TCL_LIBRARY=$TCL_LIBRARY:/home/xwz/Bureau/ns-allinone-2.33/tcl8.4.18/library:/home/xwz/Bureau/ns-allinone-2.33/tcl8.4.18/library
----------------------------------------------------------------------
is it ok??, please
thanks
__________________________________________________________________________
P.S.:
important notices (1) et (2)
(1) You MUST put /home/xwz/Bureau/ns-allinone-2.33/otcl-1.13, /home/xwz/Bureau/ns-allinone-2.33/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/xwz/Bureau/ns-allinone-2.33/tcl8.4.18/library into your TCL_LIBRARY environmental
_____________________________________________________________________
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
"..check if I had written successfully the environnement variables"
Probably : depends, where you wrote it.
If everything works, it's OK.
(export) LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/......
means : all library path's ... and if /lib:usr/lib
are left out, certain things may not work.
(export) LD_LIBRARY_PATH=/home/......
means : an additional library path.
.....
.....
cd Bureau/ns-allinone-2.33/ns-2.33/
./ns
... and ' % ' is displayed, if OK.
exit
cd Bureau/ns-allinone-2.33/nam-1.13/
./nam
... the "Nam Console.." will open, if nam is OK.
If you have problems with nam or anything else,
then please use 'ns-allinone-2.34' instead.
.....
after that I saved the .bshrc file and I closed it
after I returned to the terminal and I have typed source ~/.bashrc to save changes
8) cd ns-2.34/
9) ./validate
after ./ validate this message appears:
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode
validate overall report: some portable tests failed:
./test-all-red
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Then when I have tryed
cd Myname/ns-allinone-2.34/ns-2.34/
./ns
' % ' is displayed
and when I tryed cd Myname/ns-allinone-2.34/nam-1.14/
./nam
2a) export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/<some-path>
.. will exclude other library path's.
If used, all required path's must be included :
:/lib:/usr/lib etc. etc.
2b) export LD_LIBRARY_PATH=/<some-path>
.. is an additional library path.
.....
To use 'ns' : cd Bureau/ns-allinone-2.34/ns-2.34/
./ns
.. then the path to nam may be missing ...
exit
cd Bureau/ns-allinone-2.34/
ln -s nam-1.14/ nam-1
.....
Or to avoid all problems with all path's :
The main components can be installed to a system path ...
cd Bureau/ns-allinone-2.34/tcl8.4.18/unix
./configure --prefix=/usr --enable-shared
make
su
make install
exit
cd Bureau/ns-allinone-2.34/tk8.4.18/unix
.. same as for tcl8.4.18 ..
exit
exit
cd Bureau/ns-allinone-2.34/otcl-1.13/
./configure --enable-shared
make
su
make install
cp libotcl.so /usr/lib/
cd ../tclcl-1.19/
make install
cd ../ns-2.34/
make install
cd ../nam-1.14
make install
exit
.. then you have a system library path ( /usr/lib/ )
.. and the path for binaries are /usr/bin and /usr/local/bin
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.