[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
octl-1.0a3 compilation
hi, everyone
I have been tring to install ns-2 piece-by-piece.
So far, I already complied otcl-1.0a3 successfully (I think so). However,
when I tyied to type "make tset", I got following message
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[robin.csc.gatech.edu: otcl-1.0a3]make test
rm -f libotcl.a otcl.o
gcc -c -g -O2 -DNDEBUG -DUSE_SHM -I.
-I/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/generic -I../tcl8.0/generic
-I/include otcl.c
ar cq libotcl.a otcl.o
ranlib libotcl.a
rm -f libotcl.so
gcc -o otclsh -g -O2 -I. -I/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/generic
-I../tcl8.0/generic -I/include otclAppInit.c \
-L. -lotcl -R/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/unix
-L/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/unix -ltk8.0 -R../tcl8.0/unix
-L../tcl8.0/unix -ltcl8.0 -lXext -lX11 -lsocket -lnsl -ldl -lm
rm -f libotcl.so
gcc -o owish -g -O2 -I. -I/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/generic
-I../tcl8.0/generic -I/include otkAppInit.c \
-L. -lotcl -R/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/unix
-L/home/csc/yukung/NS/otcl-1.0a3/../tk8.0/unix -ltk8.0 -R../tcl8.0/unix
-L../tcl8.0/unix -ltcl8.0 -lXext -lX11 -lsocket -lnsl -ldl -lm
./otclsh lib/test.tcl
application-specific initialization failed: Can't find a usable init.tcl in the
following directories:
/usr/local/lib/tcl8.0 /home/csc/yukung/NS/lib/tcl8.0
/home/csc/yukung/tcl8.0/library /home/csc/yukung/NS/library
This probably means that Tcl wasn't installed properly.
invalid command name "Class"
while executing
"Class TestClass -superclass Class"
(file "lib/test.tcl" line 23)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There were no problems for me to compile "tcl8.0", and the file 'init.tcl' is
stored under "/home/csc/yukung/NS/tcl8.0/library" directory.
Can anyone tell me how to make octl find 'init.tcl' (what file I should
modifiy in order to do so) ??? Thxsssss.