Re: [ns] Installation problem: Ns2.29 in fedora

2013-04-07 Thread Tuan LE HUU NGUYEN

On 06/04/2013 6:49 CH, Aska123 wrote:
 WHile installing Ns2.29 in fedora . i got error : make error : make command
 not found



 --
 View this message in context: 
 http://network-simulator-ns-2.7690.n7.nabble.com/Installation-problem-Ns2-29-in-fedora-tp26576.html
 Sent from the ns-users mailing list archive at Nabble.com.


It seems that your system doesn't have the make tool. Try this command 
in Terminal:
yum install gcc-c++ automake autoconf

(this command require root privilege or sudoers privilege)

Best regards,



Re: [ns] Installation problem: Ns2.29 in fedora

2013-04-07 Thread Aska123

hello Tuan

I have installed Ns2.34 in fedora 10.
I have also installed Mannasim patch 2.34.

Now i want to run some script on WSN.

can you help me in this matter.

Thanks for your support

On Sun, Apr 7, 2013 at 3:39 PM, Tuan LE HUU NGUYEN [via Network Simulator
ns-2] ml-node+s7690n26579...@n7.nabble.com wrote:


 On 06/04/2013 6:49 CH, Aska123 wrote:
  WHile installing Ns2.29 in fedora . i got error : make error : make
 command
  not found
 
 
 
  --
  View this message in context:
 http://network-simulator-ns-2.7690.n7.nabble.com/Installation-problem-Ns2-29-in-fedora-tp26576.html
  Sent from the ns-users mailing list archive at Nabble.com.
 

 It seems that your system doesn't have the make tool. Try this command
 in Terminal:
 yum install gcc-c++ automake autoconf

 (this command require root privilege or sudoers privilege)

 Best regards,



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://network-simulator-ns-2.7690.n7.nabble.com/Installation-problem-Ns2-29-in-fedora-tp26576p26579.html
  To unsubscribe from Installation problem: Ns2.29 in fedora, click 
 herehttp://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=26576code=cm9oaW5pc2hhcm1hb2hsYW5AZ21haWwuY29tfDI2NTc2fC01NjY3NzA5MTQ=
 .
 NAMLhttp://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Installation-problem-Ns2-29-in-fedora-tp26576p26582.html
Sent from the ns-users mailing list archive at Nabble.com.


[ns] installation problem

2012-04-03 Thread sindhu balaraman

dear all
   i had installed ns-2.34 in fedora 13 but i get the following when i
execute my tcl script.please help it is urgent
[root@localhost allinone]# ns simw.tcl
num_nodes is set 2
invalid command name -llType
while executing
-llType $val(ll) \

(file simw.tcl line 157)
[root@localhost allinone]#

with regards
sindhu


Re: [ns] Installation problem of allinone 2.29 on Kubuntu 8.04

2011-10-09 Thread hamzah.z


step by step on how to install ns-2.29 on linux ubuntu 8.04...

fist at all we need to make all the updests nesserary to this installation .

after system update we type these comands ..

1. Install the essential packages for NS2. Use the command below:

  # sudo apt-get install build-essential

  # sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev

  # sduo apt-get install libxmu-dev libxmu-headers

in order to install the allinone packege to have these ..
packeges ..

ns-allinone-2.29.tar.gz

patches..

ns2292-gcc410.patch



now we patch the patch that are related with the ns-2.29 instalation 
ns2292-gcc410.patch

to patched it we run in the directory that have the ns-allinone-2.29 file
this comand 

patch -p0  ns2292-gcc410.patch

and after that we go to the ns-allinone-2.29/nam-1.11/agent.h and change
this lins line 73
to be like this double corner_x, double corner_y) const = 0;

after we do that we run ./configure in the same dieractory ..

and after that we go to the ns-allinone-2.29 directery using the cd comand .
and run 
./install 

 

it will work this time in the end we need to set the invirument by adding
this lines to the end of the bashrc file 

so we run this 

gedit ~/.bashrc 

we add this 

# LD_LIBRARY_PATH
OTCL_LIB=/home/mfouda/ns-allinone-2.29/otcl-1.11
NS2_LIB=/home/mfouda/ns-allinone-2.29/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY
TCL_LIB=/home/mfouda/ns-allinone-2.29/tcl8.4.11/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/mfouda/ns-allinone-2.29/bin:/home/mfouda/ns-allinone-2.29/tcl8.4.11/unix:/home/mfouda/ns-allinone-2.29/tk8.4.11/unix
NS=/home/mfouda/ns-allinone-2.29/ns-2.29/

we change mfouda acording to are pc name ..   my pc named fear ..
for example i mad the ns-allinone-2.29 file in ns2 file in home directary so
i change to this 

# LD_LIBRARY_PATH
OTCL_LIB=/home/fear/ns2/ns-allinone-2.29/otcl-1.11
and so on for the rest ..

to make the changes take effect we run 

source ~/.bashrc

in the end it should be done 

Antonino La Torre wrote:
 
 
 Hi alll,
 i need to install the ns-allinone-2.29 on my kubuntu 8.04
 to run a bittorrent patch, but i have a problem when i compile ns2 whit
 ./install command.
 I post the error message:
 
 
 
 * Build tcl8.4.11
 
 loading cache ./config.cache
 checking whether to use symlinks for
 manpages... no
 checking whether to compress the
 manpages... no
 checking whether to add a package name
 suffix for the manpages... no
 checking for gcc... gcc
 checking whether the C compiler (gcc  )
 works... yes
 checking whether the C compiler (gcc  )
 is a cross-compiler... no
 checking whether we are using GNU C...
 yes
 checking whether gcc accepts -g... yes
 checking for building with threads...
 no (default)
 checking if the compiler understands
 -pipe... yes
 checking how to run the C
 preprocessor... gcc -pipe -E
 checking for sin... no
 checking for main in -lieee... yes
 checking for main in -linet... no
 checking for net/errno.h... no
 checking for connect... yes
 checking for gethostbyname... yes
 checking how to build libraries...
 static
 checking for ranlib... ranlib
 checking if 64bit support is
 requested... no
 checking if 64bit Sparc VIS support is
 requested... no
 checking system version (for dynamic
 loading)... ./configure: 1: Syntax error: Unterminated quoted string
 tcl8.3.2 configuration failed! Exiting
 ...
 Tcl is not part of the ns project. 
 Please see www.Scriptics.com
 to see if they have a fix for your
 platform.
 
 
 
 Anyone can help me? 
 
 I have already install whit synaptic manager  tcl8.3, tk8.3,  tcl8.3-dev,
 tk8.3-dev, g++ and made
 sudo apt-get install build-essential make tcl8.4-dev tk8.4-dev autoconf
 automake libxmu-dev
 on terminal.
 
 
 thanks in advance
 
 Antonino
 
 
   Scopri il blog di Yahoo! Mail:
 Trucchi, novità e scrivi la tua opinione.
 http://www.ymailblogit.com/blog
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Installation-problem-of-allinone-2.29-on-Kubuntu-8.04-tp19989633p32619018.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Installation problem of allinone 2.29 on Kubuntu 8.04

2011-10-07 Thread Rocío


Hi,

I need to install ns-2.28 in ubuntu 10.10.
I already have installed ns-2.34

I've had the same problem andt this solution helps me.
But, now I have this problem when run ./install:


make: *** [Tcl.o] Error 1
tclcl-1.16 make failed! Exiting ...

Anyone can help me? 

Thanks for all

Rocío


MilenaSyan wrote:
 
 Hi.
 I've had the same problem on Ubuntu Hardy 8.04 and the solution provided
 here
 http://weblogs.inf.udp.cl/nboettcher/29/01/2008/configure-1-syntax-error-unterminated-quoted-string/
 seemed to have done the trick.
 
 Basically, in some of the configure scripts the calls to awk are
 malformed.
 
 1. Go to the ns-allinone folder and type
 find . -name configure
 
 A list of the configure scripts should appear.
 
 2. For each of these replace any line that looks like this:
 system=MP-RAS-`awk ‘{print }’ /etc/.relid’`
 With this:
 system=MP-RAS-`awk ‘{print }’ /etc/.relid`
 
 Now rerun ./install in the ns-allione folder.
 Hope it'll work for you!
 
 
 Antonino La Torre wrote:
 
 
 Hi alll,
 i need to install the ns-allinone-2.29 on my kubuntu 8.04
 to run a bittorrent patch, but i have a problem when i compile ns2 whit
 ./install command.
 I post the error message:
 
 checking system version (for dynamic
 loading)... ./configure: 1: Syntax error: Unterminated quoted string
 tcl8.3.2 configuration failed! Exiting
 ...
 Tcl is not part of the ns project. 
 Please see www.Scriptics.com
 to see if they have a fix for your
 platform.
 
 
 
 Anyone can help me? 
 
 I have already install whit synaptic manager  tcl8.3, tk8.3,  tcl8.3-dev,
 tk8.3-dev, g++ and made
 sudo apt-get install build-essential make tcl8.4-dev tk8.4-dev autoconf
 automake libxmu-dev
 on terminal.
 
 
 thanks in advance
 
 Antonino
 
 
   Scopri il blog di Yahoo! Mail:
 Trucchi, novità e scrivi la tua opinione.
 http://www.ymailblogit.com/blog
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Installation-problem-of-allinone-2.29-on-Kubuntu-8.04-tp19989633p32607008.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] installation problem

2011-07-10 Thread ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed

HI , i suggest to you install ns2 on any environment related to linux such as 
ubuntu and there is some steps must be followed to run ns2 , and you must have 
internet on the pc that download ns2 on it 
 
here the steps :-
First, we download the ns-2 all-in-one file [54.4 MB]. $ wget 
http://nchc.dl.sourceforge.net/sourceforge/nsnam/ns-allinone-2.34.tar.gz$ tar 
-xzvf ns-allinone-2.34.tar.gz$ cd ns-allinone-2.34$ sudo apt-get install 
build-essential autoconf automake libxmu-dev$ ./install
If your ubuntu version is 9.10, you must change the variable of environment CC 
$ export CC=gcc-4.3
 
Set environment variables $ gedit ~/.bashrc 
Add the following lines to the end of the file. Remember replace /your/path 
by the folder where you have stored extracted the ns-2 file (For example, if 
your Linux account name is purple, and you have extracted the file to your home 
directory, you have to change /your path to /home/purple) # 
LD_LIBRARY_PATHOTCL_LIB=/your/path/ns-allinone-2.34/otcl-1.13NS2_LIB=/your/path/ns-allinone-2.34/libX11_LIB=/usr/X11R6/libUSR_LOCAL_LIB=/usr/local/libexport
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # 
TCL_LIBRARYTCL_LIB=/your/path/ns-allinone-2.34/tcl8.4.18/libraryUSR_LIB=/usr/libexport
 TCL_LIBRARY=$TCL_LIB:$USR_LIB # 
PATHXGRAPH=/your/path/ns-allinone-2.34/bin:/your/path/ns-allinone-2.34/tcl8.4.18/unix:/your/path/ns-allinone-2.34/tk8.4.18/unixNS=/your/path/ns-allinone-2.34/ns-2.34/NAM=/your/path/ns-allinone-2.34/nam-1.14/PATH=$PATH:$XGRAPH:$NS:$NAM
Ensure that it immediately takes effect: $ source ~/.bashrc
Note: the previous step is important; else you cannot successfully run ns-2. 
(Alternatively, you may have to restart your X-windows, that is logout, and 
then login, or restart your computer.) 
Now, the installation has been completed. Try: $ ns
The % symbol appears on the screen. Type exit to quit. 
Validation 
To run the ns validation suite: $ cd ns-2.34$ ./validate


--- On Fri, 7/8/11, shwta jain shwe...@sac.isro.gov.in wrote:


From: shwta jain shwe...@sac.isro.gov.in
Subject: [ns] installation problem
To: ns-users@ISI.EDU
Date: Friday, July 8, 2011, 6:27 AM



Hi 

Following error is coming during installation of ns-2.34.

Can anybody help me regarding this error





* Build Stanford GraphBase



Making sgb

if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi

/bin/sh: line 1: ctangle: command not found

make: *** [gb_io.c] Error 127

Unable to create sgb library, but it's optional, so continuing...



* Build GT-ITM



sgb lib not found. gt-itm  sgb2ns could not be installed. Continuing..



* Build zlib



Checking for gcc...

Building static library libz.a version 1.2.3 with cc.

Checking for unistd.h... No.

Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()

Checking for snprintf() in stdio.h... No.

  WARNING: snprintf() not found, falling back to sprintf(). zlib

  can build but will be open to possible buffer-overflow security

  vulnerabilities.

Checking for return value of sprintf()... No.

  WARNING: apparently sprintf() does not return a value. zlib

  can build but will be open to possible string-format security

  vulnerabilities.

Checking for errno.h... No.

Checking for mmap support... No.

cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H   -c -o example.o
example.c

make: cc: Command not found

make: *** [example.o] Error 127

Zlib make failed, but it's optional Continue ...



* Build tcl8.4.18



./install: line 431: autoconf: command not found

loading cache ./config.cache

checking whether to use symlinks for manpages... no

checking whether to compress the manpages... no

checking whether to add a package name suffix for the manpages... no

checking for gcc... no

checking for cc... no

configure: error: no acceptable cc found in $PATH

tcl8.4.18 configuration failed! Exiting ...

Tcl is not part of the ns project.  Please see www.Scriptics.com

to see if they have a fix for your platform.

[shweta@localhost ns-allinone-2.34]$





[ns] installation problem

2011-07-08 Thread shwta jain

Hi 

Following error is coming during installation of ns-2.34.

 Can anybody help me regarding this error

 

 

* Build Stanford GraphBase



Making sgb

if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi

/bin/sh: line 1: ctangle: command not found

make: *** [gb_io.c] Error 127

Unable to create sgb library, but it's optional, so continuing...



* Build GT-ITM



sgb lib not found. gt-itm  sgb2ns could not be installed. Continuing..



* Build zlib



Checking for gcc...

Building static library libz.a version 1.2.3 with cc.

Checking for unistd.h... No.

Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()

Checking for snprintf() in stdio.h... No.

  WARNING: snprintf() not found, falling back to sprintf(). zlib

  can build but will be open to possible buffer-overflow security

  vulnerabilities.

Checking for return value of sprintf()... No.

  WARNING: apparently sprintf() does not return a value. zlib

  can build but will be open to possible string-format security

  vulnerabilities.

Checking for errno.h... No.

Checking for mmap support... No.

cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H   -c -o example.o
example.c

make: cc: Command not found

make: *** [example.o] Error 127

Zlib make failed, but it's optional Continue ...



* Build tcl8.4.18



./install: line 431: autoconf: command not found

loading cache ./config.cache

checking whether to use symlinks for manpages... no

checking whether to compress the manpages... no

checking whether to add a package name suffix for the manpages... no

checking for gcc... no

checking for cc... no

configure: error: no acceptable cc found in $PATH

tcl8.4.18 configuration failed! Exiting ...

Tcl is not part of the ns project.  Please see www.Scriptics.com

to see if they have a fix for your platform.

[shweta@localhost ns-allinone-2.34]$

 



[ns] installation problem

2011-03-15 Thread Saqib Ali

hi
i have installed ns 2.34.Working fine but when i run fine with % but
when i run a batch file ns simple.tcl it give errors


simple.tcl
set ns [new Simulator]
$ns at 1  “puts HelloWorld!”
$ns at 1.5 “exit”
$ns run

Thanks


[ns] Installation Problem for NS in Linix using allinone

2010-08-31 Thread Bapi Sen

I am trying to use NS but unable to do so.  I like to discuss with some expert 
my problem - I tried to call UC Berkeley for that reason.  Is there a person I 
can talk to on this subject?  If so I like the telephone number.

Hope to hear from you.

Bapi

Subhabrata Bapi Sen
Communications Engineer
Westgate Consulting Group Inc

v. 732-415-8130 (Office)
v. 973-418-1125 (Mobile)
f. 732-415-8129



[ns] installation problem

2010-04-29 Thread pragya gupta

how can i install ns2 in windows 7? window is nt reading tar.gz file.
-- 
pragya


[ns] installation problem

2009-08-12 Thread COULIBALY Yaya

Dear all,

I am trying NS2 on federa 64 bit without sucess. Any assistance?

Best regards
-- 
@ Patience is the key to success @

COULIBALY Yahaya
PhD Candidate
Optical Burst Switching Research Group
Faculty of Computer Science  Information Systems
Department of Communication  Computer Systems
Malaysia University of Technology (UTM)
81310 Skudai, Johor Bahru, Johor
Cell: 0060196886615
   : 0060137677542


Re: [ns] installation problem

2009-08-07 Thread BilalAKhan


Dear Paramveer Sran,

I am uploading the installation manual for your help. If u need any more
help, please mail me at bila...@hotmail.co.uk

Regards,

Bilal A. Khan
http://www.nabble.com/file/p24861386/NS-2%2BInstallation%2BGuide.pdf
NS-2+Installation+Guide.pdf 

paramveer sran wrote:
 
 
 i have downloaded ns-allinone-2.34.tar.gz. i m using windows.there r a
 no. of folders, but i don't know how can i install this, which folders
 i should click to install. i want to use ns 2 for simulating the MANET
 routing protocols
 help me
 
 
 

-- 
View this message in context: 
http://www.nabble.com/installation-problem-tp24841737p24861386.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] installation problem

2009-08-06 Thread paramveer sran

i have downloaded ns-allinone-2.34.tar.gz. i m using windows.there r a
no. of folders, but i don't know how can i install this, which folders
i should click to install. i want to use ns 2 for simulating the MANET
routing protocols
help me



[ns] ns installation problem

2009-03-17 Thread ali bala

hi
i had problem with nam under cyqwin/x
and now i install linux ubuntu 8.10 then try to install ns 
when i run ns installation with ./install after 5 mins i see this error :
make:***[tk3d.o] error1
tk8.4.13 make failed! exiting...
whats my problem and solution?
 mr.ali.balador
homepage:www.balador.org 


  


[ns] NS Installation Problem

2008-12-19 Thread Bello Lawal

Hello,



This is the error i got during NS installation '' make:*** [regcomp.o] Error 1

tcl8.4.11 make failed! Exiting .''



Pls. can some one help me



Thanks alot




  


[ns] Installation problem of allinone 2.29 on Kubuntu 8.04

2008-10-15 Thread Antonino La Torre

Hi alll,
i need to install the ns-allinone-2.29 on my kubuntu 8.04
to run a bittorrent patch, but i have a problem when i compile ns2 whit
./install command.
I post the error message:



* Build tcl8.4.11

loading cache ./config.cache
checking whether to use symlinks for
manpages... no
checking whether to compress the
manpages... no
checking whether to add a package name
suffix for the manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc  )
works... yes
checking whether the C compiler (gcc  )
is a cross-compiler... no
checking whether we are using GNU C...
yes
checking whether gcc accepts -g... yes
checking for building with threads...
no (default)
checking if the compiler understands
-pipe... yes
checking how to run the C
preprocessor... gcc -pipe -E
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries...
static
checking for ranlib... ranlib
checking if 64bit support is
requested... no
checking if 64bit Sparc VIS support is
requested... no
checking system version (for dynamic
loading)... ./configure: 1: Syntax error: Unterminated quoted string
tcl8.3.2 configuration failed! Exiting
...
Tcl is not part of the ns project. 
Please see www.Scriptics.com
to see if they have a fix for your
platform.



Anyone can help me? 

I have already install whit synaptic manager  tcl8.3, tk8.3,  tcl8.3-dev, 
tk8.3-dev, g++ and made
sudo apt-get install build-essential make tcl8.4-dev tk8.4-dev autoconf 
automake libxmu-dev
on terminal.


thanks in advance

Antonino


  Scopri il blog di Yahoo! Mail:
Trucchi, novità e scrivi la tua opinione.
http://www.ymailblogit.com/blog



[ns] installation problem (.\install) [resent]

2008-08-20 Thread Nour





- Message d'origine 
De : Nour [EMAIL PROTECTED]
À : ns-users@isi.edu
Envoyé le : Mercredi, 20 Août 2008, 9h33mn 07s
Objet : installation problem (.\install)


Hello Everyone

I tried to install NS [version 2.28] under windows. I followed all the 
instructions of how to install cygwin and how to extract NS files to a 
directory reachable from Cygwin.

But when i write the command  .\install in the shell, this message appears : 
 no such file or directory 

Thank you for your help
Nour81


 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[ns] installation problem

2008-07-30 Thread Iyad Tumar


 Hi all, when i try to install ns-2.26 i face the following problem,  
 can one please help


 In file included from ./trace/cmu-trace.h:43,
 from src_rtg/sragent.cc:53:
 ./mobile/god.h: At global scope:
 ./mobile/god.h:88: error: extra qualification ‘vector::’ on member
 ‘operator=’
 ./mobile/god.h:93: error: extra qualification ‘vector::’ on member
 ‘operator+=’
 ./mobile/god.h:98: error: extra qualification ‘vector::’ on member
 ‘operator==’
 ./mobile/god.h:101: error: extra qualification ‘vector::’ on member
 ‘operator!=’
 make: *** [src_rtg/sragent.o] Error 1
 Ns make failed!


Best
Iyad




[ns] installation problem

2008-07-21 Thread fd ss

Hi there,
i am new to ns and i tried to install ns for the first time under cygwin but i 
could not. i received the following messages :
./install:line 20:$' \r ' :command not found
./install:line 21:syntax error near unexpected token ' $' {\r ' '
;/install:line 21: ' die {
i believe that i followed every step correctly  and  i re-install cygwin and ns 
many times with the same result. i used ns-allinone-2.33
please help me
thank you


  



[ns] installation problem about ns-2.1b7a

2008-07-16 Thread luo_yunqi

Dear NS User;
 
  I am trying to install ns-2.1b7a on Red Hat Linux2.4. I download   
ns-allinone-2.1b7a.tar  from ftp://ftp.isi.edu/nsnam/.
 
  And then I tar xzvf ns-allinone-2.1b7a.tar.gz   
 
  Secondly, I cd ns-allinone-2.17a
  
  At last, I use the command ./install
 
  But I failed with these messages: 
 
 
  In file included from trace.cc:44:
  tfrc.h:116: friend declaration requires class-key, i.e. `friend class
  TfrcSendTimer'
  tfrc.h:117: friend declaration requires class-key, i.e. `friend class
  TfrcNoFeedbackTimer'
  make: *** [trace.o] Error 1
  Ns make failed!
  See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems
  [EMAIL PROTECTED] ns-allinone-2.1b7a]#
 
 
  And I didn't find the answer on 
http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html . 
 
  Do you know the answer? Could you help me please?
 

  yours,
 

   Linda


[ns] installation problem???????????????????

2008-04-06 Thread mohamed saad


salam alikom

i already set environment but i want to sure that was set correctly i guess 
that i set it wrong how i sure that i set it correctly

gazak allah khairn

   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.


[ns] installation problem

2008-04-04 Thread mohamed saad

salam alikom
   
  To set environment of ns2  
  I go to /etc folder and type
  
 
 vi ~/.bashrc
 
 Add the following lines to the end of it. 
 
 # LD_LIBRARY_PATH
 OTCL_LIB=/usr/src/ns-allinone-2.31/otcl-1.13
 NS2_LIB=/usr/src/ns-allinone-2.31/lib
 X11_LIB=/usr/X11R6/lib
 USR_LOCAL_LIB=/usr/local/lib
 export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
 
 # TCL_LIBRARY
 TCL_LIB=/usr/src/ns-allinone-2.31/tcl8.4.14/library
 USR_LIB=/usr/lib
 export TCL_LIBRARY=$TCL_LIB:$USR_LIB
 
 # PATH
 
XGRAPH=/usr/src/ns-allinone-2.31/bin:/your/path/ns-allinone-2.31/tcl8.4.14/unix:/your/path/ns-allinone-2.31/tk8.4.14/unix
 NS=/usr/src/ns-allinone-2.31/ns-2.31/
 NAM=/usr/src/ns-allinone-2.31/nam-1.13/
 PATH=$PATH:$XGRAPH:$NS:$NAM
   
  Afterthat I reboot my linux(mandrake10)
  And run ns2 by type
  #ns
  In the shell but ns2 don't run
  What is wrong in this?
  Help me
  Gazak allah khiran
  

   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.


[ns] installation problem

2008-04-03 Thread mohamed saad

esalam alikom

gazakom allah khiran

i have problem the power is turnedoff when i had worked in linux so i lost the 
desktop of linux and appear only screen of commands i pressALT,SHIFT,F7 but 
i didnt effect the screen of commands still appearing and i didn't obtain 
desktop
what i do to retard desktop again 

please help me

   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.


[ns] installation problem

2008-03-30 Thread mohamed saad

salamo alikom

can you help me
after installation of ns-2 i would to run this simulator what i do
in details please

gazak allah khiran

   
-
Special deal for Yahoo! users  friends - No Cost. Get a month of Blockbuster 
Total Access now


[ns] installation problem

2008-03-30 Thread mohamed saad

salamo alikom

i'am new user in linux where i run in it the power separated(turned off)  
graphical user interface desktop as in windows disappear and i becomes  user 
black screen to write commands i want to  retard  desktop again what i do

gazak allah khiran

   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.


[ns] installation problem

2008-03-26 Thread mohamed saad

salam alikom

gazakom allah khairn
can you help me
i have problem when installed ns-2(allinone)on mandrake10
  ecking for socklen_t... yes
  checking for main in -lpcap... no
  checking to make nse... no
  Explicitly disabling static compilation
  checking for dlopen in -ldl... yes
  checking for a BSD-compatible install... /usr/bin/install -c
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating tcl/lib/ns-autoconf.tcl
  config.status: creating indep-utils/webtrace-conv/ucb/Makefile
  config.status: creating indep-utils/webtrace-conv/dec/Makefile
  config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
  config.status: creating indep-utils/webtrace-conv/epa/Makefile
  config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
  config.status: creating autoconf.h
  creating ./gen
  Makefile.in is newer than Makefile.
  You need to re-run configure.
  false
  make: *** [Makefile] Error 1
  Ns make failed!
  See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
  [EMAIL PROTECTED] ns-allinone-2.32]#
  

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.


[ns] installation problem

2008-03-23 Thread mohamed saad

salam alikom

gazak allah khiran


can you help me how to solve this problem

  [EMAIL PROTECTED] otcl-1.13]# ls
 CHANGES.html   config.sub*   install-sh   otclAppInit.c  README.html
 conf/  configure*lib/ otcl.c VERSION
 config.guess*  configure.in  Makefile.in  otcl.h
 config.log doc/  makefile.vc  otkAppInit.c
 [EMAIL PROTECTED] otcl-1.13]# ./configure
 No .configure file found in current directory
 Continuing with default options...
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking target system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for string.h... (cached) yes
 checking for main in -lXbsd... no
 checking for socket in -lsocket... no
 checking for gethostbyname in -lnsl... yes
 checking for dcgettext in -lintl... no
 checking for getnodebyname in -ldnet_stub... no
 checking that g++ can handle -O2... no
 checking standard STL is available... no
 checking for tcl.h... -I/usr/local/include
 checking for tclInt.h... no
 checking for libtcl8.4... -L/usr/local/lib -ltcl8.4
 checking for init.tcl... /usr/lib/tcl8.4
 checking for http.tcl... /usr/lib/tcl8.4/http2.4
 checking Tcl http.tcl library... yes
 checking for tclsh8.4.14... no
 checking for tclsh8.4... /usr/bin/tclsh8.4
 configure: error: Installation of tcl seems incomplete or can't be found 
automatically.
 Please correct the problem by telling configure where tcl is
 using the argument --with-tcl=/path/to/package
 (perhaps after installing it),
 or the package is not required, disable it with --with-tcl=no.
 [EMAIL PROTECTED] otcl-1.13]# ./configure 
/home/mahmoud/ns2/tcl8.4.17/unix/dltest
 configure: WARNING: you should use --build, --host, --target
 configure: WARNING: invalid host type: /home/mahmoud/ns2/tcl8.4.17/unix/dltest
 No .configure file found in current directory
 Continuing with default options...
 checking build system type... Invalid configuration 
`/home/mahmoud/ns2/tcl8.4.17/unix/dltest': machine 
`/home/mahmoud/ns2/tcl8.4.17/unix/dltest' not recognized
 configure: error: /bin/sh ./config.sub /home/mahmoud/ns2/tcl8.4.17/unix/dltest 
failed
 [EMAIL PROTECTED] otcl-1.13]# ./config.sub
 config.sub: missing argument
 Try `config.sub --help' for more information.
 [EMAIL PROTECTED] otcl-1.13]# ./config.sub /home/mahmoud/ns2/tcl8.4.17/unix
 Invalid configuration `/home/mahmoud/ns2/tcl8.4.17/unix': machine 
`/home/mahmoud/ns2/tcl8.4.17/unix' not recognized
 [EMAIL PROTECTED] otcl-1.13]# ./config.sub /home/mahmoud/ns2/tcl8.4.17
 Invalid configuration `/home/mahmoud/ns2/tcl8.4.17': machine 
`/home/mahmoud/ns2/tcl8.4.17' not recognized
 [EMAIL PROTECTED] otcl-1.13]#
 [EMAIL PROTECTED] otcl-1.13]# ./config /home/mahmoud/ns2/tcl8.4.17
 bash: ./config: No such file or directory
 [EMAIL PROTECTED] otcl-1.13]# ./configure /home/mahmoud/ns2/tcl8.4.17
 configure: WARNING: you should use --build, --host, --target
 configure: WARNING: invalid host type: /home/mahmoud/ns2/tcl8.4.17
 No .configure file found in current directory
 Continuing with default options...
 checking build system type... Invalid configuration 
`/home/mahmoud/ns2/tcl8.4.17': machine `/home/mahmoud/ns2/tcl8.4.17' not 
recognized
 configure: error: /bin/sh ./config.sub /home/mahmoud/ns2/tcl8.4.17 failed
 [EMAIL PROTECTED] otcl-1.13]#
  

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.


[ns] installation problem

2008-03-22 Thread mohamed saad

salam alikom
i have problem during installation of ns-2 on mandrake10
i want solution of this problem

  checking for socklen_t... yes
 checking for main in -lpcap... no
 checking to make nse... no
 Explicitly disabling static compilation
 checking for dlopen in -ldl... yes
 checking for a BSD-compatible install... /usr/bin/install -c
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating tcl/lib/ns-autoconf.tcl
 config.status: creating indep-utils/webtrace-conv/ucb/Makefile
 config.status: creating indep-utils/webtrace-conv/dec/Makefile
 config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
 config.status: creating indep-utils/webtrace-conv/epa/Makefile
 config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
 config.status: creating autoconf.h
 creating ./gen
 Makefile.in is newer than Makefile.
 You need to re-run configure.
 false
 make: *** [Makefile] Error 1
 Ns make failed!
 See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
 [EMAIL PROTECTED] ns-allinone-2.32]#
  

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
   
-
Never miss a thing.   Make Yahoo your homepage.


[ns] installation problem

2007-12-02 Thread Zaw Tun


When I install ns2.29 on windowXP, I found the following error

Copying skeleton files.
These files are for the user to personalise
their cygwin experience.

These will never be overwritten.

`./.bashrc' - `/home/luckybd//.bashrc'
`./.bash_profile' - `/home/luckybd//.bash_profile'
`./.inputrc' - `/home/luckybd//.inputrc'

[EMAIL PROTECTED] ~
$ cd ..

[EMAIL PROTECTED] /home
$ cd ..

[EMAIL PROTECTED] /
$ ls
bin   cygwin.bat  dev  home  proc  usr
cygdrive  cygwin.ico  etc  lib   tmp   var

[EMAIL PROTECTED] /
$ cd usr

[EMAIL PROTECTED] /usr
$ cd local

[EMAIL PROTECTED] /usr/local
$ ls
bin  etc  lib  ns-allinone-2.31  ns-allinone-2.31.tar.gz

[EMAIL PROTECTED] /usr/local
$ cd ns*

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ls
INSTALL.WIN32  installsgb xgraph-12.1
README nam-1.13   tcl8.4.14   zlib-1.2.3
cweb   ns-2.31tclcl-1.19
gt-itm otcl-1.13  tk8.4.14

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$ ./install
./install: line 20: $'\r': command not found
./install: line 21: syntax error near unexpected token `$'{\r''
'/install: line 21: `die() {

[EMAIL PROTECTED] /usr/local/ns-allinone-2.31
$


how can I install successfully
-- 
View this message in context: 
http://www.nabble.com/installation-problem-tf4934559.html#a14124428
Sent from the ns-users mailing list archive at Nabble.com.



[ns] installation problem on linux

2007-10-14 Thread zaid Abdul Karim

Dear ns users

I am trying to install ns2 on Mandrake Linux 10.1.
everything is ok, tcl is installing fine but I am
getting a problem with tk. it is giving a long list of
errors ending with


/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:
At top level:
/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:1131:
error: storage size of `shiftTable' isn't known
/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:30:
warning: 'BorderInit' declared `static' but never
defined
/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:34:
warning: 'Intersect' declared `static' but never
defined
/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:37:
warning: 'ShiftLine' declared `static' but never
defined
/home/zaid/ns2/ns-allinone-2.1b8/tk8.3.2/unix/../generic/tk3d.c:1117:
warning: 'shiftTable' defined but not used
{standard input}: Assembler messages:
{standard input}:651: Error: symbol `cosine' is
already defined as *COM*/8
{standard input}:669: Error: symbol `dy' is already
defined
{standard input}:675: Error: symbol `dx' is already
defined
{standard input}:722: Error: symbol `q' is already
defined
{standard input}:728: Error: symbol `p' is already
defined
{standard input}:734: Error: symbol `q' is already
defined
{standard input}:740: Error: symbol `q' is already
defined
make: *** [tk3d.o] Error 1
tk8.3.2 make failed! Exiting ...



Thanks in advance
regards






  

Tonight's top picks. What will you watch tonight? Preview the hottest shows on 
Yahoo! TV.
http://tv.yahoo.com/ 



Re: [ns] Installation problem with MW-Node patch for ns-2.29.3

2007-09-14 Thread Ghada Al-Mashaqbeh

So, using this method can I apply patches developed for ns-2.29 for example to 
ns-2.31 (by manual configuration)?
   
  I am managed to use ns-2.31 (since I want to use the lates version where many 
bugs that exist in previous versions were fixed) and apply the patches I need 
then fix the failed hunks manually, do you think it will work?
   
  Thank you very much,
   
  Ghada 

Samer Bali [EMAIL PROTECTED] wrote:
v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  
w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}
You find this information in the patch file itself. Open the patch file 
with any txt editor and see the changes made to classifier.cc. Usually, the 
original lines in the files begins with - , and the new lines (changes) begins 
with + or !.
   
  Best Wishes.
   
From: Ghada Al-Mashaqbeh [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 13. September 2007 19:26
To: Samer Bali
Cc: ns-users@isi.edu
Subject: RE: [ns] Installation problem with MW-Node patch for ns-2.29.3

   

Thank you for reply, But how can I modify it manually. On the screen only the 
following information appears: (for example)

 

patching file classifier/classifier.cc
Hunk #3 FAILED at 50.

 

How can I know what to put at line 50? how can I know the exact changes 
needed by the patch where there is no read me or something like that attached 
with it?

 

Please answer me ASAP.

 

Thanks in advance.

 

Ghada


Samer Bali [EMAIL PROTECTED] wrote:

From my little experience, all patches assume that ns-2 has the original
installation settings. If you applied one patch, some files will be changed.
Then if you applied another patch, some changes will not be done because the
previous patch changed some files and the locations of the changes in the
second patch is no more valid. Therefore, you should do these failed hunks
manually.
If make or make distclean are not working because makefile is changed, you
should first run './config' command.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ghada Al-Mashaqbeh
Sent: Donnerstag, 13. September 2007 16:42
To: ns-users@ISI.EDU
Subject: [ns] Installation problem with MW-Node patch for ns-2.29.3


Dear all,

I am trying to use MW-node patch with ns-2.29.3 , when I have tried to
install mw-node patch for ns-2.29.3 there are many Hunks failed, I have
followed the same steps announced on your website
(http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using
ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this
probelm since I am in an urgent need for this patch? 

I must use ns-2.29.3 to support other patches which are available just for
these version (i.e. do not support ns-2.30 version). Also, when I run 'make
distclean' it does not work (is the problem here?).

Thanx.

Ghada 


-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
news, photos  more. 
   


-
  
  Need a vacation? Get great deals to amazing places on Yahoo! Travel. 



   
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.


[ns] Installation problem with MW-Node patch for ns-2.29.3

2007-09-13 Thread Ghada Al-Mashaqbeh

Dear all,
   
  I am trying to use MW-node patch with ns-2.29.3 , when I have tried to 
install mw-node patch for ns-2.29.3 there are many Hunks failed, I have 
followed the same steps announced on your website 
(http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using 
ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this 
probelm since I am in an urgent need for this patch? 
   
  I must use ns-2.29.3 to support other patches which are available just for 
these version (i.e. do not support ns-2.30 version). Also, when I run 'make 
distclean' it does not work (is the problem here?).
   
  Thanx.
   
  Ghada 

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 


Re: [ns] installation problem

2007-09-10 Thread Pedro Vale Estrela



http://www.google.pt/search?source=ighl=pt-PTq=bash%3A+ns+command+not+foun
dmeta=


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of sparsh attre
 Sent: segunda-feira, 10 de Setembro de 2007 13:25
 To: ns-users@ISI.EDU
 Subject: [ns] installation problem
 
 
 hi
 i m facing a little problen in the installation of ns2.31 on fedora 5
 it is installing properly but when i validate it thn it takes approx 45 -
 50
 mins  and says that all tests have been passed
 but whn i type ns on the command prompt it reflects an error saying
 bash: ns command not found
 can u get me out of this particulr problem?




[ns] installation problem with ns-2.1b8a

2007-03-22 Thread sachin dahiya

Hi friends ,

While installing ns-2.1b8a I am getting this problem

In file included from trace.cc:44:
tfrc.h:116: friend declaration requires class-key,
i.e. `friend class
   TfrcSendTimer'
tfrc.h:117: friend declaration requires class-key,
i.e. `friend class
   TfrcNoFeedbackTimer'
make: *** [trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for
problems


please give me the solution

Thank you,
sachin


Re: [ns] installation problem with ns-2.1b8a

2007-03-22 Thread Pedro Estrela

google is your friend
http://www.chipweb.de/knoll/NS2/Installing_old_NS2_version_ns-allinone-2_1b6a_on_RedHat_8_0.php





On 3/22/07, sachin dahiya [EMAIL PROTECTED] wrote:


 Hi friends ,

 While installing ns-2.1b8a I am getting this problem

 In file included from trace.cc:44:
 tfrc.h:116: friend declaration requires class-key,
 i.e. `friend class
   TfrcSendTimer'
 tfrc.h:117: friend declaration requires class-key,
 i.e. `friend class
   TfrcNoFeedbackTimer'
 make: *** [trace.o] Error 1
 Ns make failed!
 See http://www.isi.edu/nsnam/ns/ns-problems.html for
 problems


 please give me the solution

 Thank you,
 sachin



[ns] Installation problem in ns-allinone-2.26

2007-03-06 Thread shyam lal

hello sir,
I m shyam.
i want to install ns-2.26 on cygwin on windosxp.
i copied ns-allinone-2.26.tar , nam-1.9-cygwin-configure and
ns-allinone-2.26.cygwinn.patch  in cygwin/usr/local/
then i use startx command at cygwin promt
after that i typed following line at bash terminal
gzip -d -c ns-allinone-2.26.tar.gz | tar xvf -
this will work
after that next when in nest line i type
mv nam-1.9.configure ns-allinone-2.26/nam-1.9/configure
this will not work
and if  i use command
cd /usr/local/ns-allinone-2.26/
./install
the the following error comes
.
 Build OTcl-1.0a8

No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... yes
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking standard STL is available... no
checking for tcl.h... -I../include
checking for libtcl8.3... -L../lib -ltcl8.3
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... no
checking for tclsh8.3... ../bin/tclsh8.3
checking for tk.h... -I../include
checking for libtk8.3... -L../lib -ltk8.3
checking for tk.tcl... ../lib/tk8.3
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
can't find X library
otcl-1.0a8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.

please help me , How this probleb will solve
shyam
M.Tech student


[ns] NS- Installation Problem-Urgent

2006-11-06 Thread Shaili Desai

Hey all

I installed NS-2.30 now after deleting all of ns-2.29 and it installs fine
but after that when I run the example1a.tcl it gives me the same error and
that too there is no directory like ns-allinone-2.29w

ERROR:
When configured, ns found the right version of tclsh in
/root/ns-allinone-2.29w/bin/tclsh8.4
but it doesn't seem to be there anymore, so ns will fall back on
running the first tclsh in your path. The wrong version of tclsh may
break the test suites. Reconfigure and rebuild ns if this is a
problem.
ns:
[code omitted because of length]
: invalid command name Queue/WFQ
   while executing
Queue/WFQ set bandwidth_ 0


Can anyone pl help me whether I need to reinstall LINUX??
-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA


Re: [ns] Installation problem Linux x86_64

2006-09-03 Thread Mo Li

Hi Ivan,

sorry for late. Please check this link:  
http://mailman.isi.edu/pipermail/ns-users/2004-June/043180.html for this  
problem. Just hope it could be of any help.

It's too long to remember the details about my last installation on 64bits  
platform. You can try the Makefile under ns-2.29/.

Mo

On Fri, 01 Sep 2006 03:06:05 +1000, ivan guardiola  
[EMAIL PROTECTED] wrote:


 Hello All;

 I am quite new to ns, I am currently trying to install the  
 ns-allinone2.29.3
 version, which is supposed to have fixed the bug from the 2.29.2 version.
 The problem is that when running  ./install  I obtain the following error
 when it begins to build tclcl-1.17:


 Checking for XOpenDisplay in -X11 . no

 Can't find X library

 Tclcl-1.17 configuration failed! Exiting 


 People have suggested that I modify a makefile , however, being new to  
 this
 ns software I am wondering if someone could give specifics on which make
 file I need to modify as well as how. If anyone can help in this matter  
 it
 would be greatly appreciated.


 Ivan G. Guardiola

 Research Assistant

 Dept. of Industrial Engineering

 Texas Tech University

 email: [EMAIL PROTECTED]






[ns] Installation problem Linux x86_64

2006-08-31 Thread ivan guardiola

Hello All;

I am quite new to ns, I am currently trying to install the ns-allinone2.29.3
version, which is supposed to have fixed the bug from the 2.29.2 version.
The problem is that when running  ./install  I obtain the following error
when it begins to build tclcl-1.17:

 

Checking for XOpenDisplay in -X11 . no

Can't find X library

Tclcl-1.17 configuration failed! Exiting 

 

People have suggested that I modify a makefile , however, being new to this
ns software I am wondering if someone could give specifics on which make
file I need to modify as well as how. If anyone can help in this matter it
would be greatly appreciated.

 

Ivan G. Guardiola

Research Assistant

Dept. of Industrial Engineering

Texas Tech University

email: [EMAIL PROTECTED]

 



Re: [ns] Installation problem Linux x86_64

2006-08-31 Thread Luqman

 ivan guardiola wanted us to know:


Checking for XOpenDisplay in -X11 . no

Can't find X library


Please have a look in mailarchives before posting. You probably need x
development files.



-- 
Luqman


Re: [ns] installation problem Linux X86_64

2006-08-28 Thread Mo Li

Hi Ivan,

I was also trying to install the ns 2.29 on 64bit Linux, but failed on 
installing. I checked some old threads, and somebody mentioned it needs 
to include some changes in the Makefiles. Probably you can try on that. 
I was working on Redhat, and the install script without any change 
didn't work.

Good luck!

Kind Regards,
Mo

ivan guardiola wrote:
 I am currently installing  the ns-allinone-2.29.3.tar.gz after unpacking the
 file and running the ./install in the appropriate directory. I obtain the
 following error:

 Checking for XOpenDisplay in -lX11. no

 Can't find X library 

 tclcl-1.17 configuration failed! Exiting...

  

 I am would appreciate if anyone could tell me how to fix this problem.
 Thanks and hope hear from someone soon.

  

  

 Ivan G. Guardiola

 Research Assistant

 Dept. of Industrial Engineering

 Texas Tech University

 email: [EMAIL PROTECTED]

  

   



Re: [ns] installation problem Linux X86_64

2006-08-28 Thread Luqman

Checking for XOpenDisplay in -lX11. no

Can't find X library 

I would install XFree86 development libraries.



-- 
Luqman



Re: [ns] installation problem Linux X86_64

2006-08-28 Thread Tom Henderson



 Message: 1
 Date: Sun, 27 Aug 2006 19:37:30 -0500
 From: ivan guardiola [EMAIL PROTECTED]
 Subject: [ns] installation problem Linux X86_64
 To: ns-users@ISI.EDU
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 I am currently installing  the ns-allinone-2.29.3.tar.gz after 
unpacking the
 file and running the ./install in the appropriate directory. I obtain the
 following error:

 Checking for XOpenDisplay in -lX11. no

 Can't find X library

 tclcl-1.17 configuration failed! Exiting...






This wiki page makes reference to the need to make sure that you have
the lib64 libraries installed and in the library path.

http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#Installation_of_ns-2.29.2_fails_on_x86_64_platform



[ns] installation problem Linux X86_64

2006-08-27 Thread ivan guardiola

I am currently installing  the ns-allinone-2.29.3.tar.gz after unpacking the
file and running the ./install in the appropriate directory. I obtain the
following error:

Checking for XOpenDisplay in -lX11. no

Can't find X library 

tclcl-1.17 configuration failed! Exiting...

 

I am would appreciate if anyone could tell me how to fix this problem.
Thanks and hope hear from someone soon.

 

 

Ivan G. Guardiola

Research Assistant

Dept. of Industrial Engineering

Texas Tech University

email: [EMAIL PROTECTED]

 



[ns] Installation Problem

2006-08-20 Thread Harish Kumar


hi all,
 
 Can any body tell me, issues regarding implementing Ns-2.29 all in one 
package on Red Hat Enterprise Linux Ver 4 Update 2. I am not able to 
install it..But i was able to install on Red Hat Linux 9.0
 
thanx 
Harish Kumar
 
  
 

-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.


Re: [ns] Installation Problem

2006-08-20 Thread Giorgis Georgakoudis

What exactly is the problem? Did u check the installation troubleshooting at 
nsnam website?

On Sunday 20 August 2006 11:33, Harish Kumar wrote:
 hi all,

  Can any body tell me, issues regarding implementing Ns-2.29 all in one
 package on Red Hat Enterprise Linux Ver 4 Update 2. I am not able to
 install it..But i was able to install on Red Hat Linux 9.0

 thanx
 Harish Kumar




 -
 Do you Yahoo!?
  Everyone is raving about the  all-new Yahoo! Mail Beta.



[ns] Installation problem

2006-07-24 Thread Mohadig Rousstia

hallo everybody
  
 Does somebody know, why during  installation(allinone) under cygwin, the 
xgraph cant be compiled  automatically. In other words in the cywin window it 
was written that  Ns.2.29 is installed succesfully, but I need to compile 
xgraph  separately. I download the single piece version, then it still doesnt  
work. Can somebody give me a suggestion for that, beside trying to  migrate 
using Linux environment?
  
  Thank you in advance
  
  Regards
  
  Mohadig Widha


-
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.


[ns] Installation problem

2006-07-17 Thread Tamer Abdel Kader

Hi everyone,
Iam trying to install ns-allinone but i get the following message:
checking system version (for dynamic loading)... ./configure: line 5718:
syntax
error near unexpected token `)'
./configure: line 5718: `   OSF*)'

It is an error in the installation of TCL. The site for TCL error resolving
(http://www.scriptics.com/) is still under construction So plz someone help
me in resolving this problem.

regards,
Tamer


[ns] Installation problem of ns-2.1b8a

2006-07-03 Thread Deep Malya Mukherjee

During installing ns-2.1b8a on RedHat Linux 8.0, I am facing the 
following problem
  ns make failed (trace.o not found) one error.
machine configuration:pentium 4
   :main board-845,  
ram-384Mb




[ns] Installation problem of ns-2.1b8a

2006-07-03 Thread Deep Malya Mukherjee

During installing ns-2.1b8a on RedHat Linux 8.0,  Iam facing the following 
problem.
 ns make failed (trace.o) one error
  Kindly give me the solution as soon as possible




[ns] Installation problem in ns 2.1b9 in FC4

2006-05-25 Thread Vinod

hi,

im trying to install ns allinone 2.1b9 version in Fedora Core 4, but its 
not building ns 2.19b package.

i think the problem is with the gcc compiler. I had to install this old 
version because ZRP protocol is only implemented in that version.

can any one help me to resolve this issue.

thanx a lot,
vinod
--
Vinod Kone,
Btech,Computer Science,
VIII sem,
Room 177,Kapili,
IIT Guwahati.



[ns] installation problem in NS-2.29.2 (line 7624: syntax error)

2006-05-06 Thread Zlatko K.

Hi all, I have a problem installing NS-2.29.2 all in one version in the 
CYGWINenvironment. I am using  cygwin on windows XP (with SP2) professional 
edition. When I try to install ns-allinone-2.29.2 following problem occurs and 
the installation is stoped.  ...creating cache ./config.cachechecking 
whether to use symlinks for manpages... nochecking whether to compress the 
manpages... nochecking whether to add a package name suffix for the manpages... 
nochecking for gcc... gccchecking whether the C compiler (gcc  ) works... 
yeschecking whether the C compiler (gcc  ) is a cross-compiler... nochecking 
whether we are using GNU C... yeschecking whether gcc accepts -g... yeschecking 
for building with threads... no (default)checking if the compiler understands 
-pipe... yeschecking how to run the C preprocessor... gcc -pipe -Echecking for 
sin... yeschecking for main in -lieee... nochecking for main in -linet... 
nochecking for net/errno.h... nochecking for connect... yeschecking for!
  gethostbyname... yeschecking how to build libraries... staticchecking for 
ranlib... ranlibchecking if 64bit support is requested... nochecking if 64bit 
Sparc VIS support is requested... nochecking system version (for dynamic 
loading)... ./configure: line 7624: syntaxerror near unexpected token 
`)'./configure: line 7624: `   OSF*)'tcl8.3.2 configuration failed! Exiting 
...Tcl is not part of the ns project.  Please see www.Scriptics.comto see if 
they have a fix for your platform.Anyone could help me Thanks in advance Zlatko 
K.


[ns] Installation problem

2006-03-14 Thread Rabia khan

Hi,

I am facing a problem in the installation of ns-allinone-2.28.
I am using Red Hat version 9.
When i install ns-allinone-2.28 by the command ./install it builds:
zlib
tcl 8.4.5

but fails to build 'xgraph' and 'cweb'. Still the installation continues
because they are optional.

The installation halts when it fails to build  tk8.4.5

The errors are as follows:

/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:59: parse error before
XEvent
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:73: parse error before
'*' token
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:74: warning: data
definition has no type or storage class
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:78: parse error before
Pixmap
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:81: parse error before
XColor
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:91: parse error before
Pixmap
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:96: parse error before
GC
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:116: parse error before
XSetWindowAttributes
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:123: parse error before
Atom
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:127: parse error before
Atom
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:149: parse error before
XWindowChanges
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:170: parse error before
'*' token
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:190: parse error before
Atom
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tkDecls.h:233: parse error before
Atom




r/include/sys/stat.h: At top level:
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tk3d.c:1134: storage size of
`shiftTable' isn't known
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tk3d.c:31: warning: `BorderInit'
declared `static' but never defined
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tk3d.c:36: warning: `Intersect'
declared `static' but never defined
/usr/src/ns-allinone-2.28/tk8.4.5/generic/tk3d.c:39: warning: `ShiftLine'
declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:697: Error: symbol `dy' is already defined
{standard input}:703: Error: symbol `dx' is already defined
{standard input}:750: Error: symbol `q' is already defined
{standard input}:756: Error: symbol `p' is already defined
{standard input}:762: Error: symbol `q' is already defined
{standard input}:768: Error: symbol `q' is already defined
make: *** [tk3d.o] Error 1
tk8.4.5 make failed! Exiting ...


I have checked the packages of the Red Hat9 that are installed. The
Development tools (41/46) necessary for installation are all installed in
the system.

Please help me in this regard as early as poosible.
Thanking in advance.


[ns] Installation Problem - Please Help

2006-02-03 Thread raja priya

Dear all,
  I have installed Red Hat Enterprise Linux As in my system.
  I downloaded the ns-allinone-2.28.tat.gz.
  While installing the all in one, the system said a lot of  errors in Xgraph 
but continued since it is an optional component.
  Tcl8.4.5 was installed successfully.
  While installing Tk8.4.5 I got the following message and  error: 
  tcl8.4.5 installation succeeded.
  
  * Build Tk8.4.5
  
  make: *** No rule to make target  
`/ns-allinone-2.28/tk8.4.5/unix/Makefile.in', needed by `Makefile'.  Stop.
  loading cache ./config.cache
  checking for Tcl configuration... (cached)  found 
/ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh
  checking for existence of /ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh... 
 file not found
  configure: error:  /ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh is for 
Tcl .
  Tk 8.4.5 needs Tcl 8.4.
  Use --with-tcl= option to indicate location  of tclConfig.sh file for Tcl 
8.4.
  tk8.3.2 configuration failed! Exiting ...
  Tk is not part of the ns project.  Please see www.Scriptics.com
  to see if they have a fix for your platform.
  
  
---
  As I am new to Linux I really dont understand what the error  is and dont 
know what to do
  Anybody please help me in fixing this problem
   
  Thanks in Advance
  S.Rajapriya
   
   


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


[ns] installation problem of ns-2.1b3

2005-12-21 Thread jaya y

 hai,
 i'm using Fedora core 3 .When installing ns-allinone-2.1b3 it reports 
following problem.
 
 cc -c -O  -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1-DTCL_SHLIB_EXT=\.so\ 
./../generic/tclPosixStr.c
 ./../generic/tclPosixStr.c: In function `Tcl_ErrnoId':
 ./../generic/tclPosixStr.c:340: error: duplicate case value
 ./../generic/tclPosixStr.c:328: error: previously used here
 ./../generic/tclPosixStr.c: In function `Tcl_ErrnoMsg':
 ./../generic/tclPosixStr.c:787: error: duplicate case value
 ./../generic/tclPosixStr.c:775: error: previously used here
 make: *** [tclPosixStr.o] Error 1
 tcl8.0 make failed! Exiting ...
 
 If you know solution to this problem, please mail me.
 
 bye,
 Y.Jaya Lakshmi
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [ns] Installation problem with ns2.29 All-in-one On Redhat-13Fedora Core 4 !!!

2005-12-20 Thread Damian Duda

Hi,

The best thing to do is:
1) switch to Linux
2) copy ns-allinone-2.29.1.tar.gz from Windows folders to e.g.
/home/yourhome/
3) decompress: I used ark under KDE (Slackware 10.2) but tar -xvf
ns-allinone-2.29.1.tar.gz should bo OK
4) the next you know

DD

- Original Message - 
From: ICE MAN [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Sent: Tuesday, December 20, 2005 8:11 AM
Subject: [ns] Installation problem with ns2.29 All-in-one On Redhat-13Fedora
Core 4 !!!



 Hello,

   compile result:
make:***no rule to make target 'VERSION'. needed by 'gen/version.c'.
stop.
Ns make failed!
see http://www.isi.edu/.../ns-problems.html

   I did this works before Install:
 I decompressed ns-allinone-2.29.1.tar.gz with Power Archiver 8.00.53
Under
 windows Xp,
 and then rebooted into Linux 13 FedoraCore4 ; copied all the folder in
ns path in
 my home directory,
 under Terminal of Linux, in that folder typed /install  installation
has began.
   some programs as tcl8 are maked successfully ( containing some
warrnings ),
 but at the end of the process Upper result was shown and there is no ns
 executable file in bin folder.

   I strongly need your help.
 [EMAIL PROTECTED]

   thank's.
 Regards,

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com