[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to install ns-allinone-2.1b6?



Hi,

After you set a path, you should logout your machine and login it again.

Son Cao
================

Hi,

You put the set path line into .mylogin or profile.

set path = ($path I/home/xcao2/NetSim/ns-allinone-2.1b6/bin 
I/home/xcao2/NetSim/ns-allinone-2.1b6/otcl-1.0a5)

set path is only one line, no return.

This may  solve the problems.

Son Cao

===================================
At 10:26 PM 03/15/2000 -0800, Xiaojun Cao wrote:
Hi,

     I download ns-allinone-2.1b6 and try to install under Redhat linux and
SunOS 5.7. In linux I run ./install,
it compile and seem to install well and asked me to ./validate. But I locate
ns and run it. It said "comand cannot find". Acturally it is just a link. I
cannot find the Exe file of NS or NAM. Why?
     Under SunOS 5.7 the compile message is as following:

     Could somebody give me some hints?

Thanks a lot!!
Thanks a lot!

yours
Xiaojun

/include -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclbox/include -o
formsquid.o formsquid.cc
c++ -c -O2 -I. -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/xcao2/NetSim/ns-allinone-2.1b6/otcl-1.0a5
-I/home/xcao2/NetSim/ns-allinone-2.1b6/tkbox/include
-I/home/xcao2/NetSim/ns-allinone-2.1b6/tclbox/include -o formtxt.o
formtxt.cc
c++ -c -O2 -I. -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/xcao2/NetSim/ns-allinone-2.1b6/otcl-1.0a5
-I/home/xcao2/NetSim/ns-allinone-2.1b6/tkbox/include
-I/home/xcao2/NetSim/ns-allinone-2.1b6/tclbox/include -o my-endian.o
my-endian.cc
my-endian.cc: In function `void ToOtherEndian(TEntry *)':
my-endian.cc:42: conversion from `short unsigned int' to `enum method_t'
my-endian.cc:45: conversion from `u_4bytes' to `enum method_t'
my-endian.cc:48: conversion from `short unsigned int' to `enum protocol_t'
my-endian.cc:51: conversion from `u_4bytes' to `enum protocol_t'
*** Error code 1
make: Fatal error: Command failed for target `my-endian.o'
Current working directory
/home/xcao2/NetSim/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Ns make failed!