Aider moi pour installer ns2

Fermé
ena - 25 avril 2008 à 20:51
achille834 Messages postés 3 Date d'inscription dimanche 21 décembre 2008 Statut Membre Dernière intervention 4 février 2009 - 21 déc. 2008 à 23:28
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!!!!!!!!!!!!!!

3 réponses

jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
26 avril 2008 à 08:28
bonjour,
tu as installe le programme ou dans ton /home ?
l'install tu l'a fait
$ ./install
ou sudo ./install
a+
1
fadeup Messages postés 2 Date d'inscription vendredi 25 avril 2008 Statut Membre Dernière intervention 26 avril 2008
26 avril 2008 à 09:30
Bonjour,
Oui,j'ai fait ça aprés il m'a demandé de faire ces étapes que je les montionné rn haut!!
0
fadeup Messages postés 2 Date d'inscription vendredi 25 avril 2008 Statut Membre Dernière intervention 26 avril 2008 > fadeup Messages postés 2 Date d'inscription vendredi 25 avril 2008 Statut Membre Dernière intervention 26 avril 2008
26 avril 2008 à 10:49
fadeup = ena version"avancé" lol
alors de quoi il s'agit it ce text exactement ?
0
WiMaX!!!!!!!!
4 mai 2008 à 14:05
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
1
achille834 Messages postés 3 Date d'inscription dimanche 21 décembre 2008 Statut Membre Dernière intervention 4 février 2009
21 déc. 2008 à 23:28
slt wimaxx, ben j'ai suivie les étapes que ta cité , bon lorsk l'instalation est compléte et kon tape "ns" et qu'il s'affcihe % apres je fait quoi ??? je férme la console et je met cd ns-2.29 ?? ou je fait autre chose .
merci et bonne fin de journée
0
achille834 Messages postés 3 Date d'inscription dimanche 21 décembre 2008 Statut Membre Dernière intervention 4 février 2009
21 déc. 2008 à 23:25
slt ena , voila j'ai le mém prblm avec ns2.29.3 , donc voila si ta pu resoudre le prblm merci de me dire comment ta procédé .
0