bonjour,
voila je suis nouvelle sur ubuntu, je dois installer network simulator, j'ai ouvert le dossier .tar y'a plein de fichiers je sais pas comment faire pour l'installer, une idée?
merci de votre aide :)
Version imprimable
bonjour,
voila je suis nouvelle sur ubuntu, je dois installer network simulator, j'ai ouvert le dossier .tar y'a plein de fichiers je sais pas comment faire pour l'installer, une idée?
merci de votre aide :)
Bonjour,
vous avez quoi au juste ? Le code source, ou le binaire ...
je sais pas vraiment :oops: j'ai telechargé ns de ce site la: http://sourceforge.net/projects/nsnam/, désolé je suis nulle , linux n'est pas mon point fort!
ps: ca va la tunisie ? :lahola:
:)
Pour le tar que vous avez télécharge.... je pense que c'est du code, donc il faut le compiler ....
Par contre tu peut chercher s'il y a deja dans le depot d'ubuntu avec synaptic, aptitude, apt-get ...
========> VIVE LA TUNISIE <==========
merci bcp cmoibal :) si possible plus de détail ^^ le sujet reste ouvert , je suis encore plus nulle que vous ne pouvez le penser :mouarf:
Bonjour,
Généralement, il y a un fichier INSTALL ou README fourni avec l'archive qui t'explique la procédure d'installation ainsi que les composants externe nécessaires au bon déroulement de l'installation.
Bon c'est simple, un tarball est généralement intaller de la meme facon:
1- extractez le tarball avec "tar xvf <nom.tar>"
2- entrez dans le repertoire extracté.
3- Puis lancez "./configure; make; make install"
voila !!!!
Tu peut verifier avec le GRAND GOOGLE !!!!!
juste une simple remarque ....
l'installation à partir d'un tarball peut engendrer des problème de fonctionnement du logiciel installé, et ceci selon la destrubution.
pour eviter se genre de problème, chercher votre logiciel dans le depot d'ubuntu avant :
lancez "synaptic", et suivez la GUI.
Bon Chance
merci Mygale1978 et cmoibal, trés sympa ^^, je vais essayer ca et je vous tiens au courant :king:
bon voila , j'ai essayé de faire comme m'a dit cmoibalsachant que j'ai installé le gcc par la simple commande suivante :
ca me sort ce message quand je tape ./configureCitation:
sudo apt-get install build-essential
une idée?? 8OCitation:
fatma@fatma-laptop:~$ cd ns-2.33
fatma@fatma-laptop:~/ns-2.33$ cd ns-2.33
fatma@fatma-laptop:~/ns-2.33/ns-2.33$ ./configure
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
checking for tcl.h... no
checking for libtcl8.4... no
checking for init.tcl... no
checking for tclsh8.4.18... no
checking for tclsh8.4... no
checking for tclsh... no
checking for tclsh8.3... no
configure: error: tcl is required but could not be completely found.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package,
or the package is not required, disable it with --with-tcl=no.
fatma@fatma-laptop:~/ns-2.33/ns-2.33$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
merci d'avance ^^
Il faut installer le module tcl :
Code:apt-get install tcl
Bonjour
devrait résoudre ce problème.Code:
1
2 sudo apt-get install tcl-dev
merci pour vos réponses,
alors voila puisque j'y comprends pas grand chose j'ai essayé les deux propostions
etCitation:
fatma@fatma-laptop:~/ns-2.33$ apt-get install tcl
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
sudo apt-get install tcl-dev qui a lancé l'installation (je pense) des modules tcl et à la fin j'ai presque le même soucis avec ./configure
qu'en pensez vous ?:roll:Citation:
fatma@fatma-laptop:~/ns-2.33$ ./configure
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
checking for tcl.h... -I/usr/include/tcl8.4
checking for libtcl8.4... -L/usr/lib -ltcl8.4
checking for init.tcl... no
checking for tclsh8.4.18... no
checking for tclsh8.4... /usr/bin/tclsh8.4
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
bon voila,j'ai suivi les etape suivante dans http://nsnam.isi.edu/nsnam/index.php..._on_Ubuntu7.04
j'ai passé a ns2.31, le mesage a changé, comment je peux être sur que mon ns est operationnelle?
quand même y'a tjr cette phrase qui me gene (en rouge)
alors?Citation:
fatma@fatma-laptop:~/ns-allinone-2.31/ns-2.31$ ./configure
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
checking for tcl.h... -I../include
checking for libtcl8.4... -L../lib -ltcl8.4
checking for init.tcl... ../lib/tcl8.4
checking for tclsh8.4.14... no
checking for tclsh8.4... ../bin/tclsh8.4
checking for tk.h... -I../include
checking for libtk8.4... -L../lib -ltk8.4
checking for tk.tcl... ../lib/tk8.4
checking for otcl.h... -I../otcl
checking for libotcl1.13... -L../otcl -lotcl
checking for tclcl.h... -I../tclcl-1.19
checking for libtclcl... -L../tclcl-1.19 -ltclcl
checking for tcl2c++... ../tclcl-1.19
checking for libtcldbg... no
checking dmalloc... not requested with --with-dmalloc
checking for perl... /usr/bin
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking for main in -lm... yes
checking for bcopy... yes
checking for bzero... yes
checking for fesetprecision... no
checking for feenableexcept... yes
checking for getrusage... yes
checking for sbrk... yes
checking for snprintf... yes
checking return type of random... long
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_char... yes
checking for u_int... yes
checking for strtoq... yes
checking for strtoll... yes
checking for long... yes
checking size of long... 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... yes
checking which kind of 64-bit int to use... int64_t
checking for struct ether_header... found
checking for struct ether_addr... found
checking for addr2ascii... no
checking for Linux compliant tcphdr... found
checking for BSD compliant tcphdr... not found
checking for socklen_t... yes
checking for main in -lpcap... no
checking to make nse... no
Explicitly disabling static compilation
checking for dlopen in -ldl... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tcl/lib/ns-autoconf.tcl
config.status: creating indep-utils/webtrace-conv/ucb/Makefile
config.status: creating indep-utils/webtrace-conv/dec/Makefile
config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
config.status: creating indep-utils/webtrace-conv/epa/Makefile
config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged
Si tu avais pris le temps de lire le fichier README, tu saurais que tu n'as pas à executer ./configure.Citation:
--------------------------------------------------------------------------------
Bonjour,
Généralement, il y a un fichier INSTALL ou README fourni avec l'archive qui t'explique la procédure d'installation ainsi que les composants externe nécessaires au bon déroulement de l'installation.
__________________
Prends le temps de lire ces fichiers, ils sont une source précieuse d'informations.
je l'ai fais :( je sais pas quoi faire maintenant :roll: comment savoir que mon ns est operationnelle et commencer a travailler?
salut,
voila mon prob est resolu, pour ceux qui auront des diffcultés avec l'installation de ns, je vous conseille ce tuto http://tech.firdooze.com/2008/08/29/...-ubuntu-hardy/
merci à tous ceuw qui m'ont aidé :)