Hello! itryed it install the gcc-4.4 and g++-4.4
Sudo apt-get install gcc-4.4 g++-4.4
then i changed the line 270 in tcl8.4.14/Unix/Makefile.in
then :/install
the process of installation finished and this was the result :
PATH="$PATH:/sbin" ldconfig -n /home/ubu/Bureau/ns-allinone-2.34/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/ubu/Bureau/ns-allinone-2.34/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Rien à faire pour « install-data-am ».
make[4]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4/src »
make[3]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4/src »
make[2]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4/src »
make[1]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4/src »
make[1]: entrant dans le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4 »
make[2]: entrant dans le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4 »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4 »
make[1]: quittant le répertoire « /home/ubu/Bureau/ns-allinone-2.34/dei80211mr-1.1.4 »
Please compile your xgraph separately.
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.4.18: /home/ubu/Bureau/ns-allinone-2.34/{bin,include,lib}
tk8.4.18: /home/ubu/Bureau/ns-allinone-2.34/{bin,include,lib}
otcl: /home/ubu/Bureau/ns-allinone-2.34/otcl-1.13
tclcl: /home/ubu/Bureau/ns-allinone-2.34/tclcl-1.19
ns: /home/ubu/Bureau/ns-allinone-2.34/ns-2.34/ns
nam: /home/ubu/Bureau/ns-allinone-2.34/nam-1.14/nam
gt-itm: /home/ubu/Bureau/ns-allinone-2.34/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns
----------------------------------------------------------------------------------
Please put /home/ubu/Bureau/ns-allinone-2.34/bin:/home/ubu/Bureau/ns-allinone-2.34/tcl8.4.18/unix:/home/ubu/Bureau/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/ubu/Bureau/ns-allinone-2.34/otcl-1.13, /home/ubu/Bureau/ns-allinone-2.34/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/ubu/Bureau/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.34; ./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.
then I tried to simulate a tcl script , another problem was there :
Le programme 'ns' n'est pas encore installé. Vous pouvez l'installer en tapant :
sudo apt-get install ns2
what should i do please! i'll be very grateful