Hi,
I m new in Ns.
My os : Redhat 9( 2.4.20.8 Shrike)
NS version: ns-allinone-2.1b8a
I want to install ns-allinone-2.18ba.
After using this Command:
>>[EMAIL PROTECTED] ns-allinone-2.1b8a]# ./install >
instlout
I saw this messages on my shell
"
Makefile:255: *** missing separator. Stop.
gcc: eval.o: No such file or directory
make: *** [edriver] Error 1
../unix/tclUnixChan.c:235: warning: initialization
from incompatible pointertype
../unix/tclUnixChan.c:254: warning: initialization
from incompatible pointertype
../unix/tclUnixChan.c:273: warning: initialization
from incompatible pointertype
../unix/tclUnixFCmd.c: In function
`GetGroupAttribute':
../unix/tclUnixFCmd.c:1093: warning: passing arg 1 of
`Tcl_NewIntObj' as signed due to prototype
../unix/tclUnixFCmd.c: In function
`GetOwnerAttribute':
../unix/tclUnixFCmd.c:1144: warning: passing arg 1 of
`Tcl_NewIntObj' as signed due to prototype
../unix/tclUnixFCmd.c: In function
`GetPermissionsAttribute':
../unix/tclUnixFCmd.c:1193: warning: long unsigned int
format, __mode_t arg (arg 3)
../unix/tclUnixPipe.c:71: warning: initialization from
incompatible pointer type
/home/hamid/ns-allinone-2.1b8a/tcl8.3.2/unix/libtcl8.3.a(tclUnixPipe.o)(.text+0xe2):
In function `TclpCreateTempFile':
: the use of `tmpnam' is dangerous, better use
`mkstemp'
/home/hamid/ns-allinone-2.1b8a/tcl8.3.2/unix/libtcl8.3.a(tclUnixPipe.o)(.text+0xe2):
In function `TclpCreateTempFile':
: the use of `tmpnam' is dangerous, better use
`mkstemp'
/home/hamid/ns-allinone-2.1b8a/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xe2):
In function `TclpCreateTempFile':
: the use of `tmpnam' is dangerous, better use
`mkstemp'
/home/hamid/ns-allinone-2.1b8a/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xe2):
In function `TclpCreateTempFile':
the use of `tmpnam' is dangerous, better use
`mkstemp'
"
After it I saw "Instlout" file too:
Important Information From that file:
creating Makefile
creating autoconf.h
autoconf.h is unchanged
Can not create xgraph; But xgraph is an optional
package, continuing...
-------------
Zlib has been installed successfully.
--------------
Congratulations --- the tests have all been passed.
--------------
tcl8.3.2 installation succeeded.
-------------
tk8.3.2 installation succeeded.
-------------
otcl-1.0a7 has been installed successfully.
-------------
tclcl-1.0b11 has been installed successfully.
--------------
Ns has been installed successfully.
----------------
Nam has been installed successfully.
---------------------------
Please compile your xgraph separately.
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.3.2:
/home/hamid/ns-allinone-2.1b8a/{bin,include,lib}
tk8.3.2:
/home/hamid/ns-allinone-2.1b8a/{bin,include,lib}
otcl: /home/hamid/ns-allinone-2.1b8a/otcl-1.0a7
tclcl: /home/hamid/ns-allinone-2.1b8a/tclcl-1.0b11
ns: /home/hamid/ns-allinone-2.1b8a/ns-2.1b8a/ns
nam: /home/hamid/ns-allinone-2.1b8a/nam-1.0a10/nam
gt-itm: /home/hamid/ns-allinone-2.1b8a/itm, edriver,
sgb2alt, sgb2ns, sgb2comns, sgb2hierns
--------------------------------
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
after adding some lines to ".bash_profile" file
".bash_profile" content:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin;
PATH=$PATH:/home/hamid/ns-allinone-2.1b8a/bin
PATH=$PATH:/home/hamid/ns-allinone-2.1b8a/tk8.3.2/unix
PATH=$PATH:/home/hamid/ns-allinone-2.1b8a/tcl8.3.2/unix
LD_LIBRARY_PATH=/home/hamid/ns-allinone-2.1b8a/otcl-1.0a7
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hamid/ns-allinone-2.1b8a/lib
TCL_LIBRARY=/home/hamid/ns-allinone-2.1b8a/tcl8.3.2/library
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export PATH LD_LIBRARY_PATH TCL_LIBRARY
export USERNAME BASH_ENV
--------------------------------------
I did :
Source /root/.bash_profile5
And Finally I did
"./validate > valout"
But
The Final Result From Valout is:
validate overall report: some tests failed:
./test-all-tcp ./test-all-testReno ./test-all-newreno
./test-all-sack ./test-all-tcpOptions
./test-all-tcpReset ./test-all-tcp-init-win
./test-all-tcpVariants ./test-all-aimd
./test-all-rfc793edu ./test-all-rfc2581 ./test-all-ecn
./test-all-ecn-ack ./test-all-ecn-full ./test-all-red
./test-all-red-pd ./test-all-rio ./test-all-cbq
./test-all-schedule ./test-all-links
./test-all-oddBehaviors
to re-run a specific test, cd tcl/test; ../../ns
test-all-TEST-NAME
Notice that some tests in webcache will fail on
freebsd when -O is turned
on.This is due to some event reordering, which will
disappear when -g is turned on.
where is my problem?
Please help me.
Best Regards
Hamid Reza
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com