[ns] urgent : problem in installing ns2
harpreet
harry2511 at rediffmail.com
Tue Feb 27 06:30:17 PST 2007
hi
i have older version of ns2 now i uninstall that and now when i try to reload ns2.30 or and then other earlier version too i am getting problem in installing i am following these steps to install these ns2 version. it gives me problem in tk file installation
i am using fedora core 4 version for linux
i logon as root
userid root
password yourpassword
Place ns-allinone-2.30.tar.gz file in the directory
/usr/src
Open a terminal window and move to the /usr/src directory
cd /usr/src
Unpack this file using the command
tar -xvzf ns-allinone-2.30.tar.gz
This will unpack the files and create a new subdirectory
/usr/src/ns-allinone-2.30
Move into the new directory
cd ns-allinone-2.30
To compile the source files enter (dot slash install)
The dot means use the current directory
./install
and this finally gives me following error
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1305: error: syntax error before â)â token
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1307: error: syntax error before â)â token
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1307: error: syntax error before â)â token
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1308: error: syntax error before â)â token
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c: In function âTkDebugBorderâ:
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1388: error: âborderPtrâ undeclared (first use in this function)
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1391: error: invalid operands to binary *
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1391: error: syntax error before â)â token
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error: request for member âborderTableâ in something not a structure or union
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error: request for member âborderTableâ in something not a structure or union
/usr/src/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1396: error: syntax error before â)â token
{standard input}: Assembler messages:
{standard input}:13: Error: symbol `q' is already defined
{standard input}:25: Error: symbol `q' is already defined
{standard input}:31: Error: symbol `q' is already defined
{standard input}:37: Error: symbol `p' is already defined
{standard input}:79: Error: symbol `dy' is already defined
{standard input}:85: Error: symbol `dx' is already defined
make: *** [tk3d.o] Error 1
tk8.4.13 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
please help me in installing this. because i already uninstalled earlier version and i have to some urgent project work.
thanks in advance
harpreet singh
More information about the Ns-users
mailing list