Aider moi pour installer ns2
ena
-
achille834 Messages postés 3 Statut Membre -
achille834 Messages postés 3 Statut Membre -
Bonjour,
je viens d'installer le NS2 v 2.29.3 sous ubuntu 7.10 aprés l'exécution de ./install,j'ai eu ce message
Please put /home/jihed/Bureau/ns/ns-allinone-2.29/bin:/home/jihed/Bureau/ns/ns-allinone-2.29/tcl8.4.11/unix:/home/jihed/Bureau/ns/ns-allinone-2.29/tk8.4.11/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/jihed/Bureau/ns/ns-allinone-2.29/otcl-1.11, /home/jihed/Bureau/ns/ns-allinone-2.29/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/jihed/Bureau/ns/ns-allinone-2.29/tcl8.4.11/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.11
and tk8.4.11. They are now installed under /home/jihed/Bureau/ns/ns-allinone-2.29/{bin,include,lib}
After these steps, you can now run the ns validation suite with
cd ns-2.29; ./validate
alors comment je peux regler ca?
de l'aide svp j'ai vraiment besoin de ca trop vite!!!!!!!!!!!!!!
je viens d'installer le NS2 v 2.29.3 sous ubuntu 7.10 aprés l'exécution de ./install,j'ai eu ce message
Please put /home/jihed/Bureau/ns/ns-allinone-2.29/bin:/home/jihed/Bureau/ns/ns-allinone-2.29/tcl8.4.11/unix:/home/jihed/Bureau/ns/ns-allinone-2.29/tk8.4.11/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/jihed/Bureau/ns/ns-allinone-2.29/otcl-1.11, /home/jihed/Bureau/ns/ns-allinone-2.29/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/jihed/Bureau/ns/ns-allinone-2.29/tcl8.4.11/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.11
and tk8.4.11. They are now installed under /home/jihed/Bureau/ns/ns-allinone-2.29/{bin,include,lib}
After these steps, you can now run the ns validation suite with
cd ns-2.29; ./validate
alors comment je peux regler ca?
de l'aide svp j'ai vraiment besoin de ca trop vite!!!!!!!!!!!!!!
A voir également:
- Aider moi pour installer ns2
- Installer clavier arabe - Télécharger - Divers Web & Internet
- Installer windows 10 sans compte microsoft - Guide
- Installer chromecast sur tv - Guide
- Installer windows 10 gratuitement - Accueil - Mise à jour
- Installer microsoft store - Guide
3 réponses
bonjour,
tu as installe le programme ou dans ton /home ?
l'install tu l'a fait
$ ./install
ou sudo ./install
a+
tu as installe le programme ou dans ton /home ?
l'install tu l'a fait
$ ./install
ou sudo ./install
a+
essaye ceci et , je crois que, ça va marcher:
$ gedit ~/.bashrc (ou bien vi au lieu de gedit)
Puis ajoute ces ligne à la fin du document, En remplaçant "/your/path" par "/home/jihed/Bureau"
# LD_LIBRARY_PATH
OTCL_LIB=/your/path/ns-allinone-2.29/otcl-1.13
NS2_LIB=/your/path/ns-allinone-2.29/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/your/path/ns-allinone-2.29/tcl8.4.14/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/your/path/ns-allinone-2.29/bin:/your/path/ns-allinone-2.29/tcl8.4.14/unix:/your/path/ns-allinone-2.31/tk8.4.14/unix
NS=/your/path/ns-allinone-2.29/ns-2.29/
NAM=/your/path/ns-allinone-2.29/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
(Remarque: vérifie aussi si t'as les mm version: otcl-1.13, tcl8.4.14,nam-1.13, sinon, modifie les)
sauvegarde puis quite le fichier
ensuite tape la commande :
$ source ~/.bashrc
si tu travaille sous windows, redemmare ton PC...
Maintenat l'installation est complète, pour vérifier que ns est bien installer, tape la commande ns, si "%" apparait sur l'ecran, c bon...
ensuite: cd ns-2.31
puis tu doit valider avec la commande ./validate (puis attendre, ça prendra environ une 1/2h)...
J'espère que j'ai pu t'aider
$ gedit ~/.bashrc (ou bien vi au lieu de gedit)
Puis ajoute ces ligne à la fin du document, En remplaçant "/your/path" par "/home/jihed/Bureau"
# LD_LIBRARY_PATH
OTCL_LIB=/your/path/ns-allinone-2.29/otcl-1.13
NS2_LIB=/your/path/ns-allinone-2.29/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/your/path/ns-allinone-2.29/tcl8.4.14/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/your/path/ns-allinone-2.29/bin:/your/path/ns-allinone-2.29/tcl8.4.14/unix:/your/path/ns-allinone-2.31/tk8.4.14/unix
NS=/your/path/ns-allinone-2.29/ns-2.29/
NAM=/your/path/ns-allinone-2.29/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
(Remarque: vérifie aussi si t'as les mm version: otcl-1.13, tcl8.4.14,nam-1.13, sinon, modifie les)
sauvegarde puis quite le fichier
ensuite tape la commande :
$ source ~/.bashrc
si tu travaille sous windows, redemmare ton PC...
Maintenat l'installation est complète, pour vérifier que ns est bien installer, tape la commande ns, si "%" apparait sur l'ecran, c bon...
ensuite: cd ns-2.31
puis tu doit valider avec la commande ./validate (puis attendre, ça prendra environ une 1/2h)...
J'espère que j'ai pu t'aider
Oui,j'ai fait ça aprés il m'a demandé de faire ces étapes que je les montionné rn haut!!
alors de quoi il s'agit it ce text exactement ?