[ns] Problem with installation of NS 2.28
Emre CAN
zeytinbass at gmail.com
Sun Jan 8 14:09:17 PST 2006
Hello,
I agree with all that, but be careful not to delete what was already
declared as environment variable..
type "echo $PATH" to see what was already declared as PATH environment
variable, then copy that line and add yours to the "export" command. Do the
same thing with LD_LIBRARY_PATH and so on...
have a nice one
>
> Hi,
>
> I'm new to linux too. we noobies gotta stick together..
> this is what I found after asking around and trial and error
>
> you declare NS_HOME to be where you installed it. in this case its
> /home/daplaji/Desktop/PFC/ns-allinone-2.28
>
>
>
> export NS_HOME='/home/daplaji/Desktop/PFC/ns-allinone-2.28'
> export
> PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:$NS_HOME/bin:$PATH
> export
> LD_LIBRARY_PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:$NS_HOME/otcl-
> 1.8:$NS_HOME/lib:$LD_LIBRARY_PATH
> export TCL_LIBRARY=$NS_HOME/tcl8.4.5/library
>
>
> you should write this (after you change) in the bashrc file.
> I dont know any linux commands but the way its on suse10:
> view -> show hidden files.
> go to the home directory and into your user.
> look for a .bashrc file. open it with some writer.
> you might need to have permissions to change it if you cant.
>
> good luck!
>
> ------------------------------
>
> Message: 3
> Date: Sun, 8 Jan 2006 13:28:47 +0100
> From: David Planells <ns2.pfc at gmail.com>
> Subject: [ns] Fwd: Problem with installation of NS 2.28
> To: ns-users at ISI.EDU
> Message-ID: <d7fb95bd0601080428k17242d97k at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear all,
> I've just installed NS 2.28 in Mandrake 10 and when I've just finished
> installing this version, this is what I've received:
>
>
> IMPORTANT NOTICES:
> (1) You MUST put /home/daplaji/Desktop/PFC/ns-allinone-2.28/otcl-1.9
> ,/home/daplaji/Desktop/PFC/ns-allinone-2.28/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/daplaji/Desktop/PFC/ns-allinone-2.28/tcl8.4.5/library
>
> into your TCL_LIBRARY environmental variable. Otherwise ns/nam will
> complain during startup.
>
> (3) [OPTIONAL] To save disk space, you can now delete directories
> tcl8.4.5and
> tk8.4.5.
> They are now installed under /home/daplaji/Desktop/PFC/ns-allinone-2.28
> /{bin,include,lib}
>
> After these steps, you can now run the ns validation suite with cd
> ns-2.28;
> ./validate
>
> For trouble shooting, please first read ns problems page
> http://www.isi.edu/nsnam/ns/ns-problems.html.
> Also search the ns mailing list archive
> for related posts.
>
>
>
> And as I'm a beginner with Linux and with NS2, I don't know what path is
> LD_LIBRARY_PATH environment variable.
>
> I don't konw where to put those files because I'm a beginner.
>
> Could you help me?
>
> Thanks in advance!!!
>
>
> ------------------------------
More information about the Ns-users
mailing list